-
Notifications
You must be signed in to change notification settings - Fork 92
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
InvalidWorkerCreation: worker boot error #457
Comments
What version of std are you using in your edge function? |
There are several versions of it that get imported here.
These are shown in the |
@iuioiua Is this imported correctly in the Deno std library? https://deno.land/[email protected]/crypto/crypto.ts?source#L112 It is exported in the I checked all three versions of std, and all have |
Describe the bug
This change introduces an import error with respect to the crypto library when conntecting to secured instances with TLS: 51e34b2
When attempting to instantiate a new instance of the postgres client a worker boot error is thrown:
To Reproduce
Steps to reproduce the behavior:
With a new supabase project:
$ supabase functions new test
Modify the file test/index.ts
Start the endpoint
$ supabase functions serve test
Get the auth token for the next command, both the
anon key
andservice_role key
will work$ supabase status
Call the endpoint
$ curl -v http://localhost:54321/functions/v1/test --header 'Authorization: Bearer <anon or service_role key>'
Expected behavior
An http 200 response is returned with the content:
{ "message": "Booted!" }
Actual Behavior
Server
Client
Additional context
If applicable, add any other context about the problem here.
The text was updated successfully, but these errors were encountered: