-
Trying to connect to my local mongdb (v6.0.3) gives this error message: Connection Test Failed: |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 15 replies
-
Yeah, the version of the MongoDB driver that we use doesn't support MongoDB 6.x. We need to update the driver, which will then allow that to work. There's some other stuff we need to do first though (being worked on), which is why it hasn't happened yet. Check back in a few days maybe, to see where things are up to then? 😄 |
Beta Was this translation helpful? Give feedback.
-
@nzidol We have a potential update for this almost ready, but would like someone that uses MongoDB 6 to try it and make sure the data source is working ok. So, we'd need that person to install a Redash image (should be ready shortly), then try it out with their MongoDB 6.x data source, then let us know if it does or doesn't work (etc). Is that something you'd be ok doing? |
Beta Was this translation helpful? Give feedback.
-
Yeah no problem
…On Fri, 30 Jun 2023, 9:07 pm Justin Clift, ***@***.***> wrote:
@nzidol <https://github.com/nzidol> We have a potential update for this
almost ready, but would like someone that uses MongoDB 6 to try it and make
sure the data source is working ok.
So, we'd need that person to install a Redash image (should be ready
shortly), then try it out with their MongoDB 6.x data source, then let us
know if it does or doesn't work (etc).
Is that something you'd be ok doing?
—
Reply to this email directly, view it on GitHub
<#6131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADH46HLAPVYKHZQMAA6WYMTXN2JN3ANCNFSM6AAAAAAZX5Y3QI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm also facing the same issue. If you don't mind, I'd like to contribute to the testing as well. |
Beta Was this translation helpful? Give feedback.
-
@justinclift |
Beta Was this translation helpful? Give feedback.
-
Oops, I got distracted with other stuff. The fix for this (seems like it's pretty good) got merged into our We've disabled the I'll look into manually generating a Docker image people can test out, though I'll likely upload it online somewhere for manual download + import (eg Once we re-enable the |
Beta Was this translation helpful? Give feedback.
-
@justinclift Thank you, Can I ask when can I see the |
Beta Was this translation helpful? Give feedback.
-
I tried to create my own docker image using the Redash master branch to check if I could try to fix "Unsupported OP_QUERY command:". Then tried to query I'm not seeing the error anymore, not sure if it is fixed but now I'm getting "Query on queue" where I get no response. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
With the images you pushed, does below docker-compose yml below correctly implemented with your images.
|
Beta Was this translation helpful? Give feedback.
-
I am getting the same error with Mongodb 8.0 |
Beta Was this translation helpful? Give feedback.
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