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

Able to Connect (Sorta) #295

Open
skidda666 opened this issue Jul 5, 2024 · 1 comment
Open

Able to Connect (Sorta) #295

skidda666 opened this issue Jul 5, 2024 · 1 comment

Comments

@skidda666
Copy link

skidda666 commented Jul 5, 2024

I've successfully installed an instance of remoteHA on both my home HA and my office HA, I used my home HA as my main node and the office as the remote node. I am also using Cloudflare Tunnel that points to my http://localhost:8123 on my remote instance. When I go to my remote home assistance's site it's up and actively running (https://homeassistant.mysite.com), i'm able to sign in and navigate. It connects "successfully" after setup and allows me to choose location and device, however when I do it through the remote HA instance it's throwing back a 400 error an http port was redirected to an https port and throws back the site and it's port (http://homeassistant.mysite.com:443). Where cloudflare is already negotiating the port on it's end is it really necessary to put a required port in the setup field? I've been fighting with this for the past few days, any help or suggestions would be greatly appreciated.

@jaym25
Copy link
Collaborator

jaym25 commented Jul 5, 2024

@skidda666
Yes. You need to set the port to 443 on the Remote HA main instance and check Secure and Verify SSL when setting it up. If using yaml, the first lines should look like this:

remote_homeassistant:
instances:

  • host: homeassistant.mysite.com
    port: 443
    secure: true
    verify_ssl: true

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

2 participants