-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Azure Table Api ignore timeout, when wrong host name is used #12423
Comments
@leonbrag thanks for reporting this, @annatisch can you take a look at this |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @klaaslanghout. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @anfeldma-ms, @zfoster, @southpolesteve. |
Thanks @leonbrag - we are working on a new SDK for Tables that is in development here: @seankane-msft - we have a test to validate the socket timeout for the Blobs SDK, can you please add an equivalent test for the new Tables SDK? Additionally an you confirm with the API reference documentation that |
@leonbrag The query parameter you are looking for is actually called |
@leonbrag The new SDK for Tables was released in a preview state yesterday. It is available on pip with the command
Your example would look like this with the new table
|
@leonbrag were you able to solve the issue? |
While I have not tested it, go ahead and close as resolved. In case it’s not working, I will reopen.
Thanks
|
azure-common==1.1.25
azure-core==1.6.0
azure-cosmos==4.0.0
azure-cosmosdb-nspkg==2.0.2
azure-cosmosdb-table==1.0.6
azure-nspkg==3.0.2
Windows 10
Python 3.7.3
Following code connect to the purposely wrong account:
Even though socket_timeout and timeout specified as 3 seconds, APIs takes a very long time to timeout (much more then 3 seconds)
Here is the error, as expected:
Client-Request-ID=793a5574-c098-11ea-af1e-705a0f42318f Retry policy did not allow for a retry: , HTTP status code=Unknown, Exception=HTTPSConnectionPool(host='wrongBlah.table.core.windows.net', port=443): Max retries exceeded with url: /IoT?timeout=3 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001A66BCA6518>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')).
Why are the timeout ignored?
The text was updated successfully, but these errors were encountered: