GNOME Bugzilla – Bug 676424
Incomprehensible error message when trying to connect to idevice
Last modified: 2012-08-23 06:52:57 UTC
Created attachment 214494 [details] screenshot of error dialog Using jhbuild. I clicked on my ipad in the sidebar. First time I get a lockdown error dialog. (that should be nicer). Next time I click the item in the sidebar, nautilus crashes.
Created attachment 214495 [details] bt
Apparently this error was related to idevicepairing. I fixed it by doing idevicepair unpair. Perhaps we can a) show a better error message b) allow me to do that directly?
Doesn't seem to crash any more so will repurpose this bug to address the incomprehensible error.
Error code -5 is LOCKDOWN_E_SSL_ERROR Trying to use ideviceinfo from the command line gives me: GnuTLS error: A TLS packet with unexpected length was received. The libimobiledevice web site says to: 12.10.2011: libimobiledevice git master works with iOS 5 just fine. You might have to run "idevicepair unpair && idevicepair pair" if you should have trouble connecting after an upgrade.
Created attachment 222184 [details] [review] Improve idevice error handling
Created attachment 222185 [details] [review] Unpair an idevice if it was already paired and refuses to connect
Attachment 222184 [details] pushed as 3fbe3f2 - Improve idevice error handling Attachment 222185 [details] pushed as 91fcd2e - Unpair an idevice if it was already paired and refuses to connect