You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm aware of a few issues regarding the dns resolution. That's why the feature is experimental.
I don't have a good solution at the moment unfortunately.
Ok, I'm not able to test against an Atlas serverless instance, but I got a native application connecting to a shared instance using both the -micro and -native base images.
Describe the bug
I get the error:
(vert.x-eventloop-thread-1) Unable to look up TXT record for host serverlessinstance0.oagmp.mongodb.net.
In my contaiver resolv.conf file:
bash-4.4$ cat /etc/resolv.conf
nameserver 127.0.0.11
options ndots:0
I'm using the native image quay.io/quarkus/quarkus-micro-image:1.0.
It comes with ndots:0 by default.
Thanks in advance!
Expected behavior
It find in native mode the look up TXT record for host serverlessinstance0.oagmp.mongodb.net.
Actual behavior
It doesn't find the look up TXT record for host serverlessinstance0.oagmp.mongodb.net.
How to Reproduce?
Steps to reproduce:
application.properties
quarkus.mongodb.connection-string=
quarkus.mongodb.database=
quarkus.mongodb.native.dns.use-vertx-dns-resolver=true
quarkus.mongodb.native.dns.lookup-timeout=10s
Build in native mode
Start the application
Output of
uname -a
orver
Linux 25cf03bb9077 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
command not found
GraalVM version (if different from Java)
I'm using quay.io/quarkus/centos-quarkus-maven:21.3.0-java11 to generate the native image
Quarkus version or git rev
2.7.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.3.3
Additional information
I'm using a mongo on Atlas cloud and it is a serverless instance.
The text was updated successfully, but these errors were encountered: