Issue#1283 <cloudflared tunnel error :ERR Unable to establish connection with Cloudflare edge error="TLS handshake with edge error: EOF" connIndex=0>

Thanks for expert focus on this issue:
condition1:certifiate pem,tunnel id.json,config.yml with right ingress filter and so on has generated right .
condition2: tcping and other test shows port 7844 is attached ok
condition3: NSLookup shows region1.argotunnel.com resolved right
condition4: Similar tunnel create/run steps have been done OK on another PC and network.
condition5: cloudflared agent is updated version.

When I load cloudflared argo tunnel from windows client using cloudflared tunnel run cmd , it always show error :… connection with Cloudflare edge error="TLS handshake with edge error
Is there some possible reason?
as below:

2021-09-24T11:53:09Z INF Initial protocol http2
2021-09-24T11:53:09Z INF Starting metrics server on 127.0.0.1:17914/metrics
2021-09-24T11:53:09Z INF cloudflared does not support loading the system root certificate pool on Windows. Please use --origin-ca-pool to sp
fy the path to the certificate pool
2021-09-24T11:53:11Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:53:11Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:53:11Z INF Retrying connection in up to 2s seconds connIndex=0
2021-09-24T11:53:14Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:53:59Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:53:59Z INF Retrying connection in up to 4s seconds connIndex=0
2021-09-24T11:54:03Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:54:08Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:54:08Z INF Retrying connection in up to 8s seconds connIndex=0
2021-09-24T11:54:14Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:54:14Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:54:14Z INF Retrying connection in up to 16s seconds connIndex=0
2021-09-24T11:54:23Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:54:23Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-24T11:54:23Z INF Retrying connection in up to 32s seconds connIndex=0

Do you have any firewall on port 7844? Where is your server hosted?

firewall permit tcp 7844 port and I have tcping sucess with wireshark dump verified.

a clue maybe?

Thanks for help . It seems just a routine claim. I have set up another cloudflared tunnel(on other net env ) with same steps sucessfully also with this info

It seems networt interference for SNI or others. After change access link it’s ok

2021-09-26T12:07:24Z INF Starting tunnel tunnelID=??
2021-09-26T12:07:24Z INF Version 2021.9.1
2021-09-26T12:07:24Z INF GOOS: windows, GOVersion: devel +a84af465cb Mon Aug 9 10:31:00 2021 -0700, GoArch: amd6
2021-09-26T12:07:24Z INF Settings: map[cred-file:C:\cf\bin.cloudflared\8e30fd83-39c5-422e-a0db-69d43e2d60c2.jso
red\8e30fd83-39c5-422e-a0db-69d43e2d60c2.json]
2021-09-26T12:07:24Z INF cloudflared will not automatically update on Windows systems.
2021-09-26T12:07:24Z INF Generated Connector ID: ??
2021-09-26T12:07:24Z INF Initial protocol http2
2021-09-26T12:07:24Z INF Starting metrics server on 127.0.0.1:29040/metrics
2021-09-26T12:07:24Z INF cloudflared does not support loading the system root certificate pool on Windows. Pleas
fy the path to the certificate pool
2021-09-26T12:07:25Z INF Connection ?? registered connIndex=0 location=SJC
2021-09-26T12:07:26Z INF Connection ?/ registered connIndex=1 location=LAX
2021-09-26T12:07:27Z INF Connection ?? registered connIndex=2 location=SJC
2021-09-26T12:07:28Z INF Connection ?? registered connIndex=3 location=LAX

When changed back the problem link ,wireshark display that 7844 port is 2 way opened but , cloudflared client 's tls init negotiation is not replyed :

as cloudflared tunnel diplayed this error:
2021-09-26T12:47:04Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:04Z INF Retrying connection in up to 1s seconds connIndex=0
2021-09-26T12:47:06Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:06Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:06Z INF Retrying connection in up to 4s seconds connIndex=0
2021-09-26T12:47:08Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:08Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:08Z INF Retrying connection in up to 8s seconds connIndex=0
2021-09-26T12:47:16Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:16Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:16Z INF Retrying connection in up to 16s seconds connIndex=0
2021-09-26T12:47:29Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:29Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:29Z INF Retrying connection in up to 32s seconds connIndex=0
2021-09-26T12:47:40Z ERR Unable to establish connection with Cloudflare edge error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:40Z ERR Serve tunnel error error=“TLS handshake with edge error: EOF” connIndex=0
2021-09-26T12:47:40Z INF Retrying connection in up to 2s seconds connIndex=0

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.