-
Notifications
You must be signed in to change notification settings - Fork 42
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
Can't login over WIFI ISP, works on mobile data. #145
Comments
Not sure about significance of “Wi-fi ISP” distinction, but my mobile app continues to work over Wi-fi w/ gigabit fiber ISP |
I'm not sure if ISP is related or not but after some testing, here a better picture of what is happening: Tests✅ On a VPN works via $ python test.py
{'<serial>': <pymyq.garagedoor.MyQGaragedoor object at 0x10e241580>} ❌ On my ISP network fails: $ python test.py --log=DEBUG
Authentication failed: Error requesting data from https://partner-identity.myq-cloud.com/connect/authorize: 400 - Bad Request
Traceback (most recent call last):
File "/Users/user/.virtualenvs/myq/lib/python3.9/site-packages/pymyq/api.py", line 207, in request
return await call_method(
File "/Users/user/.virtualenvs/myq/lib/python3.9/site-packages/pymyq/request.py", line 297, in request_text
resp = await self._send_request(
File "/Users/user/.virtualenvs/myq/lib/python3.9/site-packages/pymyq/request.py", line 207, in _send_request
raise resp_exc
File "/Users/user/.virtualenvs/myq/lib/python3.9/site-packages/pymyq/request.py", line 141, in _send_request
resp = await websession.request(
File "/Users/user/.virtualenvs/myq/lib/python3.9/site-packages/aiohttp/client.py", line 640, in _request
resp.raise_for_status()
File "/Users/user/.virtualenvs/myq/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://partner-identity.myq-cloud.com/connect/authorize?client_id=IOS_CGI_MYQ&code_challenge=pEZgp7jZ_7WWHqCp5XZmdi-lU2Y22Ka7lWSOCi1i7Y8&code_challenge_method=S256&redirect_uri=com.myqops://ios&response_type=code&scope=MyQ_Residential+offline_access') ❌ Home Assistant:
Tracing route and DNS resolutionFrom VPN:
From my ISP:
It seems like something has changed recently. |
There's some kind of network problem between your ISP and the myq server, or perhaps with the DNS servers your ISP gives you (since the It looks like If you override your DNS to a public dns server (google, cloudflare, opendns, take your pick), does that resolve the problem? If not, complain to Chamberlain because their app doesn't work (since you get the same error using the official first-party app). |
A month ago something changed in the MyQ networking and I'm no longer able to login/authenticate via my WIFI/ISP network, same even using the MyQ app. Works fine when using mobile data LTE.
I wonder if anyone else is facing a similar issue or my router is somehow messing things up.
Thanks.
The text was updated successfully, but these errors were encountered: