addon-cloudflared: [Bug] Unable to reach the origin service.

Describe the bug When trying to connect through the tunnel, I receive a “too many redirects” response.

To Reproduce Bug happens on initial setup. Have properly authorized on Cloudflare and the DNS record has been properly created.

external_hostname: host.name.here
tunnel_name: homeassistant
nginxproxymanager: true
log_level: debug

(Please note host.name.here is not the actual hostname in the config)

Expected behavior Connects to home assistant.

Screenshots If applicable, add screenshots to help explain your problem.

Add-On / Home Assistant Information (please complete the following information):

  • Add-On Version: 0.4.1
  • Supervisor Version: supervisor-2022.01.1
  • Core Version: core-2022.2.2
  • Operating System: Home Assistant OS 7.2
  • Devices: rPi4B8GB

Additional context Error is repeated:

2022-02-06T20:04:36Z ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" cfRay=6d96fd0e9d28c51c-ORD ingressRule=0 originService=http://homeassistant:8123
2022-02-06T20:04:38Z ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" cfRay=6d96fd1b5b5ee1ce-ORD ingressRule=0 originService=http://homeassistant:8123
2022-02-06T20:04:38Z ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" cfRay=6d96fd1c9c55e1ce-ORD ingressRule=0 originService=http://homeassistant:8123
2022-02-06T20:04:42Z ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" cfRay=6d96fd37f9dac51c-ORD ingressRule=0 originService=http://homeassistant:8123

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

alright, thanks a lot for your input. I will work on a branch later today and incorporate that.