hardillb / node-red-alexa-home-skill-web

Apache License 2.0
45 stars 29 forks source link

"Error: Connection refused: Not authorized" #27

Closed chno299 closed 7 years ago

chno299 commented 7 years ago

Hi, I have successfull setup my account here; https://alexa-node-red.bm.hardill.me.uk/

Also i linked the skill to alexe, and she find the device i added...

also i can import alexa devices in my node red dashboard, but at this time i got every few seconds, this error message: "Error: Connection refused: Not authorized"

i tried to use another account, new devices and so so on... my firewall is open

image

hardillb commented 7 years ago

I'll have a look at the logs, but double check there are no trailing spaces on the end of the username or password you entered in the account config.

Also when exactly did you create the account?

hardillb commented 7 years ago

username/passwords are also case sensitive

Also check what IP address alexa-node-red.hardill.me.uk (note no 'bm' in the middle) resolves to on the machine running Node-RED

chno299 commented 7 years ago

Hello Ben,

First: Thanks for your Time!

the username (chno299) must be correct, because node red dashboard shows me immediately my device after i entered my credentials..

The ip for :alexa-node-red.hardill.me.uk is:

34.253.184.44

Best Regards from Austria

2017-09-30 15:12 GMT+02:00 Ben Hardill notifications@github.com:

I'll have a look at the logs, but double check there are no trailing spaces on the end of the username or password you entered in the account config.

Also when exactly did you create the account?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hardillb/node-red-alexa-home-skill-web/issues/27#issuecomment-333307698, or mute the thread https://github.com/notifications/unsubscribe-auth/AJiY5SiP2eSf0RhAoLz7NncMjDYZudlBks5snj5UgaJpZM4PpjfK .

hardillb commented 7 years ago

When did you create the account?

chno299 commented 7 years ago

not sure, i think bevore 3 days... i also make a new account "mulder299" (yesterday) this also not works...

2017-09-30 16:45 GMT+02:00 Ben Hardill notifications@github.com:

When did you create the account?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hardillb/node-red-alexa-home-skill-web/issues/27#issuecomment-333313101, or mute the thread https://github.com/notifications/unsubscribe-auth/AJiY5SzwfHXLdZ4uTi0cSoJSsZyW4OfTks5snlPugaJpZM4PpjfK .

hardillb commented 7 years ago

mulder299 is not in the database, which implies you managed to created while I was moving the system to it's new back end.

chno299 commented 7 years ago

i tried to register now:

it says the user mulder299 already exist..

2017-09-30 18:31 GMT+02:00 Ben Hardill notifications@github.com:

mulder299 is not in the database, which implies you managed to created while I was moving the system to it's new back end.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hardillb/node-red-alexa-home-skill-web/issues/27#issuecomment-333319776, or mute the thread https://github.com/notifications/unsubscribe-auth/AJiY5WMgRtV_-k02H4D3ugCK_HdaJkDkks5snmz8gaJpZM4PpjfK .

hardillb commented 7 years ago

OK, thanks, you've just helped me notice the web frontend was still pointing at the old database. Everything should be pointing at the new database now (where there should be no mulder299).

Did you try changing the password on either of the chno299 account at some point?

Can you try and log into the web with chno299 now I've fixed the DB

chno299 commented 7 years ago

OK - i am connected now!

Thanks for the Ultrafast Fix

hardillb commented 7 years ago

So the chno299 account is working now or did you add a new mulder299 account?

chno299 commented 7 years ago

i add the mulder299 account.

2017-09-30 20:08 GMT+02:00 Ben Hardill notifications@github.com:

So the chno299 account is working now or did you add a new mulder299 account?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hardillb/node-red-alexa-home-skill-web/issues/27#issuecomment-333325919, or mute the thread https://github.com/notifications/unsubscribe-auth/AJiY5RpmIwV9OLjhmQC2mDZUL0MuW73Kks5snoOwgaJpZM4PpjfK .