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

Error message about host name resolving #184

Closed
aalexand opened this issue Mar 15, 2014 · 4 comments
Closed

Error message about host name resolving #184

aalexand opened this issue Mar 15, 2014 · 4 comments

Comments

@aalexand
Copy link

When using Choco on my Macbook I get the following error message:

15:32:25,813 |-ERROR in ch.qos.logback.core.util.ContextUtil@47533240 - Failed to get local hostname java.net.UnknownHostException: aalexand +++-macbookpro.roam.corp.example.com: aalexand-macbookpro.roam.corp.example.com: nodename nor servname provided, or not known
at java.net.UnknownHostException: aalexand-macbookpro.roam.corp.example.com: aalexand-macbookpro.roam.corp.example.com: nodename nor +++ servname provided, or not known
at at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
at at ch.qos.logback.core.util.ContextUtil.getLocalHostName(ContextUtil.java:30)
at at ch.qos.logback.core.util.ContextUtil.addHostNameAsProperty(ContextUtil.java:39)
at at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:47)
at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:273)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:127)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:40)
at at ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:332)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:126)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:93)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:52)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:77)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
at at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
at at solver.search.loop.AbstractSearchLoop.(AbstractSearchLoop.java:81)
at at solver.search.loop.SearchLoops$1.make(SearchLoops.java:43)
at at solver.search.loop.SearchLoops$2.make(SearchLoops.java:49)
at at solver.SolverProperties.loadPropertiesIn(SolverProperties.java:49)
at at solver.Solver.(Solver.java:162)
at at solver.Solver.(Solver.java:197)
at at org.aalexand.solver.ColoringSolver.main(ColoringSolver.java:14)
Caused by: java.net.UnknownHostException: aalexand-macbookpro.roam.corp.example.com: nodename nor servname provided, or not known
at at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
at ... 27 common frames omitted

~
~

@cprudhom
Copy link
Member

Hi,
Which JAR do you use?
I think you are using the one without dependencies, am I right?

Hope it helps,
CP

@fhermeni
Copy link
Contributor

This seems to be a known bug of logback/slf4j with os X (http://jira.qos.ch/browse/LOGBACK-749). It should have been fixed since but the dependency is not up to date in Choco.

Fabien.

----- Mail original -----

Hi,
Which JAR do you use?
I think you are using the one without dependencies, am I right?

Hope it helps,
CP


Reply to this email directly or view it on GitHub:
#184 (comment)

@cprudhom
Copy link
Member

But, there is no whitespace in the hostname of @aalexand...
@fhermeni Did you get this error too?

@fhermeni
Copy link
Contributor

Sorry maybe it was another bug report
But yeah I got that too due to the config of my laptop.

Fabien.

----- Mail original -----

But, there is no whitespace in the hostname of @aalexand...
@fhermeni Did you get this error too?


Reply to this email directly or view it on GitHub:
#184 (comment)

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

No branches or pull requests

3 participants