Skip to content

Conversation

@annatisch
Copy link
Member

If a user specifies a connection_timeout parameter on a request, this will raise a urllib3 ConnectTimeout exception, which is not currently handled in the transport, and instead is raised straight to users. Which means it also bypasses the retry policy.

@adxsdk6
Copy link

adxsdk6 commented Oct 1, 2019

Can one of the admins verify this patch?

@annatisch annatisch added Azure.Core Client This issue points to a problem in the data-plane of the library. labels Oct 1, 2019
@bryevdv
Copy link
Contributor

bryevdv commented Oct 1, 2019

Build failure looks like an Eng problem

Could not get the latest source version for repository Azure/azure-sdk-for-python hosted on https://github.com/ using ref 5e28f76f8b611ecf756530f82ce867cb4b2e7464. GitHub reported the error, "Bad credentials"

@annatisch annatisch requested a review from lmazuel October 2, 2019 17:29
@annatisch
Copy link
Member Author

ping @xiangyan99 and @lmazuel for review :)
This patch is needed for the Cosmos tests to pass.

@annatisch annatisch merged commit e872266 into master Oct 3, 2019
YijunXieMS pushed a commit to YijunXieMS/azure-sdk-for-python that referenced this pull request Oct 9, 2019
* Handle requests connection timeout error

* Moved catch

* Added test

* Update test to be more stable
@annatisch annatisch deleted the annatisch-patch-5 branch October 9, 2019 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core Client This issue points to a problem in the data-plane of the library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants