-
Notifications
You must be signed in to change notification settings - Fork 439
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
Where to find the actual error instead of "exception while executing function: ... System.Private.CoreLib: One or more errors occurred ...." #2321
Comments
Sourcevar http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World!');
}).listen(8080); |
This is a known bug we plan on addressing soon in v2. Restarting the Function App mostly works to address this as a temporary work around. Your code is fine, it's a bug in our state machine for the node process on the worker. |
Probably a dupe of #2244 @pragnagopa, could you confirm? |
@christopheranderson ah thats unfortunate. Any ETA on a fix? |
@paulbatum Since @christopheranderson isnt responding. Do you have an ETA when 2.0 goes live? We are kind of waiting for this to work properly. |
@isualize As neither @pragnagopa or @christopheranderson have picked this up for an upcoming sprint, I can't give you an ETA for this particular issue to be fixed. Functions 2.0 is already in preview, and we will make sure this is fixed prior to GA for v2 (but I don't have a GA date either). |
Submitted PR with a fix for this. |
Just got the same issue. Region: East Asia |
+1 Region EastUS |
@paulbatum @pragnagopa @christopheranderson I insist to reopen this issue, I continuously getting this again and again. Even restart doesn't help... No confidence to run in production, bad experience for development, and this really frustrating. |
Fix is not rolled out yet. Fix is part of 2.0.11737-alpha. We are currently working on this release. Should be out soon. |
@brusMX - For python can you try using the latest docker image from sample repo: https://github.com/Azure/azure-functions-docker-python-sample/blob/master/Dockerfile |
@pragnagopa Thank you for the fast response, hopefully waiting for the next build to be published very soon. Any workaround you can suggest for now until version 2.0.11737-alpha? Restart, full redeploy, full redeploy with different app service name - none of this helped me :( |
@iredjee - Moved investigation to Azure/azure-functions-nodejs-worker#68 |
Yes please, any workaround currently until the issue is fixed? |
Please check Kudu diagnostic logs. |
Hi everyone,
Im executing a nodejs function in Azure and im getting the following error:
Exception while executing function: Functions.getSheet. System.Private.CoreLib: One or more errors occurred. (Worker process with pid 393 exited with code 1) (Worker process with pid 407 exited with code 1) (Worker process with pid 420 exited with code 1). Worker process with pid 393 exited with code 1.
Ofcourse this doesnt help me at all to consider whats wrong with the following piece of code:
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World!');
}).listen(8080);
The above piece of code is a simple hello world example. Could anyone tell me whats wrong with this?
Im on the West-European server by the way. Running on 2.0.1 beta runtime version and node version 8.4.0.
By default it's sets to 6.5.0, even though the latest version has been updated to 8.4.0:
7a31023
Are there more specific logs to be found somewhere?
The text was updated successfully, but these errors were encountered: