Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106509

HA Core + Synology + Kemp Loadbalancer + Cloudfare - 522 Error

$
0
0

Level of Personal Expertise:
Beginner

Using the following applications:

  • DSM 7+
  • HA Core through Synology Docker Container
  • Kemp LoadBalancer configured to use Content Rules to point Cloudfare URL and route traffic to SynlogyIP+HAPort
  • Cloudflare with A Record to domain I would like HA to be.

Configuration.yaml

# HTTP Settings
http:
  use_x_forwarded_for: true
  trusted_proxies: 
    - IPofSynology
    - IPofKempVM
    - NetworkGateway IP
  server_port: xxxx
  login_attempts_threshold: 5
  cors_allowed_origins:
    - IPofSynology
    - IPofKempVM

Misc Notes:
Logs are clean. Bootup takes 5 seconds and nothing in there other than startup activities finishing in ‘done’.
image

Problem:
If I enter the IP of the SynologyIP:HAPort, it works without a problem over http. However, if I type the homeassistant.mydomain.com > I get a 522.

At the Content Rule level, Kemp gives me an OK for an HTTP GET Test on IP+Port, and I can also run a GET over Postman locally with an 200.

Goal?
I want to manage and I am currently managing all my other applications through a single Virtual Server over 443. HA is the only one struggling right now, and I assume it’s due to the breath of configurations possible on this system.

Does anyone have experience with a similar configuration?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>