Matt J Davies
2016-07-07 12:43:58 UTC
Hello there
Iâm trying to use some added environment variables, and itâs proving to be a massive pain in the arse.
Iâm running 3.0b2
How on gods green earth are you supposed to setup this variable?
QUERCUS_PUBLISHER_RABBIT_CONN_STRING="amqp://username:***@server.isd.glam.ac.uk:5672/"
This doesnât work
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING="amqp://username:***@server.isd.glam.ac.uk:5672/"
This doesnât work
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING=amqp://username:***@server.isd.glam.ac.uk:5672/
This doesnât work, with the value setup in an environment variable
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING=%(ENV_QUERCUS_PUBLISHER_RABBIT_CONN_STRING)s
The error I keep getting from the code is
Failed to connect to RabbitMQ: AMQP scheme must be either 'amqp://' or 'amqps://'
It seems that itâs either not setting it at all, or itâs escaping something.
Any help or tips, gratefully received.
Iâm trying to use some added environment variables, and itâs proving to be a massive pain in the arse.
Iâm running 3.0b2
How on gods green earth are you supposed to setup this variable?
QUERCUS_PUBLISHER_RABBIT_CONN_STRING="amqp://username:***@server.isd.glam.ac.uk:5672/"
This doesnât work
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING="amqp://username:***@server.isd.glam.ac.uk:5672/"
This doesnât work
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING=amqp://username:***@server.isd.glam.ac.uk:5672/
This doesnât work, with the value setup in an environment variable
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING=%(ENV_QUERCUS_PUBLISHER_RABBIT_CONN_STRING)s
The error I keep getting from the code is
Failed to connect to RabbitMQ: AMQP scheme must be either 'amqp://' or 'amqps://'
It seems that itâs either not setting it at all, or itâs escaping something.
Any help or tips, gratefully received.