-
Notifications
You must be signed in to change notification settings - Fork 23
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
Cannot Sign In - Timeout Error and Invalid Authentication #35
Comments
Update; the integration somehow works. It kept on saying invalid authentication for the first couple of days but I just tried it and it seem to login so I will close this for now and in the event it does do the invalid authentication again I will re-open the issue. |
This is happening again with the same logs as last time. I verified I can log in with the app, and I changed my password for good measure, according to the fix listed here: #36. Still nothing. I'm going to dig into the code tonight and see if I can get some answers. Any help would be appreciated! |
@sebirdman @njobrien1006 any ideas by chance? |
Given some of the timeouts that have been seen previously, what continent are you on?
There are some differences in init.py where it uses:
Where hass has been defined by:
I still don't understand where Based on the limited logging provided, I'd guess you don't have the logging enabled for the custom component. Add this to your
|
USA Texas so AWS West should be fine to contact.
I was looking at that as well and saw no link from self.hass anywhere else. The odd thing is it worked before and I got one cook in just fine and all the data was mapped out.
Already done my guy. That's all the logs that are available. I'll do a restart right now and upload the logs in a sec. Edited for clarity |
And like a charm, it works just fine. The inconsistency is so weird! It times out at some points, returns NoneType at others, (typically together though), and fails to contact AWS west. Its so odd. I'll throw a couple of restarts at it and see what comes out the other side. Maybe uninstall and reinstall to get it to fail again, but on the other hand, it works lol. Maybe I should just let it be. It's a poor excuse and realistically I shouldn't want to, I just don't wanna lose it ya know? |
All Auth comes from West-2. So yes.
O I get it.
Yeah, I see there isn't any logging triggered from the config_flow. Couple additional (far-fetched) questions:
Maybe add this to Cognito to see if it is all populated: |
For reference this is what to expect in the logs on initial adding of integration:
And then after it succesfully adds:
|
Hey guys! Super excited to use this integration but it seems like it's not working for me. I got it to add to the integrations table, but when I go to add my credentials and click submit, it returns invalid, but I can sign in on both the traeger app as well as the account page on the desktop so that's odd. It also throws a Timeout error talking to cognito, and that NoneType Object error as well, as related to #20. My logs are here:
2022-03-08 11:41:25 ERROR (MainThread) [custom_components.traeger] Timeout error fetching information from https://cognito-idp.us-west-2.amazonaws.com/ -
2022-03-08 11:41:25 ERROR (MainThread) [custom_components.traeger] Failed to login 'NoneType' object is not subscriptable
[{"name":"custom_components.traeger","message":["Failed to login 'NoneType' object is not subscriptable"],"level":"ERROR","source":["custom_components/traeger/config_flow.py",83],"timestamp":1646768485.4657848,"exception":"","count":1,"first_occurred":1646768485.4657848},{"name":"custom_components.traeger","message":["Timeout error fetching information from https://cognito-idp.us-west-2.amazonaws.com/ - "],"level":"ERROR","source":["custom_components/traeger/traeger.py",334],"timestamp":1646768485.4652963,"exception":"","count":1,"first_occurred":1646768485.4652963},{"name":"homeassistant","message":["Error doing job: Unclosed client session"],"level":"ERROR","source":
It seems like there's an unclosed client? Strange because it's the only one there.
Besides that, I'm running, 0.0.7 for Traeger Integration, added through HACS.
HACS 1.2.0, core-2022.3.3 and OS 7.4 for Host Operating system.
The text was updated successfully, but these errors were encountered: