osu-api icon indicating copy to clipboard operation
osu-api copied to clipboard

get_user_recent Loop

Open Fabricio20 opened this issue 9 years ago • 5 comments

Seems like once in a while, the get_user_recent endpoint will start to return, always, the same stuff (even if I go and test inside the game by completing a song or dying).

Below is my duplicate check system being triggered on all received data, and it never changes, just the order sometimes.

Currently it's been about 12 hours doing this to half of the players I'm monitoring.

Present: {"date":"2016-05-27 07:51:28","maxcombo":"194","perfect":"0","enabled_mods":"0","count100":"96","score":"1452200","countgeki":"35","user_id":"6174118","count300":"311","countmiss":"6","beatmap_id":"728770","rank":"C","countkatu":"43","count50":"6"}
Present: {"date":"2016-05-27 07:55:41","maxcombo":"261","perfect":"0","enabled_mods":"0","count100":"77","score":"2060230","countgeki":"94","user_id":"6174118","count300":"533","countmiss":"13","beatmap_id":"114716","rank":"B","countkatu":"35","count50":"9"}
Present: {"date":"2016-05-27 08:05:20","maxcombo":"472","perfect":"0","enabled_mods":"0","count100":"81","score":"6798374","countgeki":"93","user_id":"6174118","count300":"683","countmiss":"1","beatmap_id":"819546","rank":"B","countkatu":"39","count50":"9"}
Present: {"date":"2016-05-27 10:36:23","maxcombo":"30","perfect":"0","enabled_mods":"0","count100":"6","score":"20636","countgeki":"6","user_id":"6174118","count300":"23","countmiss":"8","beatmap_id":"819260","rank":"F","countkatu":"2","count50":"0"}

Fabricio20 avatar May 27 '16 13:05 Fabricio20

Now that I think about it, it's really, really hard to reproduce, meaning there isn't really a way to test. Closing since there is no way of testing, it will at least show if someone else searches about it.

Fabricio20 avatar May 27 '16 13:05 Fabricio20

"really, really hard to reproduce" is imo not a reason to close a issue, if it is a real issue, which ofc i dont know....

omkelderman avatar May 27 '16 13:05 omkelderman

This is basically what I'm talking about, it's so random and hard to reproduce that you can't even tell if it's a real issue. I also never heard of anyone that had this error, if they did, they never told people out.

I can tell that it is happening because I have extensive debug features enabled on my code, and it's not an issue that would break a function or anything, it's just repetitive data.

Fabricio20 avatar May 27 '16 13:05 Fabricio20

Reopened, has to be an api issue. Tested everything that could relate to cache, seems like osu isn't sending updates more often now.

http://hastebin.com/hazosexoto.coffee

Debug output above, compared by dates and the other time by score.

This runs every 1 minute, and between that time, I opened up a ranked map, died, and allowed osu to upload the score. What I feel that is happening is that every hour or so the output of this endpoint is updated.

By the time I'm writing this the debug is running and will keep running for three more hours, if different data is shown, I'll come here and add the time it was received, if not, I'll restart the app to see if there is any different data. For now, I'll be playing (also added monitor to Rafis and alerok_147).

Fabricio20 avatar May 30 '16 20:05 Fabricio20

Update received. Time -> 5:32 PM @ BRT

About 6 minutes of delay, during this time I was disconnected from the internet.

Fabricio20 avatar May 30 '16 20:05 Fabricio20