Skip to content

Redash to MongoDB v6 connection fails #6131

Answered by nzidol
nzidol asked this question in Q&A
Jun 29, 2023 · 11 comments · 15 replies
Discussion options

You must be logged in to vote

Hi,

I build a dev instance as per https://redash.io/help/open-source/dev-guide/docker and can confirm connection to MongoDB V6 now works with version 11.0.0-dev

Note that I updated requirements_dev.txt to install watchdog=3.0.0 instead of 0.0.9 otherwise redash-server-1 would crash on startup on an issue with /usr/local/lib/python3.8/site-packages/watchdog/events.py "ImportError: cannot import name 'EVENT_TYPE_OPENED' from 'watchdog.events'"

Note that within Docker there needs to be an internal network between redash-server/Redash-worker and mongodb to allow connection.

Connection string I used is mongodb://mongodb-mongodb-1:27017/admin?authmechanism=SCRAM-SHA-256

Replies: 11 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@obscure723
Comment options

@justinclift
Comment options

@obscure723
Comment options

Comment options

You must be logged in to vote
1 reply
@justinclift
Comment options

Comment options

You must be logged in to vote
4 replies
@justinclift
Comment options

@jesraygarciano
Comment options

@justinclift
Comment options

@jesraygarciano
Comment options

Comment options

You must be logged in to vote
4 replies
@nzidol
Comment options

@justinclift
Comment options

@justinclift
Comment options

@justinclift
Comment options

Answer selected by nzidol
Comment options

You must be logged in to vote
3 replies
@nzidol
Comment options

@justinclift
Comment options

@jesraygarciano
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants