Hi all,
I've just re-started one of my websites that uses the code from and I'm seeing the following error:
=================
12/07/16 08:45:37Z [PROC ] stomp_read()
12/07/16 08:45:37Z [DEBUG ] stomp_read(): Received 427 characters.
12/07/16 08:45:37Z [PROC ] stomp_manager(5, "ERROR
content-type:text/plain
message:Unknown STOMP action: 12/07/16 08:45:37Z [GENERAL] Socket connected to STOMP server. Sending CONNECT message.
") in state 0: Action 4.
12/07/16 08:45:37Z [GENERAL] STOMP response to CONNECT received. Headers:
12/07/16 08:45:37Z [GENERAL] ERROR
12/07/16 08:45:37Z [GENERAL] content-type:text/plain
12/07/16 08:45:37Z [GENERAL] message:Unknown STOMP action: 12/07/16 08:45:37Z [GENERAL] Socket connected to STOMP server. Sending CONNECT message.
12/07/16 08:45:37Z [MAJOR ] CONNECT response incorrect.
==========
My current configuration looks like this:
==========
# Open Rail configuration file
#
# Lines consist of <key> <value> for string settings, or just <key> for boolean settings.
# Lines beginning with #, and blank lines are ignored.
# Database settings
db_name rail
db_user rail
db_password <dbpassword>
db_server localhost
# National rail account details
nr_user <my username>
nr_password <my password>
# Email(s) to which reports should be sent. Multiple emails should be separated with a space.
# Comment out whole line to disable sending of emails
report_email
m...@lunchtimetrains.co.uk
# STOMP topics to which to subscribe, separated by ;
# First one must be a VSTP topic or "void"
# 2nd one must be a TRUST topic or "void"
# 3rd one must be a TD topic or "void"
# 4th one is currently unused and should be "void" or not present.
stomp_topics: VSTP_ALL;TRAIN_MVT_ALL_TOC;TD_ALL_SIG_AREA;void
#stomp_topics: void;void;TD_ALL_SIG_AREA
# STOMP Topic names
stomp_topic_names VSTP;TRUST;TD
# STOMP logging. For each topic selected, put true if a log of the rew messages is to be kept.
stomp_topic_log true;true;true;true
# Uncomment to select debug mode
debug
# Uncomment to enable Huyton alerts.
#huyton_alerts
# Uncomment to cause stompy to collect messages from Network Rail and then bin them.
#stompy_bin
# Uncomment to disable the deduced activation function in trustdb. This function causes a high CPU load.
#trustdb_no_deduce_act
==========
FWIW, I've tried with the same username/password and the Python example on the wiki and that appears to work fine, so it's not the credentials :(
Does anyone know how to fix this?
Thanks,
Matt