mongodb connection error
Answered
Hello. I tried following the article https://community.yellowfinbi.com/knowledge-base/article/how-to-connect-to-mongodb-from-yellowfin to connect to a test mongo instance. When I follow the first set of instructions, I get the error, "javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?"
I used the following connection string:
jdbc:mysql://<our url>:27015/sample_airbnb?useLocalTransactionState=true
Is this something possibly related to the fact that I have unsecure/mixed content error on my YF instance at the moment? The certificate is valid.
Any help or direction would be appreciated!
Hi Tara,
Thank you for reaching out to us on this. Your mixed content error will need to be addressed on it's own (I will respond to your other request on this shortly). For your connection string, based on the article you have followed, I notice you are missing a few components. Using your string provided and looking at the article, I believe it should be:
If you have not tried this full string, please do so and let me know how this goes. If you run into further issues, please let me know and we can step through it.
Cheers,
Neal
Hi Tara,
Thank you for reaching out to us on this. Your mixed content error will need to be addressed on it's own (I will respond to your other request on this shortly). For your connection string, based on the article you have followed, I notice you are missing a few components. Using your string provided and looking at the article, I believe it should be:
If you have not tried this full string, please do so and let me know how this goes. If you run into further issues, please let me know and we can step through it.
Cheers,
Neal
Thanks for responding. I tried the updated string but get another error:
I currently have "mysql-connector-java-8.0.18.jar" listed under my system info so I skipped past the update as described and tried to connect.Thanks for responding. I tried the updated string but get another error:
I currently have "mysql-connector-java-8.0.18.jar" listed under my system info so I skipped past the update as described and tried to connect.Hi Tara,
There may be two things happening here, so if you can complete step 1 below, then try to connect. If that doesn't work give step 2 a try and let me know how you go:
That error looks like either the Mongo Authentication Plugin is not installed, or there are issues in using the MySQL 8 driver with the plugin (even the Mongo Auth site references the older MySQL 5 drivers)
Cheers,
Neal
Hi Tara,
There may be two things happening here, so if you can complete step 1 below, then try to connect. If that doesn't work give step 2 a try and let me know how you go:
That error looks like either the Mongo Authentication Plugin is not installed, or there are issues in using the MySQL 8 driver with the plugin (even the Mongo Auth site references the older MySQL 5 drivers)
Cheers,
Neal
Hi Tara,
Hope you are well. I wanted to check in and see if the information I provided earlier was able to help you resolve this issue? Was there anything else I could do to help here?
Cheers,
Neal
Hi Tara,
Hope you are well. I wanted to check in and see if the information I provided earlier was able to help you resolve this issue? Was there anything else I could do to help here?
Cheers,
Neal
Hi Tara,
I hope you are having a good week. I am touching base to see if you are still seeing this issue? Was there something else I can do to assist further?
Cheers,
Neal
Hi Tara,
I hope you are having a good week. I am touching base to see if you are still seeing this issue? Was there something else I can do to assist further?
Cheers,
Neal
Hi Tara,
I hope things are going well over there.
Just wanted to let you know I'll be closing this request due to inactivity. However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Cheers,
Neal
Hi Tara,
I hope things are going well over there.
Just wanted to let you know I'll be closing this request due to inactivity. However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Cheers,
Neal
Hi Neal! Sorry, I got totally sidetracked on this. I've downgraded my driver and used the suggested connection string. I get the following message and I'm not sure if it's something that needs to be configured on the DB side or YF side:
If I try to change ssl=true then it says: Does it matter that this is on an atlas cluster?Hi Neal! Sorry, I got totally sidetracked on this. I've downgraded my driver and used the suggested connection string. I get the following message and I'm not sure if it's something that needs to be configured on the DB side or YF side:
If I try to change ssl=true then it says: Does it matter that this is on an atlas cluster?Actually, found the problem it seems. It was an issue of different TLS versions on YF vs the cluster. Thanks for your help!
Actually, found the problem it seems. It was an issue of different TLS versions on YF vs the cluster. Thanks for your help!
Replies have been locked on this page!