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

Intergrations Stopped Working unable to find what is blocking it #1371

Closed
thorrrr opened this issue Oct 3, 2021 · 10 comments
Closed

Intergrations Stopped Working unable to find what is blocking it #1371

thorrrr opened this issue Oct 3, 2021 · 10 comments

Comments

@thorrrr
Copy link

thorrrr commented Oct 3, 2021

HI
My devices will no longer respond to Alexa Voice and in the integration keep going on off line.
I have no doubt this is a configuration / Cloudflare Issue blocking url for this integration and rejecting correct Alexa urls

After turning on Cloudflare Full protection several hours later all Alexa apps no longer discovered by the integration.
The items work from HA but all showing red dots in integration.
I have HA with a CNAME in Cloudflare i also have the config in my yaml
If i login with
https://homeassistant.mydomainname.co.uk/auth/authorize i get this
https://homeassistant.mydomainname.co.uk/auth/token i get a 405 Error

But i can fully login https://homeassistant.mydomainname.co.uk no issue on any platform.
I have no firewall filters blocking anything
My account linking paths are correct see image below.
This has been working for 8 months no issue so it has something to do with block from some where or does HA need more details to accept it now?

Expected behavior
It should allow the integration through if i have CNAME in Cloudflare all my other Intergrations have no issue. I appreciate this is a lot more complex but having spent some 20 hours on many Discord servers nobody has any idea why it is not working.

Screenshots
Dell - Screenshot 03-10-2021 - 01
user-images.githubusercontent.com/8170673/135756452-8e18d0e3-579f-496a-a536-4306ccef24d4.jpg)
Dell - Screenshot 03-10-2021 - 02

System details

  • Home-assistant (Home Assistant 2021.9.7): Home Assistant OS
  • Hassio (Yes/No): (Please note you may have to restart hassio 2-3 times to load the latest version of alexapy after an update. This looks like a HA bug). No
  • alexa_media (version from const.py or HA startup): Ver v3.10.8
  • alexapy (version from pip show alexapy or HA startup): Sorry no idea what this means
  • Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: Yes

Logs
See log here

Additional context
Add any other context about the problem here.

@charettepa
Copy link

as of a few hours ago mine is stuck needing reauthentication
correct info entered, says its accepted, then within seconds says its needs reauth again

@tteck
Copy link

tteck commented Oct 3, 2021

re-authentication loop here also

@grandchamp
Copy link

Same here. Authentication loop. Together with Tuya offline today is not a good day for IoT world. 😅

@Warble68
Copy link

Warble68 commented Oct 3, 2021

Also here. I'm just going to disable it for now, just so I don't lose my mind reauthenticating it every 5 minutes. My guess, the problem is at Amazon and not Alexa Media Player. I love this integration.

@rwarner
Copy link

rwarner commented Oct 3, 2021

Same here, also in an authentication loop after the integration says successfully re-authenticated.

@monsieurlatte
Copy link

Auth loop here too.

@alandtse
Copy link
Owner

alandtse commented Oct 3, 2021

The reported issue isn't an auth loop and is reporting a login issue with HA which I can't control. For those of you with a reauth issue, please follow the reported auth issue at #1373.

@alandtse alandtse closed this as completed Oct 3, 2021
@thorrrr
Copy link
Author

thorrrr commented Oct 4, 2021

Hello i never said you can control it. I am asking as yours is the only intergration which will not sign in could you please tell me where it is failing? So i can go to the point of failure. I sent all the logs and info a requested

@poudenes
Copy link

poudenes commented Dec 9, 2021

I had same issue. When I restart HA then the integration can't load because of server down issue. When HA is restarted fully and I disable and reenable the integration its working again.

I use a Add-on Cloudflared to create a tunnel from Cloudflare and HA. on HA in use NPM to redirect subdomains to their right point. NPM also creates the SSL Certs. On Cloudflare I changed SSL/TLS to FULL so the certs from NPM will be used.

Why the intergration can't login by itself at a certain point after HA is restarted I don't know

@alandtse
Copy link
Owner

alandtse commented Dec 9, 2021

I had same issue. When I restart HA then the integration can't load because of server down issue. When HA is restarted fully and I disable and reenable the integration its working again.

I use a Add-on Cloudflared to create a tunnel from Cloudflare and HA. on HA in use NPM to redirect subdomains to their right point. NPM also creates the SSL Certs. On Cloudflare I changed SSL/TLS to FULL so the certs from NPM will be used.

Why the intergration can't login by itself at a certain point after HA is restarted I don't know

Please open a new issue. OP's issues were tied to the alexa integration with cloudfare and also probably had some reauth tied to Amazon's switch on websocket implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants