I’m trying to configure my mongodb datasource in quarkus 3.11.2 localhost project (jdk 21), but I obtain: Failed looking up TXT record for host at the startup of the application. Using the same url I can connect to mongo cluster using MongoDB Compass (from my localhost). Im using mongodb+srv protocol inside my application.properties:
quarkus.mongodb.connection-string=mongodb+srv: etc..
any suggestions?
Thank you.
Im using mongodb+srv protocol inside my application.properties:
quarkus.mongodb.connection-string=mongodb+srv: etc..
any suggestions?
Thank you.
Fra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.