-
Notifications
You must be signed in to change notification settings - Fork 437
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
func new
hangs - improve logging
#3867
Comments
I tried your repro steps and it worked fine for me. I am on windows.
Can you retry and see if it helps? And are you only getting that single line as error, nothing else? |
@surgupta-msft I think it's environment related. Might even be just a temporary network problem. But the biggest problem here is not the issue itself, it's that there is no message to debug the issue. May I suggest that you add better debugging information in case of an error rather than finding what caused the issue in my specific case, otherwise it will just be a wild goose chase |
Version
func --version
4.0.6280
Description
cli
func
hangs when creating a new python function following the official guideSteps to reproduce
Follow instruction here: https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-python?tabs=linux%2Cbash%2Cazure-cli%2Cbrowser
Nothing happens after
func new
, hangs for a long time (at least 5~10 minutes) and finally prints:One or more errors occurred. (A task was canceled.)
That's all, nothing to help debugging
The text was updated successfully, but these errors were encountered: