Open commandodev opened 1 year ago
@tirumaraiselvan Tagging you for visibility.
Thanks for reporting @commandodev , let us look into it and get back to you.
As you have noted in the issue, there is a hard limitation in http-client (which is used by wreq
) of 4k bytes for headers: https://github.com/snoyberg/http-client/blob/master/http-client/Network/HTTP/Client/Connection.hs#L54
This is to prevent memory exhaustion: https://s3.amazonaws.com/haddock.stackage.org/nightly-2022-12-17/http-client-0.7.13.1/Network-HTTP-Client.html#v:OverlongHeaders
Is there any way to raise a ticket with Monday.com to reduce the size of their headers...it doesn't seem performant to have such huge headers?
Version Information
Server Version: CLI Version (for CLI related issue):
Environment
docker compose
What is the current behaviour?
I'm trying to add https://api.monday.com/v2 as a remote schema. I see this in the UI
And this in the logs:
And so I can't add Monday as a remote schema
What is the expected behaviour?
How to reproduce the issue?
Screenshots or Screencast
Please provide any traces or logs that could help here.
I suspect the offending party is this header:
More here: https://github.com/snoyberg/http-client/issues/35
Any possible solutions/workarounds you're aware of?
Keywords
remote schema HTTP exception