-
Notifications
You must be signed in to change notification settings - Fork 5
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
OAuth token timeout #12
Comments
The genie API is pretty flaky. Is it consistently doing this or is this the first time you are trying it? |
I've restarted Homebridge multiple times, so it's doing this consistently. |
Hmm I just tried to reproduce it and it works for me. Is it possible anything in your network might be blocking certain outbound requests? |
Weird, I don't block outbound requests on any of my devices, so I doubt it's something like that. Is the name supposed to be something specific from my Aladdin account? Or is that what I want it to say within Homebridge? |
Can you give me some more info about your setup? See https://github.com/derek-miller/homebridge-genie-aladdin-connect/blob/master/.github/ISSUE_TEMPLATE/bug-report.md for context. |
One thing to note is that I was using the other Aladdin Homebridge plugin Describe The Bug: OAuth login timeout To Reproduce: Installed plugin, filled in login fields, restarted Homebridge Expected behavior: Log into Aladdin and display garage doors in Apple Home Logs (can provide more, but I don't see any errors or possible issues with other plugins in the logs):
Plugin Config:
Screenshots: In first post Environment: |
Are there any logs surrounding the snippet you pasted above? Im looking for warnings about other plugins which might be slowing down homebridge and causing it to fail. Nodejs uses cooperative concurrency control for its promises so another plugin could block longer than the configured timeout in my plugin. You could test this by disabling the other plugins such that only the genie plugin is running. |
Welp, I feel like an idiot. I just restarted my Pi and your plugin is now working no problem. So much for troubleshooting 101 😆 I really appreciate your help! And I'm super happy to be moving to your plugin from the other one. Thank you! |
No worries! Glad you figured it out. Let me know if you hit any other issues. |
Hi, I just tried to use this plugin and I'm getting this error in my log:
![Screen Shot 2022-04-22 at 10 47 18](https://user-images.githubusercontent.com/7193271/164738704-79037a69-e854-432f-bc40-7afe3cae24d5.png)
Any idea on what I can do to fix this? I've double checked my email/password and they're correct. Thanks!
The text was updated successfully, but these errors were encountered: