bbindreiter / node-red-contrib-alexa-remote2-applestrudel

Node-Red Nodes for interacting with Alexa
https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel
MIT License
75 stars 20 forks source link

"SyntaxError : Unexpected End of JSON Input" during initialization #53

Closed nrout-HA closed 1 year ago

nrout-HA commented 2 years ago

Hi all, I'm having issues initializing my account. Not sure when this started happening. I think the past one or two days. When I initialize, it asks me to sign into the browser. After I do that, the alexa init node shows the SyntaxError. I'm clueless as to how to troubleshoot this, so any suggestions appreciated.

My init flow is:

[{"id":"5db06587.9762bc","type":"inject","z":"b7f6e999.c59f18","g":"9e5610cb.2df3c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":"5","topic":"","payload":"Started!","payloadType":"str","x":180,"y":180,"wires":[["e565b92b.653278"]]},{"id":"e565b92b.653278","type":"change","z":"b7f6e999.c59f18","g":"9e5610cb.2df3c","name":"set","rules":[{"t":"set","p":"payload","pt":"msg","to":"alexa","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":180,"wires":[["549f4dd9.40faf4"]]},{"id":"549f4dd9.40faf4","type":"alexa-remote-init","z":"b7f6e999.c59f18","g":"9e5610cb.2df3c","name":"","account":"5ed557f8.3cce28","option":"fresh","x":580,"y":180,"wires":[[]]},{"id":"5ed557f8.3cce28","type":"alexa-remote-account","name":"alexaaccount","authMethod":"proxy","proxyOwnIp":"192.168.0.100","proxyPort":"3453","cookieFile":"NodeRedAlexaAuth.txt","refreshInterval":"6","alexaServiceHost":"pitangui.amazon.com","amazonPage":"amazon.com","acceptLanguage":"en-US","onKeywordInLanguage":"","userAgent":"","useWsMqtt":"on","autoInit":"off"}]

bdydrp commented 2 years ago

Thanks @Apollon77 Once @bbindreiter updates the node, i will test it out!!

bbindreiter commented 2 years ago

Thank you @Apollon77 !! 5.0.19 is available

Apollon77 commented 2 years ago

@bbindreiter please update again to 5.7.5 - there was an issue with rate limited retries ... better to have that fixed :-)

rubberychicken commented 2 years ago

This now works for me in AU. Thanks guys!

bbindreiter commented 2 years ago

Updated to 5.7.5 in the latest release. Thanks

bdydrp commented 2 years ago

Just tested this and it works again!! Thanks again @Apollon77 for getting the cookie to work for the Aussie accounts

bdydrp commented 2 years ago

Thought i would post an update - been almost 2 weeks now and amazon cookie has updated each time without fail...(au account)

Been working flawlessly Cheers!!

olushako commented 1 year ago

Hey all, I have the same issue but with DE account. Package the last version [5.0.21] Node-red - 3.0.2 I just receiving the error: "Unexpected end of JSON input" Any ideas?

peda commented 1 year ago

@olushako I'm having the same issue with an DE account - tried to create a new account due to #94 - but it fails with this error

c0da commented 1 year ago

Same problem here. Using firefox instead of chrome worked for me as well 🤷‍♂️

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

nodecentral commented 10 months ago

Hi, is it possible to reopen this as I’m still getting the end of json error message?