© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
3 replies
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
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?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Edge functions supabase error
SupabaseSSupabase / help-and-questions
5mo ago
Edge Functions
SupabaseSSupabase / help-and-questions
4mo ago
Edge Functions
SupabaseSSupabase / help-and-questions
13mo ago
Edge Functions - Event Loop Error
SupabaseSSupabase / help-and-questions
4mo ago