[MATCH HISTORY] I18n.js truncated when requested by certain IPs?
I suspect this is a CloudFlare and/or CDN-related problem, but I'll let the Riot engineers figure out the root cuase. I'll describe the symptom:
When trying to view Match History -- any match, not any particular match -- the match history will fail to load, and in the JS console, the following errors are logged:
Uncaught SyntaxError: Unexpected token ILLEGAL I18n.js:7 Uncaught TypeError: Cannot read property 'trans' of undefined codex.js:1
When fetching I18n.js from one IP (I'm not going to post it publically, but Riot can contact me directly and I'll provide them), the response is truncated, with the last few bytes ending as:
"grid_section_damage_taken":"Damage Taken & Healed","breakdown_hea
It ends abruptly at that "breakdown_hea" ... and that's EOF.
The MD5 checksum of the truncated response I get is 1e5f239fbe526070d24cd16ad4e56b0a.
I thought it was just the file being broken on Riot's servers, but then everyone would be complaining that they can't get a Match History to load and it would get fixed real quickly, but this has been broken for me for days (maybe a week or more) now. So, I decided to troubleshoot a little, and use another IP address to request the same URL, and I get a different response -- one that looks like a complete JS file, not abruptly ended mid-string.
The MD5 checksum I get when requesting I18n.js from this other IP is cb9adb3d9c0271680617e1dfa271183c.
When I make the request and get this other I18n.js file, the match history loads just fine.
I'm wondering if there's some kind of GSLB or CDN in place that's got a bad version of this file in its cache, and I'm one of the unlucky ones getting my requests routed to it ...
If anyone wants/needs more details in order to troubleshoot and fix this, just let me know. I'd be glad to help.