nest-manager icon indicating copy to clipboard operation
nest-manager copied to clipboard

Unable to Authorize Works with Nest via NST Manager

Open rbiffle opened this issue 8 years ago • 165 comments

Verify the following before opening an issue:

  • [X] That OAuth is Enabled for the SmartApp under the IDE.
  • [X] The SmartApp and Device are using the latest version.
  • [X] You have reviewed the Readme for potential fixes.
  • [X] That the Device Types have been Published for You.

About Your Setup:

  • How many Thermostats?: 3
  • How many Protects? 0
  • Are you Using the Nest Presence Device? No
  • iOS or Android?: iOS
  • Mobile App Version:5.0.3

Expected Behavior

Expecting the application to open the Works with Nest Window, allow me to sign in to my Nest account, then allow me to authorize the ST and Nest connection.

Current Behavior

Each time the NST Manager asks me to sign into my Nest account and asks me to allow the Nest and ST connection, there is an error at the top of the Works with Nest page. It says one of two things, Oops we experienced an error, try again later, or We cannot reach Nest.com, please try again later. My application was sending numerous Warning Offline message so I thought I would remove all NST apps and reinstall. I do not have any automations so it was not supposed to be a big deal. When I could not get the Works with Nest page to allow the ST connection, I tried to uninstall again and perform the reinstall. Now I cannot get the NST Automations app to delete via IDE because it says one or more users have it installed. But it will not allow me to uninstall or remove from he the ST Application. So there are two points to my issue: 1. Can you tell me how to delete the NST Automations from Smartthings? 2.) What could be causing Nest to not allow the ST connection?

Steps to Reproduce (for bugs)

Context

Clean uninstall and clean reinstall of the NST Manager and NST Automations.

Please include a copy of your log under the IDE if possible>>>

rbiffle avatar Apr 17 '17 02:04 rbiffle

Ok, so update to this issue. Successfully uninstalled the the NST Manager and NST Automations using instructions that @tonesto7 sent to another user. I reinstalled per the instructions, OAuth is enabled, and all smart apps and device handlers are reinstalled. I've published for me and saved. I only installed the Nest Thermostat (I have 3), Weather, and Presence. I've checked my Nest account and see no Works with Nest connections. ST is not listed. Is there something I am missing with the Works with Nest? I still get the "Oops! We encountered an error. Please try again" error message. Is there something that you @tonesto7 need to reset to allow me to authorize the Works with Nest connection?

rbiffle avatar Apr 17 '17 03:04 rbiffle

I am having the same issue.. I have installed and I can not click the Accept button in the Login to next section of the Nest Manager App. I have uninstalled and reinstalled as above.. and ensured the the OAuth is enabled. Any suggestions?

wrightinthe6ix avatar Apr 19 '17 14:04 wrightinthe6ix

Having Similar issue,

Cant get nest to authenticate NST manager. After I login, clicking the Blue Accept button on Works with nest page does nothing. There is an error on the top "Oops! We encountered an error. Please try again later. I have tried multiple uninstalls and installs and have oAuth enabled. Please help.

Log is attached. image

Thanks,

Bhupesh

bhupesh102 avatar Apr 19 '17 16:04 bhupesh102

We ran out of auth tokens. We are temporarily remeding the situation.

tonesto7 avatar Apr 19 '17 16:04 tonesto7

Thank you for letting us know. How long should this take? We appreciate all your efforts.

Bhupesh

bhupesh102 avatar Apr 19 '17 16:04 bhupesh102

Hi @tonesto7 I'm having this same issue. Does it has to do with the tokens?

rko180 avatar Jun 04 '17 19:06 rko180

I'm having this issue too, is there a resolution?

stubn avatar Jun 06 '17 12:06 stubn

Hello, I also have this issue. Cannot login in the NST Manager "Login to Nest" - error : Oops ... we've encountered ....

OAuth is Enabled for the SmartApp under the IDE. - Checked The SmartApp and Device are using the latest version. - Updated from repo just now You have reviewed the Readme for potential fixes. - Yes That the Device Types have been Published for You. - Yes they are (see screenshot) nest issue 1 nest issue 2

** How many Thermostats?: 0 How many Protects? 2 Are you Using the Nest Presence Device? No iOS or Android?: iOS Mobile App Version:5.0.9

Thank you for your advice and help ! Will await remedy with tokens !

Kind Regards, Tony

Tokn59 avatar Jun 06 '17 12:06 Tokn59

Hi @tonesto7 please reopen this ticket, I am having the same issue.

Cannot login in the NST Manager "Login to Nest" - error : Oops ... we've encountered ....

