-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
When the payload is large, it does not reach the endpoint and seems stuck in pg_net until a timeout is reached. This is the case with the latest pg_net version (0.14.0) installed by default but is not the case on one production system using 0.7.x pg_net version.
To Reproduce
With latest supabase version.
I have searched for a while but now we are sure that it's not related to our api because we were able to reproduce it with https://webhook.site.
- Go to webhookt.site and create a endpoint
- Execute the query below
select * from net.http_post(
'https://webhook.site/11a266de-f1b6-48d9-9477-3aeb8c8098cc',
'$PAYLOAD'::jsonb)
by replacing $PAYLOAD with the joined json payload.
- Please note that the same query with a smaller payload is ok. Please not too that sending the payload directly to https://webhook.site using postman works too.
Smaller payload testpayload_works.txt
Expected behavior
Request beeing sent to the server
Screenshots
If applicable, add screenshots to help explain your problem.
System information
- OS: macOs
- Version of supabase postgres docker 15.8.1.020
- pg_net installed 0.14.0
Additional context
I wanted to try other pg_net versions but I can't drop & reinstall the extension as the owner is supabase_admin.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working