CLARIAH / grlc

grlc builds Web APIs using shared SPARQL queries
http://grlc.io
MIT License
137 stars 32 forks source link

"Request Line is too large" error #359

Closed tkuhn closed 3 years ago

tkuhn commented 3 years ago

I am trying to set up a plain grlc service (via Docker) and I am now getting the error "Request Line is too large". See here: http://grlcplain.nanopubs.lod.labs.vu.nl/api-git/peta-pico/fpsi-queries/get-superpattern-reviews

Any idea what's going on here?

c-martinez commented 3 years ago

Strange one -- it seems to work fine on a different grlc instance:

http://grlc.io/api-git/peta-pico/fpsi-queries/get-superpattern-reviews

I assume you have an nginx proxy somewhere? Perhaps try increasing the client_max_body_size in your nginx.conf

tkuhn commented 3 years ago

No, increasing client_max_body_size doesn't help.

The error message looks like it comes from something called Gunicorn: https://serverfault.com/questions/564464/nginx-request-line-too-large

And grlc is using Gunicorn, it seems? There is a solution in the link above, but I have no idea how I can pass such an argument to the Gunicorn part of grlc...

tkuhn commented 3 years ago

I figured this one out, and it was entirely on my side. I started to get similar messages from other services of my university as well, and it seems one of these applications stored huge cookies, which was then sent to all applications running under vu.nl, and this was starting to hit some limits. Clearing the cookies for vu.nl solved the problem.

Sorry for bothering you with this issue, which wasn't on your side at all.

c-martinez commented 3 years ago

Ah, good to know, thanks @tkuhn! Glad you managed to solve the issue :-)