You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
It's working locally, but not on deployed version.
Getting node time out error:
The Node invocation timed out after 60000ms.
You can change the timeout duration by setting the InvocationTimeoutMilliseconds property on NodeServicesOptions.
The first debugging step is to ensure that your Node.js function always invokes the supplied callback (or throws an exception synchronously), even if it encounters an error. Otherwise, the .NET code has no way to know that it is finished or has failed. | Source: Microsoft.AspNetCore.NodeServices
Expected result
PDF should be created.
Actual result
NodeService throwing timeout error
I also followed related issues on Github: #1377 #1177
But still getting Timeout error on deployed version. Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered:
phantomjs and other pdf rendering won't work in Azure App service running on default Windows Server. However you can now use Azure App service running on linux where jsreport nicely works.
Perhaps this is the reason for the task not completing. Sorry for the inconvenience, but this is not something controlled by any code in JavaScriptServices.
Title
Getting Node invocation timed out error when invoking JS file using Microsoft.AspNetCore.NodeServices
Functional impact
I developed application which is using NodeServices and deployed it on Azure using following article:
https://code.msdn.microsoft.com/How-to-export-HTML-to-PDF-c5afd0ce
It's working locally, but not on deployed version.
Getting node time out error:
Expected result
PDF should be created.
Actual result
NodeService throwing timeout error
I also followed related issues on Github:
#1377
#1177
But still getting Timeout error on deployed version. Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: