Could you please copy one of the 401 requests and send it to me? Right-click on the request in the network panel > "copy all as HAR". You probably want to send that in private, there's cookies and such…
lucifer
it went away when i refreshed earlier but i'll do that as soon as it happens again.
*the logs went away when i refreshed the page earlier
monkey: it happened again. but songs are playing fine for the time being.
monkey: the HAR file is 115 MB :)
uh chrome has option to copy 1 request as HAR but not firefox. its only copy all. for single request, there is option to copy as fetch or curl. does any of those help?
ok that glitch just happened on the 2nd song after token expire.
i have saved the file as HAR and can try to share someother way if it helps.
*saved all requests as HAR file
monkey
Ooof, not all of them no, that's impractical :p
lucifer
yeah but FF doesn't have the option to save 1 as HAR. chromium does.
monkey
Other plan: can you figure out why the requests failed?
lucifer
yup trying to do that currently.
weird thing is i don't see any request to LB to refresh token in logs
but those spotify 401s resolved automatically after moving to the next song.
yeah i checked multiple times no results turn up for profile or refresh in reuqest urls.
g30rg33 has quit
monkey
Just saw a 401 myself, and I do see a request to get a new token, but to the Spotify API. Looks like the JS player does it by itself.
And then right after that the spotify JS player does an API call with that new token, and that returns a 401 "The access token expired"
Somehow the token I get back from LB doesn't seem valid
lucifer
i see.
let it play, i think it'll become valid by itself in a few mins.
oh can you check if the request after Lb api is using corect token?
that it is using the newly returned token and not the old one.
monkey
I was checking that. It looks like the player is now using a new token that it refreshed by itself, and not the refreshed one I got back from LB API
No, totally wrong. Damn these are hard to read…
lucifer
oh what is it?
monkey
As far as I can tell, the token refresh works as expected.
There is one DELETE request made right after the token refresh by the spotify player. It calls https://api.spotify.com/v1/track-playback/v1/de... with the OLD token instead of the renewed one. Then the spot. player gets the new token from BP, checks its scope against the API, and performs the same DELETE request with the new token.
Then the API search is triggered again with the refreshed token and all goes well from there onwards.
In short, token refresh seemed to work fine on my side this time
Will keep an eye on it
lucifer
did you get the glitch where it skips a song?
monkey
No
The fallback mechanism worked as expected: the spot. player re-connected and hit the search API again with the same params (so trying to play the same track)
g30rg33 joined the channel
Etua joined the channel
lucifer
oh ok, i guess it was a coincidence that it occured simultaneously for me.
oh wow. i am beginning to this they intend to cheat by * 1000 way.
g30rg33 has quit
monkey
That's how I would monkey patch it…
yvanzo
Updating Jira server in 15 minutes, tickets will be unavailable for a longer period.
reosarevok
lucifer: this seems amazingly bad :D
lucifer
indeed!
4 months and counting!
cuanim joined the channel
cuanim has quit
i asked them to redo it. lets see how they mess it up this time.
bitmap
zas: yvanzo: I'm around now, want me to proceed with moving the meb/cron containers from hip? or yvanzo if you were planning to do that after jira feel free :)
yvanzo
hi bitmap: still on jira update, won't be available after that
bitmap
ok, I'll start it now then
if I run into any issues I'll update the commands in the PR
CatQuest
lucifer: this is really ridiculous
:D
lucifer
yup indeed
CatQuest
honestly you sohuld be saving all these and thn eventually make a blogpost
mayhem
I think we should post this a a blog post as a "how not to GDPR"/
lol
lucifer
lol
CatQuest, yes i have all the emails. :)
CatQuest
call it, "GDPR adventures with spotify"
:D
mayhem
lucifer: you should do it.
heck, if you want, I'll write it. :)
lucifer
heh sure
CatQuest
I'm happy to betaread such
lucifer
let's get to the end of this adventure first and then write the blogpost
CatQuest
indeed
mayhem
right ok, I can wait a couple of years.
CatQuest
hahaha
CatQuest was jsut aobut to say something like this
lucifer
lolol
mayhem
fired for outsourcing their accounting to a foreign country.
who doesn't give a fuck about anyone's financial security.
lucifer
how do they even operate?
mayhem
CatQuest: you're not going to be believe this: "its an anti fraud measure".
lucifer
MeB is probably a tiny vendor compared to everything else they'd work with.
in any case I will fight tooth and nail like everyone in this room for meeb and that it does remain true to its roots
lucifer
lol training this took 5 mins but generating recs is taking 20 mins.
CatQuest
lucifer: sounds like AI
lucifer
hehe lol
Etua has quit
mayhem
CatQuest: we're not going to change our core values. not while I am around.
CatQuest
!m mayhem
BrainzBot
You're doing good work, mayhem!
CatQuest
💪 me either!
lucifer
:D
the time to generate recs seems to have increased at some high polynomial power with increase in top and similar artist number.
mayhem
in fact, Cory, after the last board meeting, said "You know Rob, while you've had a couple of minor wobbles, you've stayed the course for the last 18 years. And we've never sold our suicide prevention hotline to a machine learning company, so that's good!"
*hotline call logs
lucifer
lol noice
CatQuest
that's.. an oddly spesific denial, but
Cory doctorow is cool
(sorry if i misspelled that)
reosarevok
CatQuest: apparently, that's a thing that did happen
Well, not the hotline, the hotline *data*
Which is worse :p
CatQuest
jesus
horrible
atj
mayhem: have you met Jaron Lanier?
lol
lucifer
first set of recs in generating playlist
mayhem
I got mine
is this with 50 top artists?
lucifer
yeah but url is not working. looking into it.
yes
mayhem
it still isn't more diverse
what gets me about him is that I hate paypal and generally don't think much of tesla and don't get me started about the boring company.
but spaceX? fuuuuuck, that is just really impressive
lucifer
oh the paypal mafia.
all of those execs from early paypal outdo each other in being the worst possible person 😞
mayhem
liberapay doesn't take a cut and we can receive recurring donations in any currency we want.
reosarevok
I mean, it's not like *he* puts together the rockets
mayhem
reosarevok: no, but when the russians told him to fuck off about selling him rocket motors, he did it on his own. and this is literally rocket science
looks like the wrong field is being used in troi. shall I fix?
lucifer
sure thanks
my top artist playlist is mostly spotify daily mix 1!
mayhem
my top artist is overwhelmingly by 3 artists
lucifer
which is basically 35-40 tracks i have already listened in the past frequently and 10 similar tracks.
i can see about 10-15 artists in mine.
but yes 2-3 are more frequent
mayhem
I wasn't so sure about having played all of those tracks, but that should ideally not happen.
perhaps that is one critical task for candidate sets. do not include tracks that that user played in the last month or so