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

InvokeAsync getting cancelled after roughly 110 seconds #5258

Closed
InvincibleDRT opened this issue Oct 24, 2018 · 4 comments
Closed

InvokeAsync getting cancelled after roughly 110 seconds #5258

InvincibleDRT opened this issue Oct 24, 2018 · 4 comments
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-spa

Comments

@InvincibleDRT
Copy link

await nodeServices.InvokeAsync<string> is getting canclled after 110 seconds. getting System.Threading.Tasks.TaskCanceledException: 'A task was canceled.'

StackTrace
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.d__71.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.<InvokeExportAsync>d__131.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.d__101.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at AIRWAYS.Renderer.Processor.Utility.NodeUtility.d__0.MoveNext() in

@InvincibleDRT
Copy link
Author

This is running on a background this which is queued with HostingEnvironment.QueueBackgroundWorkItem(x=>method());

@InvincibleDRT
Copy link
Author

Invoked node service however continues to run in the background even after this exception

@InvincibleDRT InvincibleDRT changed the title InvokeAsync getting cancelled after roughly 100 seconds InvokeAsync getting cancelled after roughly 110 seconds Oct 28, 2018
@InvincibleDRT
Copy link
Author

Update: options.useSocketHosting() works for me...but that's package hasn't made it out of beta. Are there any plans to release that. It would be awesome if you can publish it

@aspnet-hello aspnet-hello transferred this issue from aspnet/JavaScriptServices Dec 17, 2018
@aspnet-hello aspnet-hello added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-spa labels Dec 17, 2018
@mkArtakMSFT mkArtakMSFT added this to the spa-announcement milestone Jul 29, 2019
@mkArtakMSFT
Copy link
Member

Thanks for contacting us. We're closing this issue as this doesn't align with our long-term plans in this area. You can read more details about our vision for this area at #12890.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-spa
Projects
None yet
Development

No branches or pull requests

3 participants