cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

šŸ›WRN Failed to serve quic connection error="timeout: no recent network activity"

Open masterwishx opened this issue 1 year ago • 2 comments

Using lasted version of docker in Unraid Made tunnel manually from https://docs.ibracorp.io/cloudflare-tunnel

Having offten error in log for tunnel : Made tunnel manually from https://docs.ibracorp.io/cloudflare-tunnel :

image

masterwishx avatar Jun 04 '24 08:06 masterwishx

We also have been encountering the Failed to serve quic connection error=ā€œcontext canceledā€ error message in the logs for the past few days. Alongside these logs, we have received user complaints about HTTP 524 errors, which indicate that everything on the Cloudflare Edge is functioning correctly, but there is an error on the host where cloudflared is running. Restarting cloudflared temporarily resolves the issue.

We are running version 2024.6.1 and did not experience these logs or issues previously.

shugg avatar Jul 18 '24 15:07 shugg

we are having the same issue

We constantly have:

2025-10-29T15:42:08Z ERR failed to accept incoming stream requests error="failed to accept QUIC stream: Application error 0x0 (remote)" connIndex=2 event=0 ip=198.41.192.67
2025-10-29T15:42:08Z ERR failed to run the datagram handler error="context canceled" connIndex=2 event=0 ip=198.41.192.67
2025-10-29T15:42:08Z WRN failed to serve tunnel connection error="accept stream listener encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.67
2025-10-29T15:42:08Z WRN Serve tunnel error error="accept stream listener encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.67
2025-10-29T15:42:08Z INF Retrying connection in up to 1s connIndex=2 event=0 ip=198.41.192.67

Image

We use the docker version (in a Docker Swarm setup, with Docker engine 27.5.1):

  tunnel:
    image: cloudflare/cloudflared:2025.10.0
    command: tunnel --no-autoupdate run --token xxxxxxxxxxxxxxxxxxxxxxxxxxx
    deploy:
      replicas: 3  # per HA
      placement:
        max_replicas_per_node: 1
        constraints:
          - node.role == worker
          - engine.labels.jobs-type == stateless
      resources:
        limits:
          cpus: '1'
          memory: 256M
        reservations:
          cpus: '0.5'
          memory: 100M
      update_config:
        order: start-first  
        delay: 200s
      restart_policy:
        condition: any
        max_attempts: 5
        window: 120s

francescor avatar Nov 01 '25 11:11 francescor