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

Requires reauthentication after *every* deployment #196

Closed puterboy closed 2 months ago

puterboy commented 2 months ago

I am using proxy to authenticate with my Amazon account. However, every time I do a deploy (even after the most trivial change), it loses connection and requires manual re-authentication.

I tried setting a 'File Path' to save the cookies but no matter what path I use, I get an error of form "Port 3456 already in use"

I am running node-red as a HACS add-on to Home Assistant on a RPi5. I have tried file paths such as /opt/file_name and /config/file_name and others. The "Port 3456" message appears even though netstat and lsof seem to show that there is only one process running.

So,

  1. Why is (manual) re-authentication required after each deployment?
  2. What do I need to do to set a valid cookie path that doesn't create a "Port 3456 already in use" error
puterboy commented 2 months ago

Never mind. It seems like the problem is that I had imported someone else's code and thus had 2 accounts which I suppose conflicted...