414 Request-URI Too Large nginx
-
I'm getting 414 errors when shortening very long URLs (in my case about 7000 characters) via API POST requests.
Not sure if this has to do with Cloudron's package, or Cloudron's n8n package making the request, or an upstream issue. Made an issue on their GitHub as well with more details https://github.com/YOURLS/YOURLS/issues/4061
Also, I noticed that YOURLS is not in the forum list of app subtopics on the front page.

-
Seems like a maintainer says it's not an upstream issue:
This seems well outside of YOURLS and its stack. You're getting an nginx error message, but Cloudron builds its YOURLS container using Apache.
Do you have an nginx reverse proxy in front of your Cloudron apps? That would be where to start.
Maybe it's an nginx issue?
-
Could be. Cloudron uses the default URL size - https://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers
If you want to experiment, edit the file in /etc/nginx/applications/*conf and then systemctl restart nginx .
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login