ERROR ziti-sdk:channel.c:755 ch_connect_timeout() ch[1] connect timeout

Dear All,

Please help I got this error on ziti tunnel client but the connection of ziti was working properly.

ERROR ziti-sdk:channel.c:755 ch_connect_timeout() ch[1] connect timeout

What the meaning of this error?

Thanks
And

Hi @andikapri,

I don't think there are enough details here to know why it's happening. My guess is that your client has no network connectivity to a router, or a router you have is advertising an address the client cannot connect to.

Helo @TheLumberjack

Thanks for your response.

I tried telnet to router, the result is connected

But when I checked the status of ziti-edge-tunnel, i still got error

systemctl status ziti-edge-tunnel
● ziti-edge-tunnel.service - Ziti Edge Tunnel
Loaded: loaded (/usr/lib/systemd/system/ziti-edge-tunnel.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-06-10 16:04:18 UTC; 6h ago
Process: 1122662 ExecStartPre=/opt/openziti/bin/ziti-edge-tunnel.sh (code=exited, status=0/SUCCESS)
Main PID: 1122664 (ziti-edge-tunne)
Tasks: 6 (limit: 57767)
Memory: 6.8M (peak: 8.6M)
CPU: 30.620s
CGroup: /system.slice/ziti-edge-tunnel.service
└─1122664 /opt/openziti/bin/ziti-edge-tunnel run --verbose=2 --dns-ip-range=100.64.0.1/10 --identity-dir=/opt/openziti/etc/identities --dns-upstream 1.1.1.1 --refresh 5

Jun 10 22:13:16 sensor-poc ziti-edge-tunnel[1122664]: (1122664)[ 22138.381] ERROR ziti-sdk:channel.c:755 ch_connect_timeout() ch[1] connect timeout
Jun 10 22:15:22 sensor-poc ziti-edge-tunnel[1122664]: (1122664)[ 22263.739] ERROR ziti-sdk:channel.c:755 ch_connect_timeout() ch[1] connect timeout
Jun 10 22:17:54 sensor-poc ziti-edge-tunnel[1122664]: (1122664)[ 22415.938] ERROR ziti-sdk:channel.c:755 ch_connect_timeout() ch[1] connect timeout
Jun 10 22:19:45 sensor-poc ziti-edge-tunnel[1122664]: (1122664)[ 22527.135] ERROR ziti-sdk:channel.c:755 ch_connect_timeout() ch[1] connect timeout
Jun 10 22:22:10 sensor-poc ziti-edge-tunnel[1122664]: (1122664)[ 22671.764] ERROR ziti-sdk:channel.c:755 ch_connect_timeout() ch[1] connect timeout

How to get the log detail for these status ?

Thanks
And

That sounds like your router is advertising an address that isn't resolvable. Check your router config file and make sure the advertised addresses are resolvable from the client. You should probably tail the tunneler log and watch for more useful errors. There should be a better hint in there as to what's going wrong if that's not the issue

Hello @TheLumberjack ,

I checked that the status ziti tunnel like this

But I check with telnet manually, this server can reach to advertise router :

Below is detail error

kindly please help for advise.

Thank you
And

As i said, you need to look to the router's configuration file and find the advertised address. My guess is that the advertised address is incorrect. I know you said you tested with telnet, but because you aren't sharing the exact command you're running and because you didn't share the config file i can't verify it looks correct.

The other error looks like one from the tunneler to the controller and doesn't seem to be to be related to the one your asking about. This error seems to be the sdk connecting to one or more router and failing for reasons i don't understand, other than my guess about the advertised address

Hello @TheLumberjack ,

Thank you.
And