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

Login attempt or request with invalid authentication and Disconnected: Did not receive auth message within 10 seconds when use ios app over wireguard vpn #3095

Open
ATFieldBeast opened this issue Oct 21, 2024 · 0 comments

Comments

@ATFieldBeast
Copy link

iOS device model, version and app version
Model Name: iPhone 15
Software Version: 18.0.1
App version: 2024.9.4(2024.905)

Home Assistant Core Version
Home Assistant Core Version: 2024.10.3
Home Assistant Supervisor Version: 2024.10.2

Describe the bug
At first, I thought that was my wireguard vpn's problem.
because when I use the URL which from my nginx,the remote connect works well both chrome and app;

When I use the wireguard to connect with my local network(that can let me use local ip to open my router page and other service page and works well), can use the chrome to open ha login page and submit my account to login, but then it jumps to this issue's page such as: "loading data failed, retry...", and open the app it go through this issue's page.

Before today I just thought that is because the wireguard connect has no webSocket, but today, I use my laptop chrome to open the ha page over the wireguard, it works fine! It can open the page, can login well and can turns to the homepage correctly!

So now I think this is the problem with IOS?

Screenshots
317827108-72e9e87d-a83d-4528-918a-71810d012209

Additional context
Here is my log in the ha server:
(192.168.50.1 is my router ip which run the wireguard service)
(The laptop remote works well has no warning or error log)

This is login log

Login attempt or request with invalid authentication from 192.168.50.1 (192.168.50.1). Requested URL: '/auth/token'. (Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.37 Mobile/15E148 Safari/604.1)

This is the loading data page log

[139706346725024] from 192.168.50.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.37 Mobile/15E148 Safari/604.1): Disconnected: Did not receive auth message within 10 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant