ha-alexa-tts icon indicating copy to clipboard operation
ha-alexa-tts copied to clipboard

Cookie issues

Open woobenjamin opened this issue 5 years ago • 1 comments

Hi, I'm using Hassio in a docker environment. This is just a server, and not a workstation, so it has no GUI, and as such no Chrome, no Firefox, etc. I'm trying to use this, but it keeps giving me the following error:

cookie does not exist. logging in ... ERROR: Amazon Login was unsuccessful. Possibly you get a captcha login screen. Try logging in to https://alexa.amazon.com with your browser. In your browser make sure to have all Amazon related cookies deleted and Javascript disabled!

(For more information have a look at /tmp/.alexa.login)

I looked in /tmp/.alexa.login, and it doesn't show any request for CAPTCHA.

Any help would be much appreciated!

Thanks

b

woobenjamin avatar May 23 '19 15:05 woobenjamin

Hello

Are you living in USA ? if not you have to change this from alexa_remote_control.sh:

`LANGUAGE="fr-FR" #LANGUAGE="de-DE" #LANGUAGE="en-GB" #LANGUAGE="es-ES" #LANGUAGE="en-US"

AMAZON='amazon.fr' #AMAZON='amazon.de' #AMAZON='amazon.co.uk' #AMAZON='amazon.es' #AMAZON='amazon.com'

ALEXA='alexa.amazon.fr' #ALEXA='layla.amazon.de' #ALEXA='layla.amazon.co.uk' #ALEXA='alexa.amazon.es' #ALEXA='pitangui.amazon.com'`

Add or choose the right one according your country

then try to get the cookies once you are logged on alexa.amazon.fr (again depends your country)

and get all the cookies (i use this firefox extension : https://github.com/rotemdan/ExportCookies)

push it and rename it into /tmp/.alexa.cookie

and relaunche the command : ./alexa_remote_control.sh -a

should work

bennyboom38 avatar Aug 05 '19 19:08 bennyboom38