TrueNAS Scale Cloudflared App - error

What is the name of the domain?

type-code.cloud

What is the error number?

ERR Serve tunnel error

What is the error message?

ERR Serve tunnel error error=“TLS handshake with edge error: read tcp 172.16.5.2:48030->198.41.192.47:7844: read: connection reset by peer” connIndex=0 event=0 ip=198.41.192.47

What is the issue you’re encountering

Cannot get cloudflared app connecting

What steps have you taken to resolve the issue?

I have also tried creating a docker container inside a portainer instance that I have running on same NAS, also getting a connection issue.
I have tried other apps and they do connect to outside services.

What are the steps to reproduce the issue?

I previously had a TrueNAS instance running the cloudflared app and it was working.

I have created a brand new TrueNAS Scale instance.
I installed the cloudflared app in TrueNAS.
I entered in my Tunnel Token.
When I start up the container, I get the following error:

2025-03-25 19:25:42.590448+00:002025-03-25T19:25:42Z ERR Failed to dial a quic connection error=“failed to dial to edge with quic: timeout: no recent network activity” connIndex=0 event=0 ip=198.41.200.73
2025-03-25 19:25:42.590595+00:002025-03-25T19:25:42Z INF Retrying connection in up to 2s connIndex=0 event=0 ip=198.41.200.73
2025-03-25 19:25:43.056303+00:002025-03-25T19:25:43Z INF Using [CurveID(4588) CurveID(25497) CurveP256] as curve preferences connIndex=0 event=0 ip=198.41.192.7

Screenshot of the error

Maybe your ISP doesn’t support QUIC at some point or restricted connections on ports? :thinking:

Could you select other protocol e.g. http2, using the command and retry again as follows on the instructions from below article? :thinking: