SupabaseS
Supabase3y ago
Yuu

Edge functions error

My edge function errors out with the following error:
serving the request with /home/deno/functions/trpc
failed to send request to user worker: connection error: Connection reset by peer (os error 104)
InvalidWorkerResponse: user worker failed to respond
    at async UserWorker.fetch (ext:sb_user_workers/user_workers.js:52:15)
    at async Server.<anonymous> (file:///home/deno/main/index.ts:123:16)
    at async Server.#respond (https://deno.land/std@0.182.0/http/server.ts:220:24)
CPU time used: 6ms


This happens when I import from files from directory. If I inline the files, the error goes away. It also isn't very reproducible. If i inline the file, the error goes away and doesn't back right after adding back the import. I have no idea where to even start debugging it. Help?
Was this page helpful?