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

seit heute früh: Error: no csrf found #249

Closed
Farmer-cb opened this issue Jun 18, 2019 · 16 comments
Closed

seit heute früh: Error: no csrf found #249

Farmer-cb opened this issue Jun 18, 2019 · 16 comments
Labels
bug Something isn't working

Comments

@Farmer-cb
Copy link

Farmer-cb commented Jun 18, 2019

Hallo
seit heute früh ca 4:30 Uhr läuft mein Alexa adapter nicht mehr. im log kommt die Fehlermeldung:

alexa2.0 | 2019-06-18 07:32:53.210 | error | Error: no csrf found -- | -- | -- | --
alexa2.0 | 2019-06-18 07:32:53.210 | error | Error: no csrf found. Check configuration of cookie

hab schon versucht ein neues Cookie zu generieren über den Proxy, half aber nix.
hab den Adapter gelöscht und wieder installiert, dann wieder die Proxyadresse aufgerufen Benutzername und Passwort eingegeben und wieder ging nix mehr, es kommt immer wieder zu der Fehlermeldung.

das kommt im debug-mode:

alexa2.0 | 2019-06-18 07:39:21.059 | error | Error: You can try to get the cookie manually by opening http://192.168.xxx.20:37373/ with your browser.
-- | -- | -- | --
alexa2.0 | 2019-06-18 07:39:21.059 | error | Error:
alexa2.0 | 2019-06-18 07:39:21.059 | debug | Alexa-Remote: Error from retrieving cookies
alexa2.0 | 2019-06-18 07:39:21.059 | debug | Alexa-Cookie: Proxy-Server listening on port 37373
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Cookie: Proxy-Mode enabled if needed: 192.168.xxx.20:37373 to listen on 0.0.0.0
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Cookie: Use as Accept-Language: de-DE
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Cookie: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Cookie: Use as Login-Amazon-URL: amazon.de
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Remote: No cookie given, generate one
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Remote: Use as Base-URL: alexa.amazon.de
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Remote: Use as Login-Amazon-URL: amazon.de
alexa2.0 | 2019-06-18 07:39:21.058 | debug | Alexa-Remote: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

dies steht im log wenn ich über den proxy meine Daten eingebe:

