Setting MONKEY_MONGO_URL
env variable to non-default value results in island exiting with error
#4170
Labels
Bug
An error, flaw, misbehavior or failure in the Monkey or Monkey Island.
Describe the bug
The mongo URL is configurable via the
MONKEY_MONGO_URL
environment variable. However, Flask-Security also has a connection to mongodb, and it uses hard-coded values instead of the connection details fromMONKEY_MONGO_URL
. Thus, ifMONKEY_MONGO_URL
differs from the defaults, the server will error out because one of the connections to mongo will fail.Introduced in 564c15d #2157
To Reproduce
Steps to reproduce the behavior:
27019
)mongodb://localhost:27019/monkey_island
)Expected behavior
I expect both connections to mongodb to use the same connection details.
Machine version (please complete the following information):
The text was updated successfully, but these errors were encountered: