[Bug Report] Not all Archives are Listed

Sort:
walidmujahid

Not all available archives are listed for @tombulous. It would seem the archives stops on December 2010

https://api.chess.com/pub/player/tombulous/games/archives

skelos

I think that's been seen and reported before, it not yet fixed. If you try to fetch archives forward of that date they should exist where games were played.

I queried whether the list of archives was therefore worth maintaining, of if we should just probe from the date of joining forward or current date backward.

I imagine the list of archives will remain:

a) less redesign to fix it

b) faster to access existing archives than to ask for ones that don't exist.

I assume it's the SSL negotiation at the start of each endpoint access, but try a few thousand in a row each triggering a second access and ... wait.

(Today I fetched all account names for players listing "Australia" (AU) as their country, and then from their profile their location. Some of our state-based teams want to find out who they're missing.

The item I overlooked was that of the 4000+ who gave location information, it's entirely unstructured and I'm having to search the web manually to find out which state some of the locations are in. Others of course are nonsense and I ignore those.)

walidmujahid
skelos wrote:

I queried whether the list of archives was therefore worth maintaining, of if we should just probe from the date of joining forward or current date backward.

I imagine the list of archives will remain:

a) less redesign to fix it

b) faster to access existing archives than to ask for ones that don't exist.

 

Yes, they are very worth for all for both mentioned reasons. 

skelos

Well, item #2 is valid, I guess. I dislike redundant data if there is any chance that it can be wrong, and two people have found this bug.

I wouldn't mind investigating how to issue multiple requests via the one connection, if it is the SSL handshake that takes up a substantial proportion of the time.

Not that I am going to get fast access:

a) I'm in Australia, and light speed across the Pacific and back costs

b) My ISP has been taken over by Australia's equal second worst (there is no "best"; they're all second worst except for the actual worst), and the performance post-takeover has been ... erratic at best.

andreamorandini

@walidmujahid thanks for your report. There seems to be a problem with live games archives listing, we will post a fix soon!

andreamorandini

Dear @walidmujahid the problem has been fixed, you can test https://api.chess.com/pub/player/tombulous/games/archives . Please note that if you test with other player’s archives that you already requested in the past 24h, you will have to wait the cache to invalidate.

skelos

Looks fixed to me; at least the user I tried for yesterday who produced no archives produced several right now, and the months where there is no archive probing for the month finds nothing for that month.