Recursion
Recursion3w ago

502: Bad Gateway (ISOLATE_INTERNAL_FAILURE) for long requests

I deployed a simple proxy on Deno, which just forwards my requests to TARGET_URL. When TARGET_URL responds quickly everything is OK, but when it takes 1-2 minutes to respond, I get an error:
502: Bad Gateway (ISOLATE_INTERNAL_FAILURE)

The deployment failed while serving the request.
502: Bad Gateway (ISOLATE_INTERNAL_FAILURE)

The deployment failed while serving the request.
It there any limitation for the time Deno can wait for a response from the server? Or what can be the cause for this behavior? Thanks!
1 Reply
Zel-duh
Zel-duh3w ago
Yes, there is an isolate compute limit as noted here https://docs.deno.com/subhosting/manual/pricing_and_limits/
Deno
Pricing and Limits
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno

Did you find this page helpful?