#metabrainz

/

      • lucifer
        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.
      • 2022-02-17 04802, 2022

      • 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
      • 2022-02-17 04827, 2022

      • monkey
        (I'm talking about the new about page https://test.listenbrainz.org/about/ )
      • 2022-02-17 04835, 2022

      • monkey
        "new"
      • 2022-02-17 04855, 2022

      • akshaaatt
        I'm not sure about duplicating stuff
      • 2022-02-17 04858, 2022

      • lucifer
        the include at top sounds better to me
      • 2022-02-17 04854, 2022

      • monkey
        I guess we can do that conditionally too? Include the content of the index page in about page only if user is logged in?
      • 2022-02-17 04804, 2022

      • monkey
        Maybe I'm overthinking this
      • 2022-02-17 04827, 2022

      • akshaaatt
        Hahaha we are overthinking this tbh but that does sound like a good idea monkey
      • 2022-02-17 04857, 2022

      • lucifer
        i am fine either way on that one.
      • 2022-02-17 04848, 2022

      • texke joined the channel
      • 2022-02-17 04814, 2022

      • mayhem
      • 2022-02-17 04815, 2022

      • BrainzBot
        MBS-12205: Add "play list listenbrainz button" to release, release group and collection pages
      • 2022-02-17 04817, 2022

      • BrainzGit
        [listenbrainz-server] 14akshaaatt merged pull request #1863 (03master…akshat/clean-codebase5): Refactor Codebase Part Five https://github.com/metabrainz/listenbrainz-server…
      • 2022-02-17 04823, 2022

      • mayhem
        if you want to add any more detail to the ticket.
      • 2022-02-17 04828, 2022

      • monkey
        Thank you
      • 2022-02-17 04845, 2022

      • lucifer
        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?
      • 2022-02-17 04838, 2022

      • mayhem assumes that mayhem was meant here
      • 2022-02-17 04803, 2022

      • monkey
        Can't say for sure
      • 2022-02-17 04817, 2022

      • mayhem
      • 2022-02-17 04826, 2022

      • lucifer
        ah no, i actually meant monkey because he had found this issue with feedback endpoint some time ago.
      • 2022-02-17 04856, 2022

      • mayhem
        sounds like a UWSGI issue.
      • 2022-02-17 04800, 2022

      • lucifer
        mayhem, right. that's what i meant any endpoint that could cause so much large url.
      • 2022-02-17 04823, 2022

      • mayhem
        the instant playlists could.
      • 2022-02-17 04826, 2022

      • monkey
        Ah, thanks for context. Well it could be that someone is requesting feeback for too many listens at a time?
      • 2022-02-17 04849, 2022

      • lucifer
        we recently doubled the buffer size from 4096 to 8192 to accomodate upto 100 mbids in feedback endpoint.
      • 2022-02-17 04822, 2022

      • mayhem
        37 characters per recording mbid. Sending about 220 tracks could trigger this.
      • 2022-02-17 04824, 2022

      • lucifer
        oh, i was under the impression that we also added chunking in requesting feedback.
      • 2022-02-17 04849, 2022

      • lucifer
        *chunking on api calls from frontend.
      • 2022-02-17 04816, 2022

      • monkey
        I doubt it's from the front-end, we don't show that many listens on any page afaik
      • 2022-02-17 04826, 2022

      • lucifer
        i see.
      • 2022-02-17 04839, 2022

      • mayhem
        it could be the data set hoster.
      • 2022-02-17 04845, 2022

      • monkey
        Although… let me look at code real quick
      • 2022-02-17 04846, 2022

      • mayhem
        let me see if I can reproduce
      • 2022-02-17 04859, 2022

      • lucifer
        let me look in nginx logs then. since these requests never reach flask, sentry won't be helpful.
      • 2022-02-17 04829, 2022

      • 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.
      • 2022-02-17 04805, 2022

      • monkey
        I think that's wise akshaaatt, some of the issues we're trying to fix will be gone after redesigning
      • 2022-02-17 04811, 2022

      • akshaaatt
        Yuss
      • 2022-02-17 04835, 2022

      • akshaaatt
        Also, I tried working on bumping bootstrap but it's gonna be a huge PR the way I'm thinking
      • 2022-02-17 04850, 2022

      • akshaaatt
        How do you suggest we minimize the work?
      • 2022-02-17 04802, 2022

      • monkey
        What makes it huge?
      • 2022-02-17 04810, 2022

      • monkey
        (and how huge?)
      • 2022-02-17 04823, 2022

      • monkey
        We may not be able to break that one down
      • 2022-02-17 04852, 2022

      • akshaaatt
        Introducing design system and then potentially fixing the entire front end because of the changes made to the latest versions
      • 2022-02-17 04854, 2022

      • monkey
        Actually we could, making PRs to be merged in a separate branch
      • 2022-02-17 04826, 2022

      • monkey
        Right, we have stuff like `className="col-md-8"` everywhere, don't we.
      • 2022-02-17 04847, 2022

      • akshaaatt
        Yeaahh
      • 2022-02-17 04855, 2022

      • akshaaatt
      • 2022-02-17 04809, 2022

      • akshaaatt
        This just replaces stuff but breaks down the entire frontend
      • 2022-02-17 04835, 2022

      • akshaaatt
        I can't think of merging this anywhere. The only thing comes to my mind is fixing everything and then merging
      • 2022-02-17 04856, 2022

      • akshaaatt
        But then the PR would get chunky
      • 2022-02-17 04810, 2022

      • 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
      • 2022-02-17 04844, 2022

      • akshaaatt
        That sounds doable but we would have to focus on getting this done soon
      • 2022-02-17 04850, 2022

      • monkey
        So for example merge this initial PR into a new branch, then open PRs for each page
      • 2022-02-17 04854, 2022

      • akshaaatt
        Because the longer it takes, the messier it will be
      • 2022-02-17 04858, 2022

      • monkey
        Yep
      • 2022-02-17 04820, 2022

      • akshaaatt
        Okay then, I can plan on focusing on this
      • 2022-02-17 04843, 2022

      • monkey
        I wonder if it's worth moving to using react-bootstrap if we're in there reworking the layout
      • 2022-02-17 04829, 2022

      • akshaaatt
        I could go with it but in MusicBrainz we have decided to go ahead with normal bootstrap
      • 2022-02-17 04839, 2022

      • akshaaatt
        So it could spin my mind a little
      • 2022-02-17 04842, 2022

      • mayhem
        lucifer: did you get the error again just now?
      • 2022-02-17 04844, 2022

      • mayhem
        twice?
      • 2022-02-17 04848, 2022

      • 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
      • 2022-02-17 04814, 2022

      • lucifer
      • 2022-02-17 04818, 2022

      • akshaaatt
        Alright monkey
      • 2022-02-17 04820, 2022

      • lucifer
        mayhem: yup.
      • 2022-02-17 04824, 2022

      • monkey
        Ah, let's not complicate it then, if we are moved to BS5 we'll be able to easily move to react-bs if we decide to
      • 2022-02-17 04840, 2022

      • lucifer
        but the size is half than previous errors.
      • 2022-02-17 04840, 2022

      • mayhem
        ok, I'll limit my calls to that endpoint to 100 recordings.
      • 2022-02-17 04852, 2022

      • mayhem
        lucifer: yeah, to be expected. that was the dataset hoster.
      • 2022-02-17 04802, 2022

      • lucifer
        👍
      • 2022-02-17 04846, 2022

      • lucifer
        mayhem: got that error thrice again? again dataset hoster?
      • 2022-02-17 04803, 2022

      • mayhem
        possible.
      • 2022-02-17 04811, 2022

      • mayhem
        I just sent it three more times just for good measure. :)
      • 2022-02-17 04818, 2022

      • mayhem
        let me push the fix and then it should STFU
      • 2022-02-17 04815, 2022

      • lucifer
        makes sense, thanks!
      • 2022-02-17 04845, 2022

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo closed pull request #545 (03master…dev): Initial commit for ravamping footer https://github.com/metabrainz/bookbrainz-site/pul…
      • 2022-02-17 04855, 2022

      • BrainzGit
        [listenbrainz-server] 14mayhem opened pull request #1866 (03master…playlisty-endpoints-docfix): Add note about max number of recording_mbids https://github.com/metabrainz/listenbrainz-server…
      • 2022-02-17 04803, 2022

      • BrainzGit
        [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/pul…
      • 2022-02-17 04817, 2022

      • lucifer
        tandy1000: validate-token fix released.
      • 2022-02-17 04809, 2022

      • mayhem
        huh. a URL length of 3749 still gives a 502. :(
      • 2022-02-17 04848, 2022

      • mayhem
        does the error say anything different now, lucifer ?
      • 2022-02-17 04831, 2022

      • lucifer
        mayhem: invalid request block size: 8633 (max 8192)...skip . i still see this in error logs.
      • 2022-02-17 04855, 2022

      • mayhem
        which logs are you tailing?
      • 2022-02-17 04822, 2022

      • lucifer
        listenbrainz-web-prod
      • 2022-02-17 04839, 2022

      • mayhem
        huh, so the request does hit the back end.
      • 2022-02-17 04852, 2022

      • lucifer
        it reaches till uwsgi, which errors and does not forward to flask.
      • 2022-02-17 04804, 2022

      • lucifer
      • 2022-02-17 04835, 2022

      • mayhem
        make sense. what doesn't make sense is why a URL that is 3749 still trips this.
      • 2022-02-17 04836, 2022

      • lucifer
        unrealted, but do we know which users these are ?
      • 2022-02-17 04818, 2022

      • lucifer
        dns_server is some part of our monitoring system iirc. but the other two are requesting the same thing very frequently.
      • 2022-02-17 04807, 2022

      • mayhem
      • 2022-02-17 04810, 2022

      • mayhem
        not monitoring
      • 2022-02-17 04813, 2022

      • lucifer
        mayhem, uwsgi buffer includes url, cookie, headers etc. everything except request body. could any of those be present there?
      • 2022-02-17 04821, 2022

      • lucifer
        oh
      • 2022-02-17 04850, 2022

      • mayhem
        I guess the browser add a bunch of stuff.
      • 2022-02-17 04812, 2022

      • monkey
        lol @ username dns_server
      • 2022-02-17 04842, 2022

      • lucifer
        doubling it is unexpected but not impossible. can you try with a few less mbids and see if that succeeds ?
      • 2022-02-17 04849, 2022

      • alastairp
        sorry, was in some meetings. I just saw that I was mentioned. reading backlog now
      • 2022-02-17 04822, 2022

      • alastairp
        uh oh. bulk lookup url formats :(
      • 2022-02-17 04840, 2022

      • mayhem
        50 seems to work. I'll go for that.
      • 2022-02-17 04846, 2022

      • mayhem
        nice to have eagle eyed lucifer on the team. <3
      • 2022-02-17 04852, 2022

      • lucifer
        hehe :)
      • 2022-02-17 04850, 2022

      • lucifer
      • 2022-02-17 04822, 2022

      • lucifer
        i also found the entry in the nginx logs. its from bono so that confirms again it was dataset hoster :D
      • 2022-02-17 04850, 2022

      • mayhem
        general rule: if it could be my fault, it was my fault.
      • 2022-02-17 04837, 2022

      • lucifer
        lolol. but i guess we could apply that to all of us.
      • 2022-02-17 04853, 2022

      • mayhem
      • 2022-02-17 04857, 2022

      • mayhem
        should be good to go now.
      • 2022-02-17 04820, 2022

      • mayhem
        thx
      • 2022-02-17 04827, 2022

      • BrainzGit
        [data-set-hoster] 14mayhem merged pull request #4 (03master…add-playlist-support): Add playlist support https://github.com/metabrainz/data-set-hoster/pul…
      • 2022-02-17 04813, 2022

      • Shubh has quit
      • 2022-02-17 04826, 2022

      • lucifer
        monkey, akshaaatt: the prod image build has broken down. https://github.com/metabrainz/listenbrainz-server…
      • 2022-02-17 04805, 2022

      • monkey
        Funtime
      • 2022-02-17 04816, 2022

      • lucifer
        it seems something went wrong during merging #1863
      • 2022-02-17 04841, 2022

      • monkey
        That's all on the player page, let me fix it
      • 2022-02-17 04843, 2022

      • BrainzGit
        [listenbrainz-server] 14mayhem merged pull request #1866 (03master…playlisty-endpoints-docfix): Add note about max number of recording_mbids https://github.com/metabrainz/listenbrainz-server…
      • 2022-02-17 04834, 2022

      • akshaaatt
        Lol I'll fix that lucifer
      • 2022-02-17 04842, 2022

      • akshaaatt
        Or monkey are you on it already?
      • 2022-02-17 04846, 2022

      • monkey
        On it
      • 2022-02-17 04849, 2022

      • akshaaatt
        Thanks
      • 2022-02-17 04825, 2022

      • monkey
        Issue is we merged a PR with a new react page, and then merged another PR that moves some things. The second PR was not aware of the new react file
      • 2022-02-17 04851, 2022

      • lucifer
        oh makes sense.
      • 2022-02-17 04836, 2022

      • akshaaatt
        Yuss
      • 2022-02-17 04818, 2022

      • lucifer
      • 2022-02-17 04838, 2022

      • monkey
        Pushed the fixed paths to master
      • 2022-02-17 04804, 2022

      • lucifer
        mayhem, monkey, akshaaatt: in case you find it useful and didn't know about it yet, the github UI has now added a option to update the branch.
      • 2022-02-17 04828, 2022

      • monkey
        Yeah, I was aware of it but still haven't tried it
      • 2022-02-17 04831, 2022

      • mayhem
        nice
      • 2022-02-17 04856, 2022

      • akshaaatt
        Yuss saw that
      • 2022-02-17 04845, 2022

      • BrainzGit
        [musicbrainz-server] 14mwiencek merged pull request #2416 (03master…cdtoc-type-fixes): cdtocs type fixes https://github.com/metabrainz/musicbrainz-server/…
      • 2022-02-17 04826, 2022

      • BrainzGit
        [musicbrainz-server] 14mwiencek merged pull request #2409 (03master…flow-0.171.0): Upgrade to Flow 0.171.0 https://github.com/metabrainz/musicbrainz-server/…
      • 2022-02-17 04854, 2022

      • CatQuest
        https://usercontent.irccloud-cdn.com/file/DQmijmK… wow that's awsome. this needs to be wider known
      • 2022-02-17 04848, 2022

      • CatQuest
        [12:43] <mayhem> reosarevok: the idea is that it will fall back to youtube if spotify isn't available.
      • 2022-02-17 04849, 2022

      • CatQuest
        ftr I tried this userscript for monkey some time earlier this week, and it worked fine in waterfox classic (with youtube and everything)
      • 2022-02-17 04833, 2022

      • CatQuest
        btw i like the button where it is (above art)
      • 2022-02-17 04830, 2022

      • CatQuest wants a taroyaki-pan ^^
      • 2022-02-17 04834, 2022

      • CatQuest
        .. or wait maybe it was vivaldi... hmm
      • 2022-02-17 04822, 2022

      • CatQuest
      • 2022-02-17 04817, 2022

      • CatQuest
        I do get
      • 2022-02-17 04817, 2022

      • CatQuest
        Could not save this listen
      • 2022-02-17 04817, 2022

      • CatQuest
        Bad Request
      • 2022-02-17 04817, 2022

      • CatQuest
        error tho
      • 2022-02-17 04851, 2022

      • CatQuest
        ...
      • 2022-02-17 04818, 2022

      • BrainzGit
        [listenbrainz-server] 14akshaaatt opened pull request #1867 (03master…akshat/clean-codebase6): Final Refactoring of the Frontend Codebase https://github.com/metabrainz/listenbrainz-server…
      • 2022-02-17 04830, 2022

      • CatQuest
        I like how there is like several of these where there is aa clip of a cat making sound https://www.youtube.com/watch?v=6cFo0XDuLiI
      • 2022-02-17 04830, 2022

      • CatQuest
        like catbased music
      • 2022-02-17 04800, 2022

      • CatQuest
        people making music ontop of it
      • 2022-02-17 04835, 2022

      • CatQuest
        ha
      • 2022-02-17 04841, 2022

      • CatQuest
        "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