OAuth is Enabled for the SmartApp under the IDE. - Checked The SmartApp and Device are using the latest version. - Updated from repo just now You have reviewed the Readme for potential fixes. - Yes That the Device Types have been Published for You. - Yes they are

Thank yiu

Rob

uberrob avatar Jun 11 '17 17:06 uberrob

Hi @tonesto7, I am also receiving the error "Oops! We encountered an error. Please try again." when clicking "Accept" after the Nest login. I have deleted and added back the app and receive the same error. Any suggestions? Thanks!

65a5c543-d0aa-4587-afeb-2c0d0f0aa04b 2:38:54 PM: warn || Nest Manager | Missing: structData null 65a5c543-d0aa-4587-afeb-2c0d0f0aa04b 2:38:52 PM: info ||| Nest Manager | AuthToken not found: Directing to Login Page 65a5c543-d0aa-4587-afeb-2c0d0f0aa04b 2:38:52 PM: info ||| Nest Manager | appData.json File HAS Changed

jwhazzard avatar Jun 11 '17 18:06 jwhazzard

I was having a similar issue, but now I am able to hit the "accept" button but then the app provides me with a Nest Pin code, yet I am never prompted to enter the pin to authorize the account. What am I suppose to do with the Nest Pincode or should I be inputing something in the OAuth Redirect URI section?

neosfranger avatar Jun 12 '17 01:06 neosfranger

We have just updated the tokens, let us know if it is working now.

imnotbob avatar Jun 12 '17 02:06 imnotbob

I'm​ receiving the error below after clicking accept. Thanks for responding to the issue.

Webpage not available

The webpage at https://graph.api.smarthings.com/oauth/callback?state=8bafed2b-b7b8-419f-b8a3-ec43bc1dbde1&code=FQEHXXWLNRVJ7K47 could not be loaded because:

net::ERR_CONNECTION_TIMED_OUT

jwhazzard avatar Jun 12 '17 03:06 jwhazzard

Still getting "Oops! We encountered an error. Please try again."

xomikronx avatar Jun 15 '17 16:06 xomikronx

When trying to click the blue Accept button on the Works with Nest page, it says "Can't Reach nest.com right now. Try again soon." Is this relates to the lack of tokens or indicative of another issue?

hunt2714 avatar Jun 16 '17 03:06 hunt2714

I'm getting the same problem. "Oops! We encountered an error. Please try again."

janselen avatar Jun 16 '17 18:06 janselen

should be fixed now

imnotbob avatar Jun 16 '17 21:06 imnotbob

I just tried setting this up and I'm getting pretty much the same issue. There's nothing in the log beyond "AuthToken not found: Directing to Login Page" When I log in to Works with Nest and hit accept, I get "Can't reach nest.com right now. Try again soon."

antonvlad avatar Jun 22 '17 22:06 antonvlad

I am also getting "Oops! We encountered an error. Please try again." I suppose we ran out of tokens?

TommyFix avatar Jun 25 '17 17:06 TommyFix

Was able to authorize it just now! Cheers

TommyFix avatar Jun 26 '17 01:06 TommyFix

I am having trouble authorizing. Any idea how often tokens are updated? Thank you for all the hard work!

melissamriveraicloud avatar Jun 29 '17 06:06 melissamriveraicloud

I am having the same issue. I get this error message: "Oops! We encountered an error. Please try again."

Any updates on why this is happening?

marshalk86 avatar Jun 29 '17 16:06 marshalk86

Same issue here.

Misaka-12450 avatar Jul 03 '17 13:07 Misaka-12450

"Oops! We encountered an error. Please try again."

4:31:58 AM: warn || Nest Manager | Missing: structData null

ddebellis avatar Jul 08 '17 08:07 ddebellis

Same issue for me

Juberstine avatar Jul 12 '17 05:07 Juberstine

try now

imnotbob avatar Jul 12 '17 12:07 imnotbob

Just reinstall the 5.1.8, having the same issue. Are we out of tokens?

16ce6b63-8f26-464c-9c72-4339eca3fb6f 3:15:07 PM: warn || Nest Manager | Missing: structData null 16ce6b63-8f26-464c-9c72-4339eca3fb6f 3:15:06 PM: info ||| Nest Manager | AuthToken not found: Directing to Login Page

shumws avatar Jul 18 '17 20:07 shumws

Seems to be working now. Thanks!

shumws avatar Jul 19 '17 02:07 shumws

I am getting this issue, same error as others here, just installed this and haven't been able to get passed the works with nest page

mp46241 avatar Jul 23 '17 02:07 mp46241

Same issues as poster above. Thank you

paisita1012 avatar Jul 27 '17 23:07 paisita1012