Skip to content

Sending blob #1906

Aug 11, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @Aymeric-Tremoulet,

So, Nginx returns 502 error saying: upstream sent too big header while reading response header from upstream

Hm, this issue might be related to #1461, which was already fixed. Could you try upgrading to the latest v8.0.0?

If I send my request directly to PostgREST bypassing Nginx, I can see that it went well (201 Created) but there's no return code and I get a "Out of memory" error.

We have a test for sending a 50M json and PostgREST consumes 171M in this case. Are you specifying columns when sending the blob? This should be more efficient for sending big payloads.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Aymeric-Tremoulet
Comment options

Answer selected by Aymeric-Tremoulet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants