GoogleCloudPlatform/functions-framework-dotnet

Getting error : A task was canceled

yashhema opened this issue · 5 comments

Hello,
I have deployed .net core as google cloud functions (http). After every 2 or 3rd call I get the error - A task was canceled.
I have increased timeout , nothing is printed on the server side. Any idea what i can do

The same function will work if i call it again (after getting the error)

Hmm... are you able to provide a function that reproduces the problem so that I can investigate further?

For me , u can take any cloud function , and call them in with same parameter multiple times in series. something like
call funcA
call funcA
call FuncA

For me , every 3rd or 4th call gets the above error

So do you see this behavior with the "hello, world" function that you get out of the box with dotnet new gcf-http for example?
How are you calling the function? Do you see the same issue if you just refresh with the browser? (I've just tried that with a personal function, simply hitting refresh 10 times, and it was fine.)

Closing due to lack of information for now - please add another comment if you are still seeing a problem, answering the questions from September 10th.