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

http doesn't work. #196

Open
343max opened this issue Mar 2, 2024 · 5 comments
Open

http doesn't work. #196

343max opened this issue Mar 2, 2024 · 5 comments

Comments

@343max
Copy link

343max commented Mar 2, 2024

When I try to connect to a server via http I receive this error:
Connection to server failed.
Error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

How do I use http?

@supergeorg
Copy link
Owner

Hi, where do you have your host?

If it only has HTTP, then usage outside of local networks is discouraged. The next update will have a specific App configuration set (NSAllowsLocalNetworking) to allow local networking even with HTTP.

@343max
Copy link
Author

343max commented Mar 3, 2024

My host is on my Tailscale network, so http is perfectly fine.

@supergeorg
Copy link
Owner

Ok, so I guess it looks like the exit node is in your local network. So the change might fix it.

@johnhkchen
Copy link

johnhkchen commented Apr 4, 2024

For Tailscale users, try using:

sudo tailscale serve --bg http://127.0.0.1:8080

That will give you a working HTTPS URL to connect to

@pmkruyen
Copy link

pmkruyen commented May 26, 2024

I run Tailscale as addon in Home Assistant. Do you know how to enable this setting on the dashboard?

If not possible, I wait till the new version of the app.

Edit: think I found it under the DNS settings.

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

4 participants