my app searches for Hue bridges on the local network via UPnP (for simplicity's sake, it only uses UPnP, i.e. no portal or IP address search and therefore only finds 1 bridge).
Having selected the bridge with setBridgeToUseWithIpAddress(...) and then enabling the "local heartbeat" with enableLocalConnection(), I get the following error message:
Error occured while fetching inital [sic!] config for full bridge config:
Error Domain=com.philips.hue.sdk Code=21 "Could not connect to the server."
UserInfo=0x1702e0180 {NSUnderlyingError=0x174241470
"Could not connect to the server.",
NSErrorFailingURLStringKey=http://[MAC]/api/[key]/config,
NSErrorFailingURLKey=http://[MAC]/api/[key]/config,
_kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61,
NSLocalizedDescription=Could not connect to the server.}
What is the matter here?
I based my code on the XCode sample project, but rewrote it in Swift and separated pure controller logic from View Controller code.
I looked for a description of that error message or existing cases, but could not find anything.
Hi everyone,
my app searches for Hue bridges on the local network via UPnP (for simplicity's sake, it only uses UPnP, i.e. no portal or IP address search and therefore only finds 1 bridge).
Having selected the bridge with setBridgeToUseWithIpAddress(...) and then enabling the "local heartbeat" with enableLocalConnection(), I get the following error message:
What is the matter here? I based my code on the XCode sample project, but rewrote it in Swift and separated pure controller logic from View Controller code. I looked for a description of that error message or existing cases, but could not find anything.