-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to AWS DocumentDB #273
Comments
This doesn't give me any information I can use to debug the issue. Are you getting an error message or anything? Are you willing to give me access to a database to look into the issue? |
Hi @ankhers, We're trying to connect AWS DocumentDB from Elixir/Phoenix framework. Seems like the authentication has an issue as below lines: The function expects We’d be open to providing access to a test database and environment if needed. |
@ankhers Please see https://github.com/AlimovSV/mongodb/tree/docdb for a temporary fix. |
Thank you for following up. I believe I have actually started work on moving away from the older opcodes but never finished the work. But I would be glad to finish the work I had previously started. If you could contact me privately (you should be able to find my email on my profile page here) in order to get access to a test database that I can verify my changes against, it would be appreciated. |
Closing due to inactivity. If you get me the information I requested, I would be glad to reopen this. |
@ankhers I ran into a similar issue as well.
I would be open to setting up a DocumentDB cluster for troubleshooting this issue. |
I also noticed that |
We've run into the same issue when testing feasibility of using DocumentDB with an Elixir application. I've taken the work referenced above by @AlimovSV and refactored it so that it's mergable against master again for easy testing/experimenting. With these changes, I can successfully authenticate to DocumentDB with TLS disabled (haven't looked into TLS yet) and run queries. Rough and ready example of my test setup. I'm not an Elixir programmer, so there's probably a smarter method, but this works:
I chucked some data into the DB and was able to query back via Elixir, but haven't tested all the different query types possible. Next steps - @ankhers would it be helpful if I got you a test DocumentDB cluster? No issues from my side setting one up for you to use for a couple weeks if that's helpful. |
Thank you both for looking into this. If either of you can email me credentials to a DocumentDB cluster, I can look into what needs to be done. @jethro-solve, can you put up a PR with those changes so that I can test against them and potentially merge? |
@ankhers and @jethro-solve thanks for looking into this. |
I just wanted to keep on top of this ticket since @jethro-solve was kind enough to provide a DB to test against. Unfortunately I have been overwhelmed at home and work this past week, I am hoping to find some time over the weekend to take a look at what is going on. |
thanks @ankhers - no problem, happy to keep the DB around until you get a chance. |
No description provided.
The text was updated successfully, but these errors were encountered: