Mod edit:
@MattL91 Is this something you can help with?
Hello, I'm pudds, frequent user of the CFL API.
I have already sent a couple of emails to tech@cfl.ca but haven't received a response, so I'm hoping there is an admin or moderator here who can relay the message.
Since mid-February, I have been unable to get reliable results for certain requests, receiving 504 Gateway Timeouts from Cloudfront instead.
This appears to be a caching issue - some requests respond quickly, but those that fail, take around 90 seconds before the timeout limit is reached. If I try the same request several times, sometimes I can get it to go through, and if that happens, subsequent requests to the same URL are quick again (likely because they were successfully cached). This seems to mostly affect requests which contain filter criteria.
The API status dashboard shows no issues, but as this is a caching issue, I suspect that it may be a false negative - if those API requests are made regularly for monitoring purposes, they may be hitting the cache and masking the underlying issue.
Here are some API urls which are failing for me, and the cache request ID to accompany them (my key removed from the URL):
/v1/games/2021?key=mykey&filter[week][eq]=1 (request ID: 2MMAfGlKLCSq-4Pe5ojAm8b1iuNoHzDZKNodIpAW0FtuKK5hhl0pxg==)
/v1/games/2022?key=mykey&filter[week][eq]=1 (request ID: mhY_II1ufBAdWlISBjLTgZAik4D6szXf7Aritl7_-yEyIt-1rO1R_g==)
This request worked, but was very slow (1 minute, 21 seconds.)
/v1/games/2021?key=mykey&filter[week][eq]=2
Here is a screenshot of one of the error responses:
I'm really hoping the message can get passed along - I run a free fantasy football website (110yards.ca) and was making some changes in the offseason. The API being down for several weeks has made it impossible to continue development.
Thanks,
pudds