You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The system stopped working at some point in the recent past, I do not know exactly when though as I wasn't actively using this part in my HA system yet, had just set it up earlier this year to see the information I could read out of it.
I now looked into the logs and see the following:
2024-11-26 22:58:48,419 [INFO] [root:112] Init SSO
2024-11-26 22:58:48,420 [INFO] [somfy_protect.sso:77] Requesting Token
2024-11-26 22:58:48,421 [DEBUG] [requests_oauthlib.oauth2_session:563] Requesting url https://sso.myfox.io/oauth/oauth/v2/token using method POST.
2024-11-26 22:58:48,421 [DEBUG] [requests_oauthlib.oauth2_session:564] Supplying headers {'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded'} and data {'grant_type': 'password', 'client_id': '...', 'client_secret': '...', 'username': '...', 'password': '...'}
2024-11-26 22:58:48,421 [DEBUG] [requests_oauthlib.oauth2_session:565] Passing through key word arguments {'timeout': None, 'auth': None, 'verify': None, 'proxies': None, 'cert': None}.
2024-11-26 22:58:48,424 [DEBUG] [urllib3.connectionpool:1051] Starting new HTTPS connection (1): sso.myfox.io:443
2024-11-26 22:58:48,989 [DEBUG] [urllib3.connectionpool:546] https://sso.myfox.io:443 "POST /oauth/oauth/v2/token HTTP/11" 400 None
2024-11-26 22:58:48,990 [DEBUG] [requests_oauthlib.oauth2_session:393] Request to fetch token completed with status 400.
2024-11-26 22:58:48,991 [DEBUG] [requests_oauthlib.oauth2_session:394] Request url was https://sso.myfox.io/oauth/oauth/v2/token
2024-11-26 22:58:48,991 [DEBUG] [requests_oauthlib.oauth2_session:395] Request headers were {'User-Agent': 'Somfy Protect', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'Content-Length': '250'}
2024-11-26 22:58:48,991 [DEBUG] [requests_oauthlib.oauth2_session:396] Request body was grant_type=password&client_id=...&client_secret=...&username=...&password=...
2024-11-26 22:58:48,991 [DEBUG] [requests_oauthlib.oauth2_session:397] Response headers were {'Date': 'Tue, 26 Nov 2024 21:58:48 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Server': 'openresty', 'Cache-Control': 'max-age=0, must-revalidate, private', 'Expires': 'Tue, 26 Nov 2024 21:58:48 GMT'} and content {"message":"error.invalid.grant","data":[],"uid":"67464498eea3f","error":"invalid_grant"}.
The text was updated successfully, but these errors were encountered:
The system stopped working at some point in the recent past, I do not know exactly when though as I wasn't actively using this part in my HA system yet, had just set it up earlier this year to see the information I could read out of it.
I now looked into the logs and see the following:
The text was updated successfully, but these errors were encountered: