PhilipsHue / PhilipsHueSDK-iOS-OSX

The Software Development Kit for Philips Hue on iOS and OS X (beta)
579 stars 168 forks source link

No notification if connection is lost during search for new bulbs #23

Closed twam closed 9 years ago

twam commented 11 years ago

When I search for new bulbs and the connection gets lost, no notification is issued. The logs says more or less the same as when this happens during 'normal' operation.

2013-04-12 18:48:42.963 hueplus[6230:c07] HTTPConnection failed (code=0): The request timed out. http://192.168.23.29/api/2e9cdd977d832f5e25a293ee90200c81/lights/new
2013-04-12 18:48:43.962 hueplus[6230:c07] HTTPConnection failed (code=0): The request timed out. http://192.168.23.29/api/2e9cdd977d832f5e25a293ee90200c81/lights/new
2013-04-12 18:48:44.962 hueplus[6230:c07] HTTPConnection failed (code=0): The request timed out. http://192.168.23.29/api/2e9cdd977d832f5e25a293ee90200c81/lights/new
2013-04-12 18:48:45.961 hueplus[6230:c07] HTTPConnection failed (code=0): The request timed out. http://192.168.23.29/api/2e9cdd977d832f5e25a293ee90200c81/lights/new
2013-04-12 18:48:46.524 hueplus[6230:c07] HTTPConnection failed (code=0): The request timed out. http://192.168.23.29/api/2e9cdd977d832f5e25a293ee90200c81
2013-04-12 18:48:46.524 hueplus[6230:c07] Error occured while fetching full bridge: Error Domain=com.philips.hue.sdk Code=21 "The request timed out." UserInfo=0x758e450 {NSErrorFailingURLStringKey=http://192.168.23.29/api/2e9cdd977d832f5e25a293ee90200c81, NSErrorFailingURLKey=http://192.168.23.29/api/2e9cdd977d832f5e25a293ee90200c81, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x7249ea0 "The request timed out."}