java.net.UnknownHostException: aaa

JFrog JIRA | Tal Abramson | 8 years ago
  1. 0

    JFrog:/work/clients/jfrog/test/work/current/bin$./artadmin info --username admin --password password --host 8081 java.net.ConnectException: Invalid argument at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.artifactory.cli.common.UrlBasedCommand.executeMethod(UrlBasedCommand.java:240) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:154) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:145) at org.artifactory.cli.command.InfoCommand.execute(InfoCommand.java:28) at org.artifactory.cli.main.ArtifactoryCli.main(ArtifactoryCli.java:73) JFrog:/work/clients/jfrog/test/work/current/bin$./artadmin info --username admin --password password --host 11.2.1:8081 org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 3000 ms at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.artifactory.cli.common.UrlBasedCommand.executeMethod(UrlBasedCommand.java:240) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:154) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:145) at org.artifactory.cli.command.InfoCommand.execute(InfoCommand.java:28) at org.artifactory.cli.main.ArtifactoryCli.main(ArtifactoryCli.java:73) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) ... 11 more JFrog:/work/clients/jfrog/test/work/current/bin$./artadmin info --username admin --password password --host aaa:8081 java.net.UnknownHostException: aaa at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.<init>(Socket.java:367) at java.net.Socket.<init>(Socket.java:240) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) at java.lang.Thread.run(Thread.java:595) JFrog:/work/clients/jfrog/test/work/current/bin$

    JFrog JIRA | 8 years ago | Tal Abramson
    java.net.UnknownHostException: aaa
  2. 0

    JFrog:/work/clients/jfrog/test/work/current/bin$./artadmin info --username admin --password password --host 8081 java.net.ConnectException: Invalid argument at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.artifactory.cli.common.UrlBasedCommand.executeMethod(UrlBasedCommand.java:240) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:154) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:145) at org.artifactory.cli.command.InfoCommand.execute(InfoCommand.java:28) at org.artifactory.cli.main.ArtifactoryCli.main(ArtifactoryCli.java:73) JFrog:/work/clients/jfrog/test/work/current/bin$./artadmin info --username admin --password password --host 11.2.1:8081 org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 3000 ms at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.artifactory.cli.common.UrlBasedCommand.executeMethod(UrlBasedCommand.java:240) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:154) at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:145) at org.artifactory.cli.command.InfoCommand.execute(InfoCommand.java:28) at org.artifactory.cli.main.ArtifactoryCli.main(ArtifactoryCli.java:73) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) ... 11 more JFrog:/work/clients/jfrog/test/work/current/bin$./artadmin info --username admin --password password --host aaa:8081 java.net.UnknownHostException: aaa at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.<init>(Socket.java:367) at java.net.Socket.<init>(Socket.java:240) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) at java.lang.Thread.run(Thread.java:595) JFrog:/work/clients/jfrog/test/work/current/bin$

    JFrog JIRA | 8 years ago | Tal Abramson
    java.net.UnknownHostException: aaa
  3. 0

    Problem : My consumer using OpenID4Java can't associate

    Google Groups | 10 years ago | Fwang
    java.net.UnknownHostException: www.myopenid.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Brief app hostname DNS resolution errors on September 2, 2008

    Google Groups | 8 years ago | Alex Epshteyn
    java.net.UnknownHostException: 6.1.typeracerdata.appspot.com
  6. 0

    When jenkins server name cannot be resolved during plugin startup it doesn't start to work when dns starts to respond properly

    GitHub | 1 year ago | cezary-butler
    org.codinjutsu.tools.jenkins.exception.ConfigurationException: Unknown server: jenkins.internal

  1. Gatgeagent 3 times, last 2 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    aaa

    at java.net.PlainSocketImpl.connect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
    2. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    3. java.net.Socket.connect(Socket.java:520)
    4. java.net.Socket.connect(Socket.java:470)
    5. java.net.Socket.<init>(Socket.java:367)
    6. java.net.Socket.<init>(Socket.java:240)
    6 frames
  3. HttpClient
    ControllerThreadSocketFactory$SocketTask.run
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
    2. org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
    3. org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
    3 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame