Skip to content

Transport timeout option not functioning properly #140

@ryan-mccaffrey

Description

@ryan-mccaffrey

I've tried setting the timeout option in the Transport constructor to timeout=10 and simulated a timeout by disabling my wifi. I found that it took about 3 minutes for the request to return a ReadTimeout error. Trying a second time, the error came back after 1 minute, which is not only the 10 seconds I specified, but also inconsistent with the 3 minutes from before.

My code is as below:

transport = Transport(http_auth=(username, apiKey), timeout=10)
connection = Client(wsdl=myURL, transport=transport)

If I'm doing something wrong, any tips would be greatly appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions