FAQ: Difference between revisions

From Open Rail Data Wiki
mNo edit summary
m Added a section on timestamp checking
Line 10: Line 10:


Check that you have registered at https://datafeeds.networkrail.co.uk correctly.  Your password for this wiki cannot be used to access the Network Rail Data Feeds.
Check that you have registered at https://datafeeds.networkrail.co.uk correctly.  Your password for this wiki cannot be used to access the Network Rail Data Feeds.
== There are messages missing from the feed ==
Make sure you're using a [[Durable_Subscription|durable subscription]] and acknowledging all the messages you receive.  You can have around 100 messages pending before the server will stop sending data to you.
Check the 'time' field in the messages body (not the header) is within a few seconds of the current time.  This field is populated by Network Rail's systems and should be within 10 seconds of the current time.  If it isn't, contact support.

Revision as of 10:38, 13 March 2013

I get a 'User not subscribed' error when trying to download from the SCHEDULE feed

The format of the correct URL to use is documented on the SCHEDULE page. A previous version of the developer pack referenced an incorrect URL.

I have an issue accessing the real-time datafeeds

Make sure you are following all of the good practice advice.

I have registered and keep getting a "bad credentials" error

Check that you have registered at https://datafeeds.networkrail.co.uk correctly. Your password for this wiki cannot be used to access the Network Rail Data Feeds.

There are messages missing from the feed

Make sure you're using a durable subscription and acknowledging all the messages you receive. You can have around 100 messages pending before the server will stop sending data to you.

Check the 'time' field in the messages body (not the header) is within a few seconds of the current time. This field is populated by Network Rail's systems and should be within 10 seconds of the current time. If it isn't, contact support.