Closed shivamklr closed 7 months ago
Does anybody know if supabase functions have network restrictions? I've a similar problem with AWS Sdk which works with deno-run but throws an error when executed in the functions.
@michaelzoidl I don't think we have specific network restrictions. Someone from functions team might be able to help if you can post a reproducible example in edge runtime repo.
Closing the original issue as resolved.
Describe the bug When using
supabase functions serve
I get the http status error code 546. From what I understand the npm package makes http requests to resolve the query. Not sure why runtime escapes the event loop. When I check the logs in cli I see thisTo Reproduce Steps to reproduce the behavior:
Expected behavior When I run the code directly using the Deno command.
deno run --allow-net --allow-env .\functions\hello-world\index.ts
. I get a status 200 response.Screenshots If applicable, add screenshots to help explain your problem.
System information Rerun the failing command with
--create-ticket
flag (preferred).Versions of services: