thoughts on how that should be done? 1) redirect -> about if not logged in else user page 2) render about page without changing url but redirect for user page.
monkey
We could keep the index page as is, visible to users not logged in, and duplicate or include the contents of the index page at the top of the about page
monkey: i just saw multiple `invalid request block size: 18387 (max 8192)...skip` in web prod logs. any endpoint comes to mind that could cause this issue?
ah no, i actually meant monkey because he had found this issue with feedback endpoint some time ago.
mayhem
sounds like a UWSGI issue.
lucifer
mayhem, right. that's what i meant any endpoint that could cause so much large url.
mayhem
the instant playlists could.
monkey
Ah, thanks for context. Well it could be that someone is requesting feeback for too many listens at a time?
lucifer
we recently doubled the buffer size from 4096 to 8192 to accomodate upto 100 mbids in feedback endpoint.
mayhem
37 characters per recording mbid. Sending about 220 tracks could trigger this.
lucifer
oh, i was under the impression that we also added chunking in requesting feedback.
*chunking on api calls from frontend.
monkey
I doubt it's from the front-end, we don't show that many listens on any page afaik
lucifer
i see.
mayhem
it could be the data set hoster.
monkey
Although… let me look at code real quick
mayhem
let me see if I can reproduce
lucifer
let me look in nginx logs then. since these requests never reach flask, sentry won't be helpful.
akshaaatt
monkey, I'm thinking of pausing any UI changes in LB to be carried out until we have introduced the sidebar because that could double our work and isn't worth it at the moment.
monkey
I think that's wise akshaaatt, some of the issues we're trying to fix will be gone after redesigning
akshaaatt
Yuss
Also, I tried working on bumping bootstrap but it's gonna be a huge PR the way I'm thinking
How do you suggest we minimize the work?
monkey
What makes it huge?
(and how huge?)
We may not be able to break that one down
akshaaatt
Introducing design system and then potentially fixing the entire front end because of the changes made to the latest versions
monkey
Actually we could, making PRs to be merged in a separate branch
Right, we have stuff like `className="col-md-8"` everywhere, don't we.
This just replaces stuff but breaks down the entire frontend
I can't think of merging this anywhere. The only thing comes to my mind is fixing everything and then merging
But then the PR would get chunky
monkey
I think if we want to make separate PRs, (which will be easier to review) we're going to have to break everything and go page by page (for example) while the rest of the website is broken. Hence a separate branch
akshaaatt
That sounds doable but we would have to focus on getting this done soon
monkey
So for example merge this initial PR into a new branch, then open PRs for each page
akshaaatt
Because the longer it takes, the messier it will be
monkey
Yep
akshaaatt
Okay then, I can plan on focusing on this
monkey
I wonder if it's worth moving to using react-bootstrap if we're in there reworking the layout
akshaaatt
I could go with it but in MusicBrainz we have decided to go ahead with normal bootstrap
So it could spin my mind a little
mayhem
lucifer: did you get the error again just now?
twice?
monkey
Looking at our react pages, it shouldn't be that much work so maybe we can do initial PR and then a PR for all the front-end pages
[bookbrainz-site] 14MonkeyDo closed pull request #597 (03master…trishna): Improve[UI]: Responsive footer, overlapping of footer and div in contribute page and buttons spacing on collection page for better UI https://github.com/metabrainz/bookbrainz-site/p...
lucifer
tandy1000: validate-token fix released.
mayhem
huh. a URL length of 3749 still gives a 502. :(
does the error say anything different now, lucifer ?
lucifer
mayhem: invalid request block size: 8633 (max 8192)...skip . i still see this in error logs.
mayhem
which logs are you tailing?
lucifer
listenbrainz-web-prod
mayhem
huh, so the request does hit the back end.
lucifer
it reaches till uwsgi, which errors and does not forward to flask.
"This is my absolute favorite thing about humanity, the fact that ten thousand years of history and innovation all led up to a dozen-odd people who have never met coming to make an absolutely fantastic song together over the sound of a strangely rhythmic cat meowing, all put together by yet another person that none of us have met, purely for the enjoyment of the few thousand people that happen to find it