Skip to content

Functions won't start after upgrading to node 22 #345

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

Closed
JoostLambregts opened this issue May 22, 2025 · 3 comments
Closed

Functions won't start after upgrading to node 22 #345

JoostLambregts opened this issue May 22, 2025 · 3 comments

Comments

@JoostLambregts
Copy link

We have a some Azure Functions running Node 18 or 20. When we upgrade to node 22, either through the portal or using Terraform, we get the following error and the functon won't start:

Microsoft.Azure.WebJobs.Script: Error building configuration in an external startup class. System.Net.Http: The SSL connection could not be established, see inner exception. System.Net.Security: Received an unexpected EOF or 0 bytes from the transport stream.

I'm guessing that the function runtime is trying to make some outbound call to an IP that is getting blocked by our firewall. Is that indeed the case? Is there a list of IPs or hostnames that we need to whitelist?

@swapnil-nagar
Copy link
Contributor

Using the information in the Azure Functions Host Wiki on Sharing Your Function App Name Privately, could you please provide us with the invocation ID to further investigate the issue?

https://github.com/Azure/azure-functions-host/wiki/Sharing-Your-Function-App-name-privately

@JoostLambregts
Copy link
Author

Here is an invocation, from before we upgraded to node 22 of course.

execution timesstamp: 2025-05-21T11:18:16.0094737+00:00',
invocation id; 13583993-6e60-485e-97de-c54f17ad7df2
Location: West Europe

@JoostLambregts
Copy link
Author

JoostLambregts commented May 23, 2025

I got an update from a colleague that the issue might be fixed after upgrading the extension bundle version from 3.x to 4.x. I didn't get conformation from him yet though and I'm not working today, so I'll check on monday and report back.

Edit: the issue was indeed solved after upgrading the extension bundle.

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

No branches or pull requests

2 participants