“SocketException: Unconnected sockets not implemented” with self-signed SSL certificate

前端 未结 6 1116
轮回少年
轮回少年 2021-01-17 19:49

(I\'ve asked the same question of the jmeter-user mailing list, but I wanted to try here as well - so at the least I can update this with the answer once I find it).

6条回答
  •  醉梦人生
    2021-01-17 20:37

    I had the same problem in my code (not related to JMeter).

    My code uses a self-defined SocketFactory. What I found out is that the class com.sun.jndi.ldap.Connection calls some methods of the SocketFactory using Method.invoke(). One of the methods it tries to call is createSocket() - without parameters.

    When I added such method to my factory all worked fine.

提交回复
热议问题