azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az acr helm push hangs when connection is slow

Open djyou opened this issue 6 years ago • 6 comments

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

The service team received a case where the az acr helm push command hangs for hours when the client connection is slow and the service returned a response after ~4 mins.

This behavior is sporadic (could be caused by transient network connection) but the hanging behavior may be addressed by adding a client timeout.

To Reproduce

Can't be reproduced deterministically.

Expected behavior

Client should error out if connection times out.

Environment summary

Additional context

djyou avatar May 04 '20 22:05 djyou

/cc @yugangw-msft

djyou avatar May 04 '20 22:05 djyou

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @yugangw-MSFT, @toddysm.

ghost avatar May 04 '20 23:05 ghost

acr

yonzhan avatar May 04 '20 23:05 yonzhan

It's strange that RestAPI/SDK not timeout limit?

yungezz avatar May 05 '20 02:05 yungezz

i will add client end timeout this week to mitigate

yugangw-msft avatar May 05 '20 18:05 yugangw-msft

Fixed and should be in the latest release

yugangw-msft avatar May 20 '20 22:05 yugangw-msft