Repeated error in logs for cloudflared tunnel docker container

Hi folks, I have a cloudflare tunnel running in docker that has recently started throwing an error continuously:

2023-07-13T21:23:53Z ERR Failed to deserialize new configuration error="unexpected end of JSON input" config= version=0
2023-07-13T21:28:10Z ERR Failed to deserialize new configuration error="unexpected end of JSON input" config= version=0
2023-07-13T21:31:06Z ERR Failed to deserialize new configuration error="unexpected end of JSON input" config= version=0
2023-07-13T21:31:25Z ERR Failed to deserialize new configuration error="unexpected end of JSON input" config= version=0
2023-07-13T21:31:39Z ERR Failed to deserialize new configuration error="unexpected end of JSON input" config= version=0
2023-07-13T21:32:00Z ERR Failed to deserialize new configuration error="unexpected end of JSON input" config= version=0

I’m not sure what changed and my configuration config.yaml is quite simple:

protocol: http2
ingress:
  - hostname: <cf domain1>
    service: http://<internal>:<port>
  - hostname: <cf domain2>
    service: http://<internal>:<port>
  - service: http_status:404

And the docker config:

  cloudflare:
    image: cloudflare/cloudflared:latest
    container_name: cloudflare-tunnel
    restart: unless-stopped
    command: tunnel --loglevel info --config /etc/cloudflared/config.yaml run
    environment:
      - NO_AUTOUPDATE=true
      - TUNNEL_TOKEN=<token>
    volumes:
    - /docker/data/cloudflared:/etc/cloudflared

Any help is much appreciated to try and figure this out!

Did you ever find the solution? I’m stuck with the same problem…

Nope. It still happens continuously but doesn’t seem to affect operation so I’ve just ignored it.