Hacker News new | ask | show | jobs
by helb 1154 days 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
1 comments

Unfortunately 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.

It's back now… I'll keep an eye on it.
Getting {"error":"Missing generation data"} now
Yeah, 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.
No trouble and thanks for the prompt to go have a look at it again, really cool site!
Thanks!
The 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.