GDH icon indicating copy to clipboard operation
GDH copied to clipboard

Vert.x throws an exception at startup

Open maxamel opened this issue 8 years ago • 3 comments

Vert.x throws an exception related to DNS on startup: java.lang.IllegalArgumentException: \etc\resolv.conf didn't provide any name servers This happens only in the beginning, when the NetServer starts listening on localhost. After that the program resumes normally.

maxamel avatar Oct 28 '17 18:10 maxamel

up

armdev avatar Nov 12 '17 12:11 armdev

Seems like an issue with Netty which comes bundled with Vert.x. Supposed to be fixed in the next Vert.x version. A possible workaround can be running the program with an argument: -Dvertx.disableDnsResolver=true

maxamel avatar Nov 12 '17 15:11 maxamel

ok, thanks, it is appears when I added logback.xml

armdev avatar Nov 12 '17 20:11 armdev