8000 Random SSLErrors when calling the REST API · Issue #506 · twilio/twilio-python · GitHub
[go: up one dir, main page]

Skip to content
Random SSLErrors when calling the REST API #506
Closed
@msaelices

Description

@msaelices

Issue Summary

Random errors like this:

SSLError: HTTPSConnectionPool(host='taskrouter.twilio.com', port=443): Max retries exceeded with url: /v1/Workspaces/WSXXXXXXXXXXXXXXXXXXXXXXXXXXX/Workers/WKXXXXXXXXXXXXXXXXXXXXXXXXXXX (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),))

I guess that is caused by small service outages, as the randomized nature of the issue.

A fix for that error would be retrying failed connections, using the max_retries param in the requests library (see documentation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0