Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle ConnectionError without a response #61

Merged
merged 1 commit into from
Nov 28, 2015

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Nov 28, 2015

E.g.:

ConnectionError: HTTPSConnectionPool(host='api.soundcloud.com',
port=443): Max retries exceeded with url:
/me.json?client_id=XXX (Caused by
NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x7f4356c37550>: Failed to establish a new connection: [Errno
-2] Name or service not known',))

@blueyed
Copy link
Contributor Author

blueyed commented Nov 28, 2015

Duplicate of #52, but handled differently.

E.g.:

```
ConnectionError: HTTPSConnectionPool(host='api.soundcloud.com',
port=443): Max retries exceeded with url:
/me.json?client_id=XXX (Caused by
NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x7f4356c37550>: Failed to establish a new connection: [Errno
-2] Name or service not known',))
```
@jodal jodal self-assigned this Nov 28, 2015
jodal added a commit that referenced this pull request Nov 28, 2015
Handle ConnectionError without a response
@jodal jodal merged commit bccce7a into mopidy:master Nov 28, 2015
@jodal
Copy link
Member

jodal commented Nov 28, 2015

Thanks :-)

@blueyed blueyed deleted the handle-none-response-connect branch November 28, 2015 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants