Getting SearchDomainUnknownHostException in WebClient

633 views
Skip to first unread message

akshay kumar

unread,
Apr 4, 2018, 2:08:01 AM4/4/18
to vert.x
Hi,
I've been getting io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed exception for multiple endpoints(including google maps API endpoint) for some time now when I run the code on my local machine.
However, when I ping the endpoints, I am able to get the response. I've disabled firewall on my machine.

Pasting a sample request:

webClient.getAbs("API_END_POINT")
                .rxSend()
                .subscribe(bufferHttpResponse -> {
                    System.out.println(bufferHttpResponse.bodyAsString());
                }, System.out::println);

Julien Viet

unread,
Apr 4, 2018, 4:34:28 AM4/4/18
to ve...@googlegroups.com
Hi,

what should "API_END_POINT" should resolve to in your machine ?

Julien

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/32eed1fe-ab73-40a9-b6fe-119b86466374%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages