Unable to login

Posted on
Sat Jan 11, 2020 10:07 am
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Unable to login

Hey Zach. Great job on the plugin! I love it.

Recently I've been getting authentication errors and I can no longer log in.

A few things for you to know:
1) I do not use 2FA.
2) I did try to downgrade the plugin and that wasn't successful.
3) I can successfully use those credentials to log in through the web and the ring app.
4) the doorbell device is no longer listed in the dropdown in the ring plugin device (this may be obvious) but the attributes of the account and doorbell are still listed in the device from the last successful GET

Code: Select all
Jan 11, 2020 at 10:57:57 AM
   Reloading plugin "Ring 1.7.0"
   Stopping plugin "Ring 1.7.0" (pid 12343)
   Stopped plugin "Ring 1.7.0"
   Starting plugin "Ring 1.7.0" (pid 12408)
   Started plugin "Ring 1.7.0"
   Ring                            Attempting to connect to Ring.com API and login as xxxxxxxxxx@gmail.com
   Ring Error                      Login error - please go to the Ring plugin's 'Configure...' menu to update credentials
   Ring Error                      Login error - please go to the Ring plugin's 'Configure...' menu to update credentials

Jan 11, 2020 at 10:58:36 AM
   Ring                            Retrieving all available devices from Ring.com (this may take a moment, please be patient)
   Ring                            Connection to Ring.com API down; can't print devices to Event Log
   Ring                           
   Ring                            Done printing all available Ring devices to Event Log

Posted on
Sat Jan 11, 2020 10:14 am
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

Thanks for the note! The short version is that Ring temporarily blocked the underlying python library due to some bugs, but the awesome folks who developed the library worked over night to fix it. Ring themselves were friendly about the whole thing, but a fix was definitely needed so as not to hammer their API. I'm working to port to the new version of the library today.

ZachBenz's Plugins: RingForIndigo

Posted on
Sat Jan 11, 2020 10:17 am
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

(Temporarily marked this thread as an "announcement" to catch people's attention while the fix is being worked)

ZachBenz's Plugins: RingForIndigo

Posted on
Sat Jan 11, 2020 10:35 am
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

Just a quick update - the changes to the underlying python library are going to take a little bit of time to adapt to; hoping to have something up and running later today.

ZachBenz's Plugins: RingForIndigo

Posted on
Sat Jan 11, 2020 2:56 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

I've just pushed out version of 1.7.1 of the plugin, which should fix this.

ZachBenz's Plugins: RingForIndigo

Posted on
Sat Jan 11, 2020 2:57 pm
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Unable to login

Thanks for the huge effort Zach! I'm happy to test for you if you need it.

Posted on
Sat Jan 11, 2020 2:59 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

ryanbuckner wrote:
Thanks for the huge effort Zach! I'm happy to test for you if you need it.


Yes, please! Let me know how it goes.

ZachBenz's Plugins: RingForIndigo

Posted on
Sat Jan 11, 2020 9:27 pm
mclass offline
Posts: 312
Joined: May 13, 2015
Location: Melbourne, Australia

Re: Unable to login

Thanks Zach!

Operating just fine on two separate Indigo servers.

Many thanks for the prompt action.

mclass


Sent from my iPad using Tapatalk

Posted on
Sat Jan 11, 2020 10:56 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

mclass wrote:
Operating just fine on two separate Indigo servers.


Great!

ZachBenz's Plugins: RingForIndigo

Posted on
Sun Jan 12, 2020 7:41 am
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Unable to login

I'm back baby!

Small errors remain:

Code: Select all
 Ring Error                      exception in deviceStartComm(Front Doorbell): year=1899 is before 1900; the datetime strftime() methods require year >= 1900

Posted on
Sun Jan 12, 2020 6:45 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

ryanbuckner wrote:
I'm back baby!

Small errors remain:

Code: Select all
 Ring Error                      exception in deviceStartComm(Front Doorbell): year=1899 is before 1900; the datetime strftime() methods require year >= 1900


Oh, ha, localizing the default date of January 1 1900 puts some people back in 1899. :D At least that one is an easy fix!

ZachBenz's Plugins: RingForIndigo

Posted on
Sun Jan 12, 2020 6:52 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

ryanbuckner wrote:
Code: Select all
 Ring Error                      exception in deviceStartComm(Front Doorbell): year=1899 is before 1900; the datetime strftime() methods require year >= 1900


Just fixed this in version 1.7.4

ZachBenz's Plugins: RingForIndigo

Posted on
Sun Jan 12, 2020 7:25 pm
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Unable to login

jut upgraded. Still getting error:

Code: Select all
Jan 12, 2020 at 8:22:59 PM
   Reloading plugin "Ring 1.7.4"
   Stopping plugin "Ring 1.7.4" (pid 6802)
   Stopped plugin "Ring 1.7.4"
   Starting plugin "Ring 1.7.4" (pid 6890)
   Started plugin "Ring 1.7.4"
   Ring Error                      exception in deviceStartComm(Front Doorbell): year=1899 is before 1900; the datetime strftime() methods require year >= 1900
   Ring                            Attempting to connect to Ring.com API and login as ryanbuckner@gmail.com
   Ring                            Connection to Ring.com API successful

Posted on
Sun Jan 12, 2020 8:42 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

ryanbuckner wrote:
jut upgraded. Still getting error:


Ah - I failed to account for previously existing states still set to the initialization default of January 1, 1900. I'll get this fixed. Fortunately, this is largely a cosmetic issue, so everything should continue to function, just a couple of device states won't be properly initialized to default values.

ZachBenz's Plugins: RingForIndigo

Posted on
Sun Jan 12, 2020 9:02 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Unable to login

ryanbuckner wrote:
jut upgraded. Still getting error:


Please try version 1.7.5, which I just released, when you have a moment.

ZachBenz's Plugins: RingForIndigo

Who is online

Users browsing this forum: No registered users and 1 guest

cron