alexa2.0 | 2019-06-18 07:41:02.422 | error | Error: no csrf found
-- | -- | -- | --
alexa2.0 | 2019-06-18 07:41:02.421 | error | Error: no csrf found. Check configuration of cookie
alexa2.0 | 2019-06-18 07:41:02.421 | debug | Final Registraton Result: {"loginCookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; csm-hit=tb:HDPMMQ8RBW5RHTJT0ZYR+s-565922QJ8P0ZM525RK2P\|1560835974043&t:1560835974043&adb:adblk_no
alexa2.0 | 2019-06-18 07:41:02.420 | debug | Alexa-Cookie: Result: csrf=undefined, Cookie=session-id=260-2603966-6518401; session-id-time=2191556461l; ubid-acbde=260-8277409-1646668; x-acbde="UBAL6Dejn6aDg7vvolmasZQifZOgvxEA"; at-acbde="Atza\|IwE
alexa2.0 | 2019-06-18 07:41:01.918 | debug | Alexa-Cookie: Response (200)
alexa2.0 | 2019-06-18 07:41:01.686 | debug | Alexa-Cookie: Sending Request with {"host":"alexa.amazon.de","path":"/api/language","method":"GET","headers":{"DNT":"1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Step 4: get CSRF
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Add Cookie sess-at-acbde = "l0MMa9ZvaKZbSnLxsyiPKG7AWlEmUx2tiHT/uRlxIBU="
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Add Cookie at-acbde = "Atza\|IwEBIIBsLjJ8M7NnXgbKRgz5D7NU3eztC8ZlB2V59RBboLuEf4kKQRj4_yWwTXDNfmlZ8YFNOC_6wIbmu1EeO9Gr4KeZShMrzbF-hNZT-03aN3hi6STnOSAAWGh-eDJTzEvE1FqKAz128MFhpPrOqGhjhSLigY
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Add Cookie x-acbde = "UBAL6Dejn6aDg7vvolmasZQifZOgvxEA"
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Add Cookie ubid-acbde = 260-8277409-1646668
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Add Cookie session-id-time = 2191556461l
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Add Cookie session-id = 260-2603966-6518401
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Exchange Token Response: {"response":{"tokens":{"cookies":{".amazon.de":[{"Path":"/","Secure":false,"Value":"260-2603966-6518401","Expires":"13 Jun 2039 05:41:01 GMT","HttpOnly":false,"Name":"session-
alexa2.0 | 2019-06-18 07:41:01.685 | debug | Alexa-Cookie: Response (200)
alexa2.0 | 2019-06-18 07:41:01.195 | debug | Alexa-Cookie: Sending Request with {"host":"www.amazon.de","path":"/ap/exchangetoken","method":"POST","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Langua
alexa2.0 | 2019-06-18 07:41:01.195 | debug | {"host":"www.amazon.de","path":"/ap/exchangetoken","method":"POST","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language":"de-DE","Accept-Charset":"utf-8
alexa2.0 | 2019-06-18 07:41:01.194 | debug | Alexa-Cookie: Exchange tokens for amazon.de
alexa2.0 | 2019-06-18 07:41:01.192 | debug | Get User data Response: {"countryOfResidence":"DE","effectiveMarketPlaceId":"A1PA6795UKMFR9","email":"xxx@xxx-cb.de","eulaAcceptance":false,"features":["CH_HOME_THINGS_TT_IOS","TACHYON_FEATURE_W
alexa2.0 | 2019-06-18 07:41:01.192 | debug | Alexa-Cookie: Response (200)
alexa2.0 | 2019-06-18 07:41:00.577 | debug | Alexa-Cookie: Sending Request with {"host":"alexa.amazon.com","path":"/api/users/me?platform=ios&version=2.2.223830.0","method":"GET","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/i
alexa2.0 | 2019-06-18 07:41:00.576 | debug | {"host":"alexa.amazon.com","path":"/api/users/me?platform=ios&version=2.2.223830.0","method":"GET","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language"
alexa2.0 | 2019-06-18 07:41:00.576 | debug | Alexa-Cookie: Get User data
alexa2.0 | 2019-06-18 07:41:00.574 | debug | Register App Response: {"response":{"success":{"extensions":{"device_info":{"device_name":"Christian's 3. ioBroker Alexa2","device_serial_number":"6a8f47417eca4a2ad0420441e6caf988","device_type":"A2IV
alexa2.0 | 2019-06-18 07:41:00.573 | debug | Alexa-Cookie: Response (200)
alexa2.0 | 2019-06-18 07:40:59.639 | debug | Alexa-Cookie: Sending Request with {"host":"api.amazon.com","path":"/auth/register","method":"POST","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language
alexa2.0 | 2019-06-18 07:40:59.639 | debug | {"host":"api.amazon.com","path":"/auth/register","method":"POST","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language":"de-DE","Accept-Charset":"utf-8",
alexa2.0 | 2019-06-18 07:40:59.638 | debug | Alexa-Cookie: Register App
alexa2.0 | 2019-06-18 07:40:59.638 | debug | Handle token registration Start: {"loginCookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; csm-hit=tb:HDPMMQ8RBW5RHTJT0ZYR+s-565922QJ8P0ZM525RK2P\|1560835974043&t:1560835974043&adb:a
alexa2.0 | 2019-06-18 07:40:59.638 | debug | Alexa-Cookie: Proxy catched parameters: {"openid.assoc_handle":"amzn_dp_project_dee_ios","openid.claimed_id":"https://www.amazon.com/ap/id/amzn1.account.AFP5GJZLBP7ACIYWRO2TEQAUTHXA","openid.identity"
alexa2.0 | 2019-06-18 07:40:59.636 | debug | Alexa-Cookie: Proxy catched cookie: session-id=141-0132199-3645553; session-id-time=2191555925l; csm-hit=tb:HDPMMQ8RBW5RHTJT0ZYR+s-565922QJ8P0ZM525RK2P\|1560835974043&t:1560835974043&adb:adblk_no; ubid
alexa2.0 | 2019-06-18 07:40:59.636 | debug | Alexa-Cookie: Proxy detected SUCCESS!!
alexa2.0 | 2019-06-18 07:40:59.636 | debug | Alexa-Cookie: Proxy Response from Host: www.amazon.com
alexa2.0 | 2019-06-18 07:40:58.831 | debug | Alexa-Cookie: Modify headers: Delete Origin
alexa2.0 | 2019-06-18 07:40:58.831 | debug | Alexa-Cookie: Modify headers: Changed Referer
alexa2.0 | 2019-06-18 07:40:58.831 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; ubid-main=131-1387838-1170967; session-token=\"H3AFAhHHBrS/wRkc7wr+CtB28Hu7zfnFtXCuGEmGU9TKMwukZLiydcQSwo
alexa2.0 | 2019-06-18 07:40:58.830 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; ubid-main=131-1387838-1170967; session-token=\"H3AFAhHHBrS/wRkc7wr+CtB28Hu7zfnFtXCuGEmGU9TKMwukZLiydcQSwo
alexa2.0 | 2019-06-18 07:40:58.830 | debug | Alexa-Cookie: Proxy-Request: POST /www.amazon.com/ap/signin
alexa2.0 | 2019-06-18 07:40:58.830 | debug | Router: /www.amazon.com/ap/signin / POST / {"host":"192.168.xxx.20:37373","connection":"keep-alive","content-length":"1460","cache-control":"max-age=0","origin":"http://192.168.xxx.20:37373","upgrade-
alexa2.0 | 2019-06-18 07:40:47.173 | debug | Router: /ap/uedata?at&v=0.204349.0&id=BBEYXCH6MPB4RKR6T8KM&ctb=1&m=1&sc=BBEYXCH6MPB4RKR6T8KM&pc=2050&at=2050&t=1560836483813&pty=MFAApplication&spty=undefined&pti=undefined&tid=HDPMMQ8RBW5RHTJT0ZYR&af
alexa2.0 | 2019-06-18 07:40:47.173 | debug | Router: /ap/uedata?at&v=0.204349.0&id=BBEYXCH6MPB4RKR6T8KM&ctb=1&m=1&sc=BBEYXCH6MPB4RKR6T8KM&pc=2027&at=2027&t=1560836483790&csmtags=csm-feature-touch-enabled:false&pty=MFAApplication&spty=undefined&p
alexa2.0 | 2019-06-18 07:40:45.503 | debug | Router: /ap/uedata?ld&v=0.204349.0&id=BBEYXCH6MPB4RKR6T8KM&sw=1920&sh=1200&vw=1920&vh=1085&m=1&sc=BBEYXCH6MPB4RKR6T8KM&ue=2&bb=117&cf=129&be=331&fp=156&fcp=156&pc=345&tc=-1961&na_=-1961&ul_=-10&_ul=-1
alexa2.0 | 2019-06-18 07:40:44.878 | debug | Alexa-Cookie: MODIFIED Response Body to rewrite URLs
alexa2.0 | 2019-06-18 07:40:44.682 | debug | Alexa-Cookie: Proxy Response from Host: www.amazon.com
alexa2.0 | 2019-06-18 07:40:44.370 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; ubid-main=131-1387838-1170967; session-token=\"H3AFAhHHBrS/wRkc7wr+CtB28Hu7zfnFtXCuGEmGU9TKMwukZLiydcQSwo
alexa2.0 | 2019-06-18 07:40:44.369 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; ubid-main=131-1387838-1170967; session-token=\"H3AFAhHHBrS/wRkc7wr+CtB28Hu7zfnFtXCuGEmGU9TKMwukZLiydcQSwo
alexa2.0 | 2019-06-18 07:40:44.369 | debug | Alexa-Cookie: Proxy-Request: GET /www.amazon.com/ap/mfa?ie=UTF8&arb=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.value=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.key=arb
alexa2.0 | 2019-06-18 07:40:44.369 | debug | Router: /www.amazon.com/ap/mfa?ie=UTF8&arb=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.value=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.key=arb / GET / {"host":"192.168.xxx.20:37373","connection":"
alexa2.0 | 2019-06-18 07:40:44.230 | debug | Redirect: Final Location ----> http://192.168.xxx.20:37373/www.amazon.com/ap/mfa?ie=UTF8&arb=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.value=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.key=arb
alexa2.0 | 2019-06-18 07:40:44.230 | debug | Redirect: Original Location ----> https://www.amazon.com/ap/mfa?ie=UTF8&arb=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.value=888542a8-ea9f-42a8-8945-c32d36f14b77&mfa.arb.key=arb
alexa2.0 | 2019-06-18 07:40:44.230 | debug | Alexa-Cookie: Proxy Response from Host: www.amazon.com
alexa2.0 | 2019-06-18 07:40:43.209 | debug | Alexa-Cookie: Modify headers: Delete Origin
alexa2.0 | 2019-06-18 07:40:43.208 | debug | Alexa-Cookie: Modify headers: Changed Referer
alexa2.0 | 2019-06-18 07:40:43.208 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; ubid-main=131-1387838-1170967; session-token=\"H3AFAhHHBrS/wRkc7wr+CtB28Hu7zfnFtXCuGEmGU9TKMwukZLiydcQSwo
alexa2.0 | 2019-06-18 07:40:43.208 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; ubid-main=131-1387838-1170967; session-token=\"H3AFAhHHBrS/wRkc7wr+CtB28Hu7zfnFtXCuGEmGU9TKMwukZLiydcQSwo
alexa2.0 | 2019-06-18 07:40:43.208 | debug | Alexa-Cookie: Proxy-Request: POST /www.amazon.com/ap/signin
alexa2.0 | 2019-06-18 07:40:43.208 | debug | Router: /www.amazon.com/ap/signin / POST / {"host":"192.168.xxx.20:37373","connection":"keep-alive","content-length":"9769","cache-control":"max-age=0","origin":"http://192.168.xxx.20:37373","upgrade-
alexa2.0 | 2019-06-18 07:40:36.949 | debug | Router: /ap/uedata?at&v=0.204349.0&id=W5ZADHKQZT4XX145ZDQT&ctb=1&m=1&sc=W5ZADHKQZT4XX145ZDQT&pc=1011&at=1011&t=1560836473560&pty=AuthenticationPortal&spty=MobileSignInApplication&pti=undefined&tid=HDP
alexa2.0 | 2019-06-18 07:40:36.949 | debug | Router: /ap/uedata?at&v=0.204349.0&id=W5ZADHKQZT4XX145ZDQT&ctb=1&m=1&sc=W5ZADHKQZT4XX145ZDQT&pc=1002&at=1002&t=1560836473551&csmtags=csm-feature-touch-enabled:false&pty=AuthenticationPortal&spty=Mobil
alexa2.0 | 2019-06-18 07:40:36.151 | debug | Router: /ap/uedata?ld&v=0.204349.0&id=W5ZADHKQZT4XX145ZDQT&sw=1920&sh=1200&vw=1920&vh=1085&m=1&sc=W5ZADHKQZT4XX145ZDQT&ue=68&bb=109&cf=127&be=291&fp=175&fcp=175&pc=300&tc=-677&na_=-677&ul_=-10&_ul=-10
alexa2.0 | 2019-06-18 07:40:35.644 | debug | Alexa-Cookie: MODIFIED Response Body to rewrite URLs
alexa2.0 | 2019-06-18 07:40:35.542 | debug | Alexa-Cookie: Proxy Response from Host: www.amazon.com
alexa2.0 | 2019-06-18 07:40:35.285 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; csm-hit=tb:HDPMMQ8RBW5RHTJT0ZYR+s-565922QJ8P0ZM525RK2P\|1560835974043&t:1560835974043&adb:adblk_no; ubid-m
alexa2.0 | 2019-06-18 07:40:35.285 | debug | Alexa-Cookie: Headers: {"cookie":"session-id=141-0132199-3645553; session-id-time=2191555925l; csm-hit=tb:HDPMMQ8RBW5RHTJT0ZYR+s-565922QJ8P0ZM525RK2P\|1560835974043&t:1560835974043&adb:adblk_no; ubid-m
alexa2.0 | 2019-06-18 07:40:35.285 | debug | Alexa-Cookie: Proxy-Request: GET /
alexa2.0 | 2019-06-18 07:40:35.285 | debug | Alexa-Cookie: Initial Page Request: https://www.amazon.com/ap/signin?openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fmaplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http%3A
alexa2.0 | 2019-06-18 07:40:35.285 | debug | Router: / / GET / {"host":"192.168.xxx.20:37373","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)

@Apollon77
Copy link
Owner

Komisch. Muss ich checken. Sieht nach einer Amazon Änderung aus :-(

@Apollon77 Apollon77 added the bug Something isn't working label Jun 18, 2019
@FlexerJR
Copy link

Same here.

@DrBakterius
Copy link

Auch bei mir so... :-(

@SoftBeer76
Copy link

Muss mich da anschließen :-(

@JayVee2
Copy link

JayVee2 commented Jun 18, 2019

me too.

@Matten-Matten
Copy link

Matten-Matten commented Jun 18, 2019

Moin, mit V1.1.3 und manuellem Cookie Abruf, bekomme ich es zum laufen!

https://forum.iobroker.net/topic/17158/iobroker-alexa2-v2-0-alpha-status-github-version/469

@z-smoker
Copy link

gleiches Problem...

@NebzHB
Copy link

NebzHB commented Jun 18, 2019

Could you please translate ?

@overfl0w72
Copy link

bei mir ebenfalls

@Apollon77
Copy link
Owner

Workaround see forum. Alternative solution will be there in the next days. I have an idealist need to test.

@Michaelnorge
Copy link

Jepp, hier auch!

@makak06
Copy link

makak06 commented Jun 19, 2019

@Apollon77 Hi all, Can you give us the workaround but in english please ? I don't understand german and google translate show me wrong translation ><
Thanks for helping dude !
Regards

@quorle
Copy link

quorle commented Jun 20, 2019

Seit heute bin ich auch betroffen. Möchte ungern wieder auf V 1.1.3 wechseln

@Ralf-Niemeier
Copy link

same here ...

@Matten-Matten
Copy link

@Apollon77
Copy link
Owner

Fixed by 2.3.1 on Github ... bitte testen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests