HTTP 502 Bad Gateway Error

已查看 83 次
跳至第一个未读帖子

Will T

未读,
2022年7月18日 07:43:092022/7/18
收件人 A gathering place for the Open Rail Data community
Good morning,

I am currently enjoying my first foray into extracting data from the HSP data feed, and will admit that I am relatively inexperienced in this arena! However, I am having a repeated and frequent issue with the above 'HTTP 502 Bad Gateway' error.

This error occurs after making a serviceMetrics call, but does not seem to occur equally or universally across all the pairs of stations I have thus far requested data for. In fact, from what I can tell, the error seems to be somewhat arbitrary. For example, I have one particular pair of stations that avoids the gateway error far more than any other. Requesting for a year's worth of journeys between these two seems to be more reliable than requesting for a day's worth of data for another pair.

Some preliminary googling I've done of this error seems to suggest this is a server-side issue, but I struggle to understand how this would result in some requests working and others not. As much as I've tried, I simply can't figure out a pattern or common cause to these errors!

I am writing my code in R and using a MacBook if this is of any relevance.

Many thanks in advance for any help offered,
Will.


Peter Hicks

未读,
2022年7月18日 07:45:412022/7/18
收件人 A gathering place for the Open Rail Data community
Hi Will

The HSP is in a pretty poor state, with several people reporting errors such as this.

My view is that lots of people are doing similar mass scraping of data and that the service simply can't cope with it.  I don't have any visibility on what the normal rate of transactions is, so I can't comment on whether this is accurate or not.

Have you tried emailing support?


Peter 

--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openraildata-talk/5d3b1e23-25de-4afb-a552-15650d9cd417n%40googlegroups.com.

Will T

未读,
2022年7月18日 08:06:182022/7/18
收件人 A gathering place for the Open Rail Data community
Hi Peter,

Thank you for your response - it is much appreciated. I haven't tried emailing support yet, so will get on that.

Best,
Will.

Will T

未读,
2022年7月18日 08:53:462022/7/18
收件人 A gathering place for the Open Rail Data community
Hi again Peter,

Struggling to find an email address for HSP support - would you mind linking it here?

Thanks again,
Will.

On Monday, July 18, 2022 at 12:45:41 PM UTC+1 Peter Hicks wrote:

Peter Hicks

未读,
2022年7月18日 08:55:102022/7/18
收件人 openrail...@googlegroups.com
Hi Will

It's dsg_darwin...@caci.co.uk - ideally it should be on the HSP site somewhere too, but I've found we documented it here https://wiki.openraildata.com/index.php?title=About_the_National_Rail_Feeds

Peter


回复全部
回复作者
转发
0 个新帖子