Topic
  • 2 replies
  • Latest Post - ‏2012-04-06T14:00:47Z by Sunit
SystemAdmin
SystemAdmin
3908 Posts

Pinned topic : Unable to open socket

‏2012-04-02T16:49:56Z |
Hi,
Iam making HTTP call to a servlet using Socket API in Java to HTTP server.
When I do it,i get error given below:

00074 21:27:55.843 HttpProtocolFinderThread ERROR wjhk.jupload2.exception.JUploadIOException:java.net.ConnectException Connection timed out: connect (Unable to access to the postURL: 'http://10.12.36.57:82/admin/multiUpload')
00075 21:27:55.843 HttpProtocolFinderThread wjhk.jupload2.exception.JUploadIOException: Unable to open socket
00075 21:27:55.843 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HTTPConnectionHelper.sendRequest(HTTPConnectionHelper.java:362)
00075 21:27:55.843 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpConnect.getProtocol(HttpConnect.java:240)
00075 21:27:55.843 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpProtocolFinderThread.run(HttpProtocolFinderThread.java:99)
00075 21:27:55.843 HttpProtocolFinderThread Caused by: java.net.ConnectException: Connection timed out: connect
Related files are attached.

HTTP server is configured to direct requests to WAS7 server.

Pls let me know how to resolve this ASAP as it is a production issue.
Thanks,
Justin

Attachments

Updated on 2012-04-06T14:00:47Z at 2012-04-06T14:00:47Z by Sunit
  • SystemAdmin
    SystemAdmin
    3908 Posts

    Re: : Unable to open socket

    ‏2012-04-02T16:52:45Z  
    Hi,
    actual error is:
    00068 18:58:30.828 HttpProtocolFinderThread ERROR wjhk.jupload2.exception.JUploadIOException:java.net.ConnectException Connection timed out: connect (Unable to access to the postURL: 'http://10.12.36.70:83/admin/multiUpload')
    00069 18:58:30.828 HttpProtocolFinderThread wjhk.jupload2.exception.JUploadIOException: Unable to open socket
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HTTPConnectionHelper.sendRequest(HTTPConnectionHelper.java:362)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpConnect.getProtocol(HttpConnect.java:240)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpProtocolFinderThread.run(HttpProtocolFinderThread.java:99)
    00069 18:58:30.828 HttpProtocolFinderThread Caused by: java.net.ConnectException: Connection timed out: connect
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.socketConnect(Native Method)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.doConnect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.SocksSocketImpl.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.<init>(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.<init>(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpConnect.connect(HttpConnect.java:175)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HTTPConnectionHelper.sendRequest(HTTPConnectionHelper.java:345)
    00069 18:58:30.828 HttpProtocolFinderThread ... 2 more
  • Sunit
    Sunit
    196 Posts

    Re: : Unable to open socket

    ‏2012-04-06T14:00:47Z  
    Hi,
    actual error is:
    00068 18:58:30.828 HttpProtocolFinderThread ERROR wjhk.jupload2.exception.JUploadIOException:java.net.ConnectException Connection timed out: connect (Unable to access to the postURL: 'http://10.12.36.70:83/admin/multiUpload')
    00069 18:58:30.828 HttpProtocolFinderThread wjhk.jupload2.exception.JUploadIOException: Unable to open socket
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HTTPConnectionHelper.sendRequest(HTTPConnectionHelper.java:362)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpConnect.getProtocol(HttpConnect.java:240)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpProtocolFinderThread.run(HttpProtocolFinderThread.java:99)
    00069 18:58:30.828 HttpProtocolFinderThread Caused by: java.net.ConnectException: Connection timed out: connect
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.socketConnect(Native Method)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.doConnect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.PlainSocketImpl.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.SocksSocketImpl.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.connect(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.<init>(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at java.net.Socket.<init>(Unknown Source)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpConnect.connect(HttpConnect.java:175)
    00069 18:58:30.828 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HTTPConnectionHelper.sendRequest(HTTPConnectionHelper.java:345)
    00069 18:58:30.828 HttpProtocolFinderThread ... 2 more
    Are you able to access the remote web site using a browser on the server that calls it?

    • Sunit