iFindStuff failing after update

nanobots
Posts: 43
Joined: Tue Apr 28, 2015 10:09 pm

iFindStuff failing after update

Post by nanobots »

Hello,

I had been using a old (probably beta) version of iFindStuff and just updated tonight (1.02.03). After I updated, it seemed to be unable to locate my device so I deleted the device and account to basically start over.

At this point I have readded my Apple Account Device. After doing this I see "Login Successful" message. However, when I go to create my iDevice, I'm running into issues.

When creating an iDevice, I am able to select my Apple Account and confirm. This works and I get the "Account Confirmed". However, when I drop down the "Devices on Account" dropdown, it is empty. I am able to click "confirm device" and save, but it results in an error:

Code: Select all

  iFindStuff Error                Error in plugin execution UiAction:

Traceback (most recent call last):
  File "plugin.py", line 4856, in selectedDevice
<type 'exceptions.KeyError'>: ('530771342',)
Following this I get the following log sequence repeatedly:

Code: Select all

  iFindStuff                      Setting up the API...
  iFindStuff                      Standard API fields set up correctly...
  iFindStuff                      Setting up the Custom API...
  iFindStuff                      Custom API fields set up correctly...
  iFindStuff                      Updating: new device 1 this time
  iFindStuff                      Refreshing Apple Device...new device 1 on account Andy's Apple Account
  iFindStuff                      Setting up the API...
  iFindStuff                      Standard API fields set up correctly...
  iFindStuff                      NCE
  iFindStuff                      Devicenew device 1 
  iFindStuff Critical  Error      Failed login...NCE
  iFindStuff                      Failed to update Apple Device:new device 1 reason unknown
I'm assuming this is happening because I haven't actually the selected the device (because it doesn't show up). I also noticed when I go back in to edit the iDevice, the account still says account confirmed but the entry in the dropdown is blank (no text, just a ).

Could there be some saved data from a previous version that is preventing me from recreating the device? Any other thoughts on why I'd be unable to retrieve a list of devices? I have confirmed I have "Find My Phone" on my phone, that it is logged in, enabled in settings and connected to the account I have logged into.

Thanks for any help you can provide.
Shutter
Posts: 345
Joined: Fri Mar 07, 2014 7:11 am
Location: London, UK

Re: iFindStuff failing after update

Post by Shutter »

I'm seeing the same thing. I noticed the other day that it wasn't reflecting the correct geofence, but didn't have time to look into it. Today I recreated the account and devices but once I confirm the Apple Account in Model: iDevice the Devices on Account? drop down is blank. And when I close the window and go back in both menu items are blank. I've tried restarting the plug in.
I then thought it was because I was running a slightly outdated version. So I quite the Indigo server. Deleted everything to do with iFindStuff, updated the plugin, and relaunched Indigo. I then went about setting up the devices. Same problem.

Any idea what to do?

Many thanks,

Simon
nanobots
Posts: 43
Joined: Tue Apr 28, 2015 10:09 pm

Re: iFindStuff failing after update

Post by nanobots »

I've followed pretty much the same path to troubleshoot and haven't had any luck. When I have the time I may try to find an older version and reinstall that to see if that addresses the problem...
Shutter
Posts: 345
Joined: Fri Mar 07, 2014 7:11 am
Location: London, UK

Re: iFindStuff failing after update

Post by Shutter »

I tried that. I was actually using a slightly older version when I noticed the initial issue of not updating the geolocation - I hadn't fully integrated it into my system so didn't notice this issue. I then updated t the latest version, which still didn't work. I've since downgraded to an older version I still had in my trash and that still doesn't help.
Londonmark
Posts: 572
Joined: Wed Feb 29, 2012 12:57 pm

Re: iFindStuff failing after update

Post by Londonmark »

No longer working for me either.
peteinau
Posts: 65
Joined: Sat Jan 10, 2015 5:02 pm

Re: iFindStuff failing after update

Post by peteinau »

None of my locations are updating at all, turning on the debugging I get the following log and error:

iFindStuff Updating: Petes iPhone this time
iFindStuff Refreshing Apple Device...Petes iPhone on account Pete's Apple Account
iFindStuff Setting up the API...
iFindStuff Standard API fields set up correctly...
iFindStuff Attempting login...
iFindStuff Starting new HTTPS connection (1): p12-setup.icloud.com
iFindStuff Login successful...
iFindStuff Starting new HTTPS connection (1): p43-fmipweb.icloud.com
iFindStuff NCE
iFindStuff DevicePetes iPhone
iFindStuff Critical Error Failed login...NCE
Londonmark
Posts: 572
Joined: Wed Feb 29, 2012 12:57 pm

Re: iFindStuff failing after update

Post by Londonmark »

Even without switching on debugging, I get this repeatedly:

iFindStuff Starting new HTTPS connection (1): p12-setup.icloud.com
iFindStuff Starting new HTTPS connection (1): p39-fmipweb.icloud.com

I've tried adding new devices and deleting and re-adding existing devices, but the drop-down in the Devices in account box is always empty.
User avatar
matt (support)
Site Admin
Posts: 21542
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: iFindStuff failing after update

Post by matt (support) »

I'm not sure what is causing it to not work, but the "Starting new HTTPS connection" log messages can be safely ignored. Those are just log details that used to not get passed all the way up to Indigo but are now (in Indigo 6.1.8). There is a small tweak that the plugin needs to have those messages suppressed. I don't believe that is related at all to the failure though. Londonmark: are you getting the same "Critical Error Failed login" message in your log that pete has?
Image
nanobots
Posts: 43
Joined: Tue Apr 28, 2015 10:09 pm

Re: iFindStuff failing after update

Post by nanobots »

Can't speak for Londonmark but that does appear to be the same error as I was receiving.

I've done a little hacking on this and my current suspicion (although I'm not positive at this point) is that the version of ipycloud library being used to connect to Apple services is broken at this point. I unpackaged the plugin and attempted to use the utilities included with the version of ipycloud distributed within the plugin, and was not able to authenticate to the icloud services. I attempted to update ipycloud to the latest, but at some point they stopped supporting Python 2.6, so I haven't been able to test with the new version. I did however validate that I was able to authenticate through the new version outside of Indigo.
Shutter
Posts: 345
Joined: Fri Mar 07, 2014 7:11 am
Location: London, UK

Re: iFindStuff failing after update

Post by Shutter »

I can confirm that it stopped working prior to Indigo 6.1.8
Londonmark
Posts: 572
Joined: Wed Feb 29, 2012 12:57 pm

Re: iFindStuff failing after update

Post by Londonmark »

Still not working for me. I cannot be sure whether it was 6.1.8 that broke it - probably not. I have removed all devices, but cannot add any of them back. When I try to add devices, I can select my account and click confirm, but then the device drop down is empty.

Any ideas?
rapamatic
Posts: 283
Joined: Mon Aug 03, 2015 2:54 pm
Location: Glencoe, IL

Re: iFindStuff failing after update

Post by rapamatic »

I'm having the same issue. Perhaps something changed on Apple's end?
peteinau
Posts: 65
Joined: Sat Jan 10, 2015 5:02 pm

Re: iFindStuff failing after update

Post by peteinau »

Mine is still broken as well, seems to not be updating, and I can't add any new devices either.
midd
Posts: 374
Joined: Sun Apr 18, 2010 3:00 pm

Re: iFindStuff failing after update

Post by midd »

Since updating to Indigo 6.1.9, I'm no longer receiving the log errors. Don't know if I can add any new devices yet. I'll try tonight or tomorrow.
M4 Mac mini.
Post Reply

Return to “iFindStuff”