Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139364

[test] java.net.SocketException: Malformed reply from SOCKS server thrwon by JDF UIDriver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • None
    • deploy


      The issue causes random failures on some nightly test bed:
      http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=1124907.SCA-DEPLOYMENT-1
      From trace http://aurora-ds3.us.oracle.com:9502/runs/01124/1124907.SCA-DEPLOYMENT/1124907.SCA-DEPLOYMENT-1/reports/html/javaws/javawssecurity/BetterTimestampHandligTest_testCaValidEeExpired_HIGH.trace
      the failres are due to exception:

      java.net.SocketException: Malformed reply from SOCKS server
      at java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:139)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:465)
      at java.net.Socket.connect(Socket.java:591)
      at java.net.Socket.connect(Socket.java:540)
      at java.net.Socket.<init>(Socket.java:436)
      at java.net.Socket.<init>(Socket.java:213)
      at deploy.sqe.drivers.ResultSender$1.run(ResultSender.java:142)
      at deploy.sqe.drivers.ResultSender$1.run(ResultSender.java:138)
      at java.security.AccessController.doPrivileged(Native Method)
      at deploy.sqe.drivers.ResultSender.connectToServer(ResultSender.java:138)
      at deploy.sqe.drivers.UIDriver.setResult(UIDriver.java:283)
      at deploy.sqe.drivers.UIDriver.run(UIDriver.java:202)
      at java.lang.Thread.run(Thread.java:747)

      After doing some analysis it is found that although jnlp was loaded without proxy as expected:
      network: Connecting http://127.0.0.1:8080/javawssecurity/jnlp/testCaValidEeExpired_HIGH.jnlp with proxy=DIRECT

      But the JDF driver tries to connect to listner using proxy:
      network: Connecting socket://10.128.69.37:51135 with proxy=SOCKS @ www-proxy.us.oracle.com/148.87.19.20:80

            jijising Jitender Singh (Inactive)
            xudwu Larry Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: