Hi there,
I'm working on a Static Web App using the integrated Azure Functions backend. I have a function which takes about 2.5 minutes to complete due to a large database upload in the function. I am having an issue where after exactly 45 seconds, the function call returns a 500 error. However, this error does not show up in App Insights and through App Insights I can tell the function is still running after this event.
The function will run to completion but I can not receive a response from the function after the 500. After the function finishes running I can look in the database and see the added records.
This issue is present in my deployed Staging Environment, but not when running locally. When I run locally the function behaves as expected.
It may be relevant that I specify
"engines": {
"node": "10.x"
}
in the backend's package.json as I need to accommodate an older library which depends on it.
Please let me know if I can provide more info!