4 ms·
I'm afraid we killed it… I see just a gray base map and the browser is getting a "504 Gateway timeout" from the API: This Serverless Function has timed out
by helb 3y ago
I'm afraid we killed it… I see just a gray base map and the browser is getting a "504 Gateway timeout" from the API:
This Serverless Function has timed out.
Your connection is working correctly.
Vercel is working correctly.
504: GATEWAY_TIMEOUT
Code: FUNCTION_INVOCATION_TIMEOUT
- robhawkes 3y agoUnfortunately yes. I'm working on a fix but it looks like the API I use for the generation data wasn't able to handle the influx of visitors. Not much I can do right now but I did upgrade my Vercel account to get a longer timeout at least. Hoping it'll be resolved soon.
- robhawkes 3y agoIt's back now… I'll keep an eye on it.
- helb 3y agoThanks!
- robhawkes 3y agoThe Elexon API is down again unfortunately. Lesson learnt that I should be storing this data myself in future to avoid it taking down the entire map.
- wjdp 3y agoGetting {"error":"Missing generation data"} now
- robhawkes 3y agoYeah, sorry about that! Turns out the Elexon API I use for the generation data doesn't like being on the HN front page. Lesson learnt that I should add a proxy store between their API and the map.
- wjdp 3y agoNo trouble and thanks for the prompt to go have a look at it again, really cool site!