Skip to content
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 host start stuck and not starting - connect ECONNREFUSED #3778

Closed
clay4megtr opened this issue Jul 29, 2024 · 4 comments
Closed

func host start stuck and not starting - connect ECONNREFUSED #3778

clay4megtr opened this issue Jul 29, 2024 · 4 comments

Comments

@clay4megtr
Copy link

Version

image

Description

image

Steps to reproduce

just run . .venv/bin/activate && func host start

@clay4megtr
Copy link
Author

it works after waiting for a long time...

@slgray
Copy link

slgray commented Aug 13, 2024

image
same here, just create a demo app and run, it sucks forever.

@slgray
Copy link

slgray commented Aug 13, 2024

It seems the core tool is trying to connect to functionscdn.azureedge.net at start, when I disconnect to network, it get following error.

[2024-08-13T12:39:50.541Z] Error building configuration in an external startup class. [2024-08-13T12:39:50.544Z] Error building configuration in an external startup class. System.Net.Http: No such host is known. (functionscdn.azureedge.net:443). System.Net.Sockets: No such host is known. [2024-08-13T12:39:50.552Z] A host error has occurred during startup operation '572f2476-77d1-4fa4-936b-06e6cb401f98'. [2024-08-13T12:39:50.553Z] Microsoft.Azure.WebJobs.Script: Error building configuration in an external startup class. System.Net.Http: No such host is known. (functionscdn.azureedge.net:443). System.Net.Sockets: No such host is known. Value cannot be null. (Parameter 'provider')
I work around it by set up a proxy, I think print en error message if it fail to connect to functionscdn.azureedge.net is a good idea.

@surgupta-msft
Copy link
Contributor

Closing as duplicate - #3821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants