How do I connect to National Rail Open Data using Darwin v16 (beginner here)

175 views
Skip to first unread message

Joseph English

unread,
Jul 25, 2022, 7:53:14 AM7/25/22
to A gathering place for the Open Rail Data community
Hi,

Tried to follow along with the instructions here https://github.com/openraildata/stomp-client-python however after replacing my credentials and running the code in pycharm I don't get any output? What am I doing wrong?

Thanks

Malcolm Bovey

unread,
Jul 26, 2022, 2:41:41 AM7/26/22
to A gathering place for the Open Rail Data community
Try using v6.1.0 of stomp.py.  I've had trouble with later versions.

Kacper Rossa

unread,
Jul 26, 2022, 5:52:04 AM7/26/22
to openrail...@googlegroups.com
Hi,

I had a similar issue today - using code that previously worked, I am getting <Response [401]>

Not sure why

Thanks

--
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/4e136903-58bd-4108-bf31-39262acee49bn%40googlegroups.com.

Evelyn Snow

unread,
Jul 26, 2022, 10:55:59 AM7/26/22
to openrail...@googlegroups.com
Hi Kacper, Joseph

If you're getting a 401 response, would I be correct in thinking that you're
using the ldbsvws example rather than the darwin one?

As for the issue with the Darwin client, I can replicate this, I'm not yet
sure what's causing it, but I'll note that my elixir client seems to connect
just fine, so it's not a feed issue.

I'll try to look into this when I have time

Evelyn

2022-07-26T10:51:51+0100 Kacper Rossa <rossa...@gmail.com>:
> https://groups.google.com/d/msgid/openraildata-talk/CAM5S4KkcDzZM2O3aEoosubvt4-oFUNw1LEdr5cgF4cDeLZJm0w%40mail.gmail.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages