You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one had me hung up for a while. In [SonosDiscovery discoverControllers]the NSURLSession produced a null NSURLResponse, even though pasting the URL into a browser produced a valid response.
This is because in iOS 9, the default behavior is to not allow clear-text HTTP sessions. Since the URL starts with http://, (i.e. not https://), there will be no response sent back, and the NSError object contains a message alerting you to this.
This one had me hung up for a while. In
[SonosDiscovery discoverControllers]
the NSURLSession produced a null NSURLResponse, even though pasting the URL into a browser produced a valid response.This is because in iOS 9, the default behavior is to not allow clear-text HTTP sessions. Since the URL starts with http://, (i.e. not https://), there will be no response sent back, and the NSError object contains a message alerting you to this.
To work around this, see this article
The text was updated successfully, but these errors were encountered: