[Bug] 414 URI Too Long when trying to move onto the next page
Describe the bug every time I click on the next page to view another page of the channels uploaded videos. I get an error message saying “414 URI Too Long”
Steps to Reproduce Steps to reproduce the behavior:
- Go to 'any channel page'
- Click on 'next page'
- See error
Logs
Screenshots
Additional context It appears to be happening on mostly a lot of channels. Some examples are. https://inv.nadeko.net/channel/UCRALQjHLdVP0b6t1DpOjPaw https://inv.nadeko.net/channel/UCM0iFLkCW2kJMB059NSNl_g https://inv.nadeko.net/channel/UC_-3EkzgyFWCJ9ZdNdttfdA https://inv.nadeko.net/channel/UCaXXA60yZcH5j7Pi7A7YnBA https://inv.nadeko.net/channel/UC5PtMWK1Eqhkipz2op2X87w https://inv.nadeko.net/channel/UCiHUJ_eylwwIAHuHx_cqXUg
Seeing this as well on 2025.10.16-5cfe294 @ master, I'm putting the URI into pastebin because it is massive: {EDIT: was apparently deleted, but running wc --chars on the URI revealed it is a whopping 8751 characters long}
Here's the channel I reproduced this on: /channel/UC8THb_fnOptyVgpi3xuCd-A?sort_by=popular
In particular, seems like something weird might be going on with the continuation parameter, as it seems wayyyy too long to be normal.
EDIT: seems like https://github.com/iv-org/invidious/pull/5394 may be able to mitigate this, have not tested it yet tho
It's actually really bad. This video is just me scrolling to the end of the URL.
https://github.com/user-attachments/assets/7a9efced-54ff-4f33-995c-e9ad0618fda9
it's now fixed
doesn't seem like it yet, still experiencing it on the same channel i repro'd it on; also master hasn't been updated in two weeks nor has the PR allowing for larger request line sizes been merged yet. only thing that could've changed is youtube actually fixing it, yet it still remains broken
For NGINX users, https://github.com/iv-org/invidious/pull/5394 requires large_client_header_buffers to be set to large_client_header_buffers 4 16k; to allow NGINX process large URLs. This also needs a modification on https://github.com/iv-org/documentation/blob/4902ecd0b0a46b8705051a1ae0eaadda3015cadb/docs/nginx.md
In the other hand, I'll take https://github.com/iv-org/invidious/pull/5394 and do a new PR because the original author deleted the branch.
Reopening for documentation modifications.
I feel like just saying "yeah we accept big URLs now" is a band-aid fix and doesn't actually solve the issue. Why is the URL big in the first place? It didn't use to be.