Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vert.x throws an exception at startup #1

Open
maxamel opened this issue Oct 28, 2017 · 3 comments
Open

Vert.x throws an exception at startup #1

maxamel opened this issue Oct 28, 2017 · 3 comments
Assignees
Labels

Comments

@maxamel
Copy link
Owner

maxamel commented Oct 28, 2017

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 maxamel added the bug label Oct 28, 2017
@maxamel maxamel self-assigned this Oct 28, 2017
@armdev
Copy link

armdev commented Nov 12, 2017

up

@maxamel
Copy link
Owner Author

maxamel commented Nov 12, 2017

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

@armdev
Copy link

armdev commented Nov 12, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants