Meet some trouble while using Cloudflare Tunnel

[[email protected] ~]# cloudflared tunnel run vase
2022-08-21T01:12:00Z INF Starting tunnel tunnelID=**************************
2022-08-21T01:12:00Z INF Version 2022.8.2
2022-08-21T01:12:00Z INF GOOS: linux, GOVersion: go1.18.5, GoArch: amd64
2022-08-21T01:12:00Z INF Settings: map[cred-file:/root/.cloudflared/**************.json credentials-file:/root/.cloudflared/*****************.json]
2022-08-21T01:12:00Z INF Generated Connector ID: 7c770da0-013-******************
2022-08-21T01:12:00Z INF cloudflared will not automatically update if installed by a package manager.
2022-08-21T01:12:00Z ERR update check failed error="Get \"https://update.argotunnel.com?arch=amd64&clientVersion=2022.8.2&os=linux\": dial tcp 127.141.0.182:443: connect: connection refused"
2022-08-21T01:12:00Z INF Initial protocol quic
2022-08-21T01:12:00Z INF Starting metrics server on 127.0.0.1:43795/metrics
2022-08-21T01:12:00Z INF You requested 4 HA connections but I can give you at most 2.
2022/08/21 09:12:00 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2022-08-21T01:12:05Z ERR Failed to create new quic connection error="failed to dial to edge with quic: timeout: no recent network activity" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:05Z INF Retrying connection in up to 2s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:12:07Z WRN If this log occurs persistently, and cloudflared is unable to connect to Cloudflare Network with `quic` protocol, then most likely your machine/network is getting its egress UDP to port 7844 (or others) blocked or dropped. Make sure to allow egress connectivity as per https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/ports-and-ips/
If you are using private routing to this Tunnel, then UDP (and Private DNS Resolution) will not work unless your cloudflared can connect with Cloudflare Network with `quic`. connIndex=0 ip=127.141.0.186
2022-08-21T01:12:07Z INF Switching to fallback protocol http2 connIndex=0 ip=127.141.0.186
2022-08-21T01:12:07Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:07Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:07Z INF Retrying connection in up to 1s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:12:09Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:09Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:09Z INF Retrying connection in up to 4s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:12:09Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:09Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:09Z INF Retrying connection in up to 8s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:12:14Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:14Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:14Z INF Retrying connection in up to 16s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:12:19Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:19Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:12:19Z INF Retrying connection in up to 32s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:12:35Z INF Tunnel server stopped
2022-08-21T01:12:35Z ERR Initiating shutdown error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused"
2022-08-21T01:12:35Z INF Metrics server stopped
DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused
[[email protected] ~]# iptables -A INPUT -p tcp --dport 7844 -j ACCEPT 
[[email protected] ~]# cloudflared tunnel run vase
2022-08-21T01:14:48Z INF Starting tunnel tunnelID=6e113178-45df-4559-96bf-840ae5cf81cb
2022-08-21T01:14:48Z INF Version 2022.8.2
2022-08-21T01:14:48Z INF GOOS: linux, GOVersion: go1.18.5, GoArch: amd64
2022-08-21T01:14:48Z INF Settings: map[cred-file:/root/.cloudflared/6e113178-45df-4559-96bf-840ae5cf81cb.json credentials-file:/root/.cloudflared/6e113178-45df-4559-96bf-840ae5cf81cb.json]
2022-08-21T01:14:48Z INF cloudflared will not automatically update if installed by a package manager.
2022-08-21T01:14:48Z INF Generated Connector ID: 5f11e49e-ace4-4e1a-8af4-7908a3e03492
2022-08-21T01:14:48Z ERR update check failed error="Get \"https://update.argotunnel.com?arch=amd64&clientVersion=2022.8.2&os=linux\": dial tcp 127.141.0.182:443: connect: connection refused"
2022-08-21T01:14:48Z INF Initial protocol quic
2022-08-21T01:14:48Z INF Starting metrics server on 127.0.0.1:33314/metrics
2022-08-21T01:14:48Z INF You requested 4 HA connections but I can give you at most 2.
2022/08/21 09:14:48 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2022-08-21T01:14:53Z ERR Failed to create new quic connection error="failed to dial to edge with quic: timeout: no recent network activity" connIndex=0 ip=127.141.0.186
2022-08-21T01:14:53Z INF Retrying connection in up to 2s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:14:55Z WRN If this log occurs persistently, and cloudflared is unable to connect to Cloudflare Network with `quic` protocol, then most likely your machine/network is getting its egress UDP to port 7844 (or others) blocked or dropped. Make sure to allow egress connectivity as per https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/ports-and-ips/
If you are using private routing to this Tunnel, then UDP (and Private DNS Resolution) will not work unless your cloudflared can connect with Cloudflare Network with `quic`. connIndex=0 ip=127.141.0.186
2022-08-21T01:14:55Z INF Switching to fallback protocol http2 connIndex=0 ip=127.141.0.186
2022-08-21T01:14:55Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:14:55Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:14:55Z INF Retrying connection in up to 1s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:14:56Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:14:56Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:14:56Z INF Retrying connection in up to 4s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:14:59Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:14:59Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:14:59Z INF Retrying connection in up to 8s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:15:00Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:15:00Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:15:00Z INF Retrying connection in up to 16s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:15:01Z ERR Unable to establish connection with Cloudflare edge error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:15:01Z ERR Serve tunnel error error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused" connIndex=0 ip=127.141.0.186
2022-08-21T01:15:01Z INF Retrying connection in up to 32s seconds connIndex=0 ip=127.141.0.186
2022-08-21T01:15:16Z INF Tunnel server stopped
2022-08-21T01:15:16Z ERR Initiating shutdown error="DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused"
2022-08-21T01:15:16Z INF Metrics server stopped
DialContext error: dial tcp 127.141.0.186:7844: connect: connection refused

This problem has been solved after I close Proxifier

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