# Help saving cookie with alexa-remote2-applestrudel

**URL:** <https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904>\
**Category:** General\
**Created:** [16 November 2023 07:50 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904 "2023-11-16T07:50:06Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xenos](https://avatars.discourse-cdn.com/v4/letter/x/ea5d25/32.png) [@Xenos](https://discourse.nodered.org/u/Xenos)\
**Post date:** [16 November 2023 07:50 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/1 "2023-11-16T07:50:06Z")

</div>

I'm using node-red-contrib-alexa-remote2-applestrudel with node-red on windows 11 and for the life of me I cant figure out how to save the cookie.

Any tips?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 November 2023 11:52 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/2 "2023-11-16T11:52:30Z")

</div>

I use this flow with these setting, using proxy method, once you sign in with proxy the cookie is saved to context. You need to enable persistant context in your setting.js file [Working with context : Node-RED](https://nodered.org/docs/user-guide/context#saving-context-data-to-the-file-system)

```auto
[{"id":"48d034130f262ec8","type":"inject","z":"b779de97.b1b46","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"86400","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"#:(file)::alexa","payloadType":"flow","x":190,"y":2060,"wires":[["f78696691771c3ee"]]},{"id":"f78696691771c3ee","type":"alexa-remote-init","z":"b779de97.b1b46","name":"","account":"c8738129.d902c","option":"initialise","x":380,"y":2060,"wires":[["3b6342b82af27c5f"]]},{"id":"3b6342b82af27c5f","type":"change","z":"b779de97.b1b46","name":"","rules":[{"t":"set","p":"#:(file)::alexa","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":2060,"wires":[[]]},{"id":"c8738129.d902c","type":"alexa-remote-account","name":"alexa remote 2","authMethod":"proxy","proxyOwnIp":"localhost","proxyPort":"3456","cookieFile":"","refreshInterval":"14","alexaServiceHost":"layla.amazon.co.uk","amazonPage":"amazon.co.uk","acceptLanguage":"en-GB","onKeywordInLanguage":"","userAgent":"","useWsMqtt":"on","autoInit":"off"}]

```

 ![chrome_screenshot_1700135508110](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/f/7f7b2e7bc2b6ec113c7fe113f4dc538406321e55.png)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [16 November 2023 11:57 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/3 "2023-11-16T11:57:06Z")

</div>

I think the issue is that the Amazon login page has gone, so you cannot sign in ?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 November 2023 12:03 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/4 "2023-11-16T12:03:26Z")

</div>

I can, what page are you missing?

 ![chrome_screenshot_1700136138427](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6f510a4346f499566ef92d445a2a3329a94716cc.jpeg)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [16 November 2023 12:05 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/5 "2023-11-16T12:05:10Z")

</div>

"[alexa.amazon.co.uk](http://alexa.amazon.co.uk)" no longer has a login option ?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 November 2023 12:09 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/6 "2023-11-16T12:09:06Z")

</div>

If you sign in at [amazon.co.uk](http://amazon.co.uk), you can export the cookie and then use that.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [16 November 2023 12:10 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/7 "2023-11-16T12:10:24Z")

</div>

Still works for me as well - just installed it on a new (Pi) instance and I got the same page as @E1cid

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [16 November 2023 12:18 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/8 "2023-11-16T12:18:28Z")

</div>

What did you set in the service host of alexa config node ?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [16 November 2023 12:19 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/9 "2023-11-16T12:19:52Z")

</div>

`alexa.amazon.co.uk`

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [16 November 2023 12:29 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/10 "2023-11-16T12:29:05Z")

</div>

I notice @E1cid is using "layla" not "alexa" as per instructions for UK

I was just speculating as to the OPs problem, as I'm sure that the last time I got the open xx.xx.xx.xx:3456 or whatever it is I didn't see a login option.

However I'm not about to risk breaking it again as its been working OK since the last outage 😉

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 November 2023 12:39 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/11 "2023-11-16T12:39:05Z")

</div>

> [@Sean-McG](#):
>
> I notice @E1cid is using "layla" not "alexa" as per instructions for UK

Have been for 3 plus years with no issues.

But that would not affect the proxy sign in either.

---

<div class="post-metadata">

**Author:** ![Xenos](https://avatars.discourse-cdn.com/v4/letter/x/ea5d25/32.png) [@Xenos](https://discourse.nodered.org/u/Xenos)\
**Post date:** [17 November 2023 12:52 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/12 "2023-11-17T12:52:06Z")

</div>

Wealth of information here guys, thank you..

---

<div class="post-metadata">

**Author:** ![trfife](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trfife/32/84996_2.png) [@trfife](https://discourse.nodered.org/u/trfife)\
**Post date:** [19 November 2023 15:27 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/13 "2023-11-19T15:27:02Z")

</div>

I haven't been able to get to that page for months. It takes me to:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/f/2f0a03e0b7dcb4d0f5cd5dad266dc96db177290b.png)

I've tried every service host and can't get it to the old sign in page for anything. Any tips?

---

<div class="post-metadata">

**Author:** ![trfife](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trfife/32/84996_2.png) [@trfife](https://discourse.nodered.org/u/trfife)\
**Post date:** [19 November 2023 15:32 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/14 "2023-11-19T15:32:29Z")

</div>

This is the issue I have. Since I can't sign it there is no cookie.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [19 November 2023 15:34 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/15 "2023-11-19T15:34:52Z")

</div>

> [@trfife](#):
>
> I haven't been able to get to that page for months. It takes me to:

What is that page, your question is very vague.  
what url are you putting in address bar. Need more concise info.

P.S. please start your own topic with the info required to help you.  
Hijacking another's topic is bad etiquette.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [19 November 2023 15:35 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/16 "2023-11-19T15:35:29Z")

</div>

Idea - make sure your not logged into amazon in your browser -e.g logout - worth trying 🙂

---

<div class="post-metadata">

**Author:** ![trfife](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trfife/32/84996_2.png) [@trfife](https://discourse.nodered.org/u/trfife)\
**Post date:** [23 November 2023 19:29 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/17 "2023-11-23T19:29:39Z")

</div>

Amazing! I would have never thought of trying that. I had done everything else I could think of including a full rebuild of my home assistant. Today I tried again on a private browser, and it worked! Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 January 2024 19:30 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904/18 "2024-01-22T19:30:37Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
