Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Connect to ha-fusion dashboard from IOS mobile app #577

Open
K0ltesz opened this issue Oct 10, 2024 · 0 comments
Open

Failed to Connect to ha-fusion dashboard from IOS mobile app #577

K0ltesz opened this issue Oct 10, 2024 · 0 comments

Comments

@K0ltesz
Copy link

K0ltesz commented Oct 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant