NEWS
Alexa2 anmelde Probleme
-
Du hast aber schon mitbekommen das seit 16.8. die 0.5 draussen ist die das problem vom ersten Post löst?!
-
hab 0.5.2 drauf und die Probleme
-
Ok, er Fehler oben im ersten Post kann nur in 0.4 sein.
Also was genau sind "die Probleme"?
Was sagt das Log?
-
im log steht nichts.
Benutzername und PW ging gar nicht bzw passierte nichts.
cookies hatte ich wohl die falsche Übersetzung via google wusste hat nicht was ich kopieren sollte.
MFG Major Joomla
-
Stelle loglevel der Instanz auf debug, dann kommt einiges im log. Das bitte Posten.
Gesendet vom Handy …
-
Ok, die Anleitung ist auch nicht direkt für den Adapter gemacht, sondern allgemein wie man an den Cookie von Amazon ran kommt. Wobei hier auch ein wenig die Logik weiter hilft. Man möchte den Cookie im Adapter eintragen und was der Cookie ist, wird ja erklärt. Also geht man mal davon aus, dass das was nach "Cookie:" der eigentliche Cookie ist und da das im Text mit nem Apostroph vor Cookie anfängt und das schon nicht Bestandteil des Cookie ist, lässt man das letzte eben auch weg und schon hat man was man will.
Selbst wenn man da nicht gleich drauf kommt, mit 3 Versuchen sollte die Hürde auch genommen sein. Da fand ich es schon etwas spannender, dass man im Log schauen muss, wie es weiter geht
Englisch muss man dazu auch nicht sehr gut können, da die Bilder schon die halbe Miete sind.
-
log umgestellt, aber log erst ab jetzt wo umgestellt da lief der adapter ja schon
-
Die Magie ist eigentlich das der Adapter das Cookie ermittelt und man es nicht manuell einträgt. Aber wenn es erstmal tut … bestens.
Merk dir wie es ging musst Du in ca 2 Woche n wieder tun
Gesendet vom Handy ...
-
Im Log steht dass man die eine bestimmte Amazon Seite aufrufen muss und erst wenn man das gemacht hat, läuft der Adapter mit dem Cookie. Kein Plan was Du mit Log umgestellt meinst.
-
Die Magie ist eigentlich das der Adapter das Cookie ermittelt und man es nicht manuell einträgt. Aber wenn es erstmal tut … bestens.
Merk dir wie es ging musst Du in ca 2 Woche n wieder tun
Gesendet vom Handy ... `
Eben ist bei mir der Groschen gefallen :lol:
-
First hi to all ,
Can some one please explain to me how can i login alexa2 in iobroker using cookie, because i have the following error:
Amazon-Login-Error: Wichtige Mitteilung!: Zum besseren Schutz Ihres Kontos geben Sie bitte nochmals Ihr Passwort ein, und geben Sie dann die Zeichen ein, die in der Abbildung unten gezeigt wer
I apreciate if some one show an example .
Thanks !!
-
Amazon wants you to solve a captcha. The line after this message should show a link. Use that one to login and the adapter will catch what he need automatically.
Gesendet vom Handy …
-
Hi to all,
I am running iobroker under win 7 64bits and i have problems with alexa2.0 adapter, i cant login it show always yellow light .
can someone help me with this issue please?
-
Please read exactly the last post before yours. Answer is the same. And if you want more support please post log.
Gesendet vom Handy …
-
Thanks for your answer, this is my log:
alexa2.0 2018-09-03 10:15:25.461 error Error: You can try to get the cookie manually by opening http://192.168.43.69:52770/ with your browser.
alexa2.0 2018-09-03 10:15:25.460 error Error: Amazon-Login-Error: Wichtige Mitteilung!: Zum besseren Schutz Ihres Kontos geben Sie bitte nochmals Ihr Passwort ein, und geben Sie dann die Zeichen ein, die in der Abbildung unten gezeigt wer
alexa2.0 2018-09-03 10:15:11.391 info starting. Version 0.5.2 in C:/ioBroker/node_modules/iobroker.alexa2, node: v6.0.0
host.Florea-ZX 2018-09-03 10:15:10.807 info instance system.adapter.alexa2.0 started with pid 6812
host.Florea-ZX 2018-09-03 10:15:08.302 info instance system.adapter.alexa2.0 terminated with code null ()
host.Florea-ZX 2018-09-03 10:15:08.302 warn instance system.adapter.alexa2.0 terminated due to SIGTERM
host.Florea-ZX 2018-09-03 10:15:08.278 info stopInstance system.adapter.alexa2.0 killing pid 4336
host.Florea-ZX 2018-09-03 10:15:08.278 info stopInstance system.adapter.alexa2.0
host.Florea-ZX 2018-09-03 10:15:08.278 info object change system.adapter.alexa2.0
alexa2.0 2018-09-03 10:10:13.392 error Error: You can try to get the cookie manually by opening http://192.168.43.69:52257/ with your browser.
alexa2.0 2018-09-03 10:10:13.391 error Error: Amazon-Login-Error: Wichtige Mitteilung!: Zum besseren Schutz Ihres Kontos geben Sie bitte nochmals Ihr Passwort ein, und geben Sie dann die Zeichen ein, die in der Abbildung unten gezeigt wer
alexa2.0 2018-09-03 10:10:05.316 info starting. Version 0.5.2 in C:/ioBroker/node_modules/iobroker.alexa2, node: v6.0.0
host.Florea-ZX 2018-09-03 10:10:04.738 info instance system.adapter.alexa2.0 started with pid 4336
host.Florea-ZX 2018-09-03 10:10:02.238 info instance system.adapter.alexa2.0 terminated with code null ()
host.Florea-ZX 2018-09-03 10:10:02.238 warn instance system.adapter.alexa2.0 terminated due to SIGTERM
host.Florea-ZX 2018-09-03 10:10:02.220 info stopInstance system.adapter.alexa2.0 killing pid 2280
host.Florea-ZX 2018-09-03 10:10:02.220 info stopInstance system.adapter.alexa2.0
host.Florea-ZX 2018-09-03 10:10:02.219 info object change system.adapter.alexa2.0
alexa2.0 2018-09-03 10:09:21.958 error Error: You can try to get the cookie manually by opening http://192.168.43.69:52172/ with your browser.
alexa2.0 2018-09-03 10:09:21.957 error Error: Amazon-Login-Error: Wichtige Mitteilung!: Zum besseren Schutz Ihres Kontos geben Sie bitte nochmals Ihr Passwort ein, und geben Sie dann die Zeichen ein, die in der Abbildung unten gezeigt wer
So if i manualy access http://192.168.43.69:52770/ , login page open and i can login without problems . Thanks in advance!
-
And do the adapter works after you logged in using this url? What is the final page after login saying?
What amazon country you use? I dir Germany or an other country if amazon?
For Germany he should work, other countries you need to set some specific things in config.
If not please set adapter to debug loglevel and start and login again. I then need the full log of this from disc (/opt/ioBroker/log) as PN …
Gesendet vom Handy ...
-
Hallo erstmal.
Auch ich versuche seit einiger Zeit die Anmelde-Probleme in den USA zu überwinden.
Nach einigen Hin und Her erreiche ich nun die USA Login Webseite und nach erfolgreichem Login, mittels proxy, erhalte ich im Browser die Meldung : Amazon Alexa Cookie successfully retrieved. You can close the browser.
Der Adapter startet neu und haengt wieder fest beim cookie.
Vielleicht übersehe ich ja irgendwas.
Alexa base url : https://alexa.amazon.com
Custom User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Custom Accept-Language Header: en-US
Custom Cookie-Amazon-URL: amazon.com
node.js v6.14.4
NPM: 3.10.10
alexa2.0 v1.0.0
logs:
2018-09-09 15:00:04.538 - debug: alexa2.0 Alexa-Cookie: Step 4: get CSRF
2018-09-09 15:00:04.538 - debug: alexa2.0 Alexa-Cookie: Sending Request with
2018-09-09 15:00:04.599 - error: alexa2.0 uncaught exception: Cannot read property 'headers' of null
2018-09-09 15:00:04.600 - error: alexa2.0 TypeError: Cannot read property 'headers' of null
at request (/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:158:50)
at ClientRequest. (/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:114:24)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:314:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at connectErrorNT (net.js:1034:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
2018-09-09 15:00:04.601 - warn: alexa2.0 Exception: TypeError: Cannot read property 'headers' of null
2018-09-09 15:00:04.610 - error: Caught by controller[0]: TypeError: Cannot read property 'headers' of null
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at request (/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:158:50)
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at ClientRequest. (/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:114:24)
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at emitOne (events.js:96:13)
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at ClientRequest.emit (events.js:188:7)
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at TLSSocket.socketErrorListener (_http_client.js:314:9)
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at emitOne (events.js:96:13)
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at TLSSocket.emit (events.js:188:7)
2018-09-09 15:00:04.610 - error: Caught by controller[0]: at connectErrorNT (net.js:1034:8)
2018-09-09 15:00:04.611 - error: Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:80:11)
2018-09-09 15:00:04.611 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9)
2018-09-09 15:00:04.611 - error: host.debianiobroker instance system.adapter.alexa2.0 terminated with code 0 (OK)
2018-09-09 15:00:04.611 - info: host.debianiobroker Restart adapter system.adapter.alexa2.0 because enabled
2018-09-09 15:00:34.618 - info: host.debianiobroker instance system.adapter.alexa2.0 started with pid 23389
2018-09-09 15:00:34.957 - debug: alexa2.0 objectDB connected
2018-09-09 15:00:34.980 - debug: alexa2.0 statesDB connected
2018-09-09 15:00:35.098 - info: alexa2.0 starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.alexa2, node: v6.14.4
2018-09-09 15:00:35.116 - debug: alexa2.0 Alexa-Remote: Use as User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
2018-09-09 15:00:35.116 - debug: alexa2.0 Alexa-Remote: Use as Login-Amazon-URL: amazon.com
2018-09-09 15:00:35.117 - debug: alexa2.0 Alexa-Remote: Use as Base-URL: https://alexa.amazon.com
2018-09-09 15:00:35.117 - debug: alexa2.0 Alexa-Remote: No cookie given, generate one
2018-09-09 15:00:35.404 - debug: alexa2.0 Alexa-Cookie: Use as Login-Amazon-URL: amazon.com
2018-09-09 15:00:35.404 - debug: alexa2.0 Alexa-Cookie: Use as Alexa-Service-Host: https://alexa.amazon.com
2018-09-09 15:00:35.404 - debug: alexa2.0 Alexa-Cookie: Use as User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
2018-09-09 15:00:35.404 - debug: alexa2.0 Alexa-Cookie: Use as Accept-Language: en-US
2018-09-09 15:00:35.404 - debug: alexa2.0 Alexa-Cookie: Proxy-Mode enabled if needed: 192.168.1.7:0 to listen on 0.0.0.0
2018-09-09 15:00:35.404 - debug: alexa2.0 Alexa-Cookie: Step 1: get first cookie and authentication redirect
2018-09-09 15:00:35.404 - debug: alexa2.0 Alexa-Cookie: Sending Request with
2018-09-09 15:00:35.577 - debug: alexa2.0 Alexa-Cookie: Sending Request with
2018-09-09 15:00:39.598 - debug: alexa2.0 Alexa-Cookie: Response (200)
2018-09-09 15:00:39.906 - debug: alexa2.0 Alexa-Cookie: Step 2: login empty to generate session
2018-09-09 15:00:39.907 - debug: alexa2.0 Alexa-Cookie: Sending Request with
2018-09-09 15:00:40.054 - debug: alexa2.0 Alexa-Cookie: Response (200)
2018-09-09 15:00:40.330 - debug: alexa2.0 Alexa-Cookie: Step 3: login with filled form, referer contains session id
2018-09-09 15:00:40.331 - debug: alexa2.0 Alexa-Cookie: Sending Request with
2018-09-09 15:00:40.634 - debug: alexa2.0 Alexa-Cookie: Response (200)
2018-09-09 15:00:40.663 - debug: alexa2.0 Alexa-Cookie: Proxy-Server listening on port 41701
2018-09-09 15:00:40.663 - debug: alexa2.0 Alexa-Remote: Error from retrieving cookies
2018-09-09 15:00:40.664 - error: alexa2.0 Error: Amazon-Login-Error: Important Message!: To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below.
2018-09-09 15:00:40.664 - error: alexa2.0 Error: You can try to get the cookie manually by opening http://192.168.1.7:41701/ with your browser.
-
JUHUUUUUUUUUUUUUUUU !!!!!!!!
Jetzt funktioniert
es nachdem ich
Alexa base url : pitangui.amazon.com
eingetragen habe.
-
please try the following settings for the cookie in the adapter. It finally worked for me.
Alexa base url : pitangui.amazon.com
Custom User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Custom Accept-Language Header: en-US
Custom Cookie-Amazon-URL: amazon.com
i also updated to alexa2.0 v 1.0.0 over github
hope it works for you too.
-
Yes for US these are the correct Infos. But the custom User agents should not be needed. I will add this to the docs.
Gesendet vom Handy …