Not getting messages from low-volume feed

58 views
Skip to first unread message

Aleksa Jakovljevic

unread,
Aug 24, 2025, 10:37:04 AM (11 days ago) Aug 24
to A gathering place for the Open Rail Data community
HI all,

I've taken the time to adjust an available stomp-client in python for my own needs and that seems to work, but I have an issue with the VSTP feed.

When I start my client and leave it running (using wakepy), it stays connected but does not appear to get any new message from the VSTP feed after a few minutes of inactivity (I've confirmed this by checking with other sources, for ex. Phil's website, which lists when the last VSTP message was received) - my logfiles indicate I still get all of the stomp heartbeats requested, but I don't appear to get any new VSTP message. This doesn't seem to happen if I subscribe instead (or simultaneously, although that seems like a work-around which doesn't really solve whatever the root cause is) to the higher-activity feeds (TD or TRUST). Is this a known issue or something I'm doing wrong config-wise on my end?

Cheers,

Alex

Peter Hicks

unread,
Aug 24, 2025, 1:00:54 PM (11 days ago) Aug 24
to openrail...@googlegroups.com
Hi Alex

On Sunday, 24 August 2025 at 15:37, Aleksa Jakovljevic <alex.jako...@gmail.com> wrote:

I've taken the time to adjust an available stomp-client in python for my own needs and that seems to work, but I have an issue with the VSTP feed.

When I start my client and leave it running (using wakepy), it stays connected but does not appear to get any new message from the VSTP feed after a few minutes of inactivity (I've confirmed this by checking with other sources, for ex. Phil's website, which lists when the last VSTP message was received) - my logfiles indicate I still get all of the stomp heartbeats requested, but I don't appear to get any new VSTP message. This doesn't seem to happen if I subscribe instead (or simultaneously, although that seems like a work-around which doesn't really solve whatever the root cause is) to the higher-activity feeds (TD or TRUST). Is this a known issue or something I'm doing wrong config-wise on my end?

Are you able to post some code that replicates the problem?  There are lots of subtle things it could be.


Peter

Aleksa Jakovljevic

unread,
Aug 24, 2025, 6:07:28 PM (11 days ago) Aug 24
to openrail...@googlegroups.com
Hi Peter,

Here's as an attachment my last test run and the main file associated with it (the functions from td and vstp are probably unrelated as they are simple print to file with custom format functions). As I appear to have received every TD message for the hour or so this ran, but only 2 VSTP schedules (a look at Phil's website tells me I missed one at 22:49:40, just before I terminated the script), I'm quite confident it isn't a connection issue or a computer-going-to-sleep-and-shutting-off the-program issue on my side.

Thanks,

Alex

--
You received this message because you are subscribed to a topic in the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openraildata-talk/ncPWjn_eVzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openraildata-t...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openraildata-talk/1-6BL5hPagA7r9OzMk9uUgO1XTB38wkWut37GLkzTI8ZXhotO0tpAmRKy7k9RNqk2OJD801TtjdMcZF2ZIvs-e8b_QRrEtUfkwMc2C8682g%3D%40poggs.co.uk.
NR-Python-testrun.rar
Reply all
Reply to author
Forward
0 new messages