SvelteKitError: Not found: /auth/authorize
at resolve2 (file:///app/build/server/index.js:4018:18)
at resolve (file:///app/build/server/index.js:3851:34)
at Object.handle (file:///app/build/server/chunks/hooks.server-CE3BTx0B.js:2:26)
at respond (file:///app/build/server/index.js:3849:43)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 404,
text: 'Not Found'
}
Both Home Assistant and ha-fusion has self-signed certificates. One for HA another for ha-fusion. Both are begind Traefik proxy Ingress. Also worth mentioning that I use my own VPN server to connect externally to my network. Home Assistant and every other service I have works without a problem with this aproach.
It would be awesome if this ha-fusion would work too.
Setup:
Docker-Desktop with WSL2. Home Assistant is running inside Kubernetes. Also ha-fusion docker version in the same namespace as home assistant.
Localy both works fine behind Traefik proxy with Ingress and self-signed cert.
When I try to connect to ha-fusion dashboard from the IOS Companion app of Home Assistant I get this error on the mobile app:
Invalid HTTP response (404) for https://hostname/auth/authorize?response_type=code&client_id=https://home-assistant.io/iOS&redirect_url=homeassistant://auth-callback. Error Code: PromiseKit.PMKTHHPError 0
And I get this error in the ha-fusion container:
SvelteKitError: Not found: /auth/authorize at resolve2 (file:///app/build/server/index.js:4018:18) at resolve (file:///app/build/server/index.js:3851:34) at Object.handle (file:///app/build/server/chunks/hooks.server-CE3BTx0B.js:2:26) at respond (file:///app/build/server/index.js:3849:43) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { status: 404, text: 'Not Found' }
Both Home Assistant and ha-fusion has self-signed certificates. One for HA another for ha-fusion. Both are begind Traefik proxy Ingress. Also worth mentioning that I use my own VPN server to connect externally to my network. Home Assistant and every other service I have works without a problem with this aproach.
It would be awesome if this ha-fusion would work too.