TestNG : Eclipse - Malformed reply from SOCKS server

154 views
Skip to first unread message

jeev

unread,
Oct 31, 2016, 4:36:05 PM10/31/16
to testng-users
Hi,

While running on eclipse, we are getting the exception:

java.net.SocketException: Malformed reply from SOCKS server

at java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:129)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:459)

at java.net.Socket.connect(Socket.java:589)

at java.net.Socket.connect(Socket.java:538)

at java.net.Socket.<init>(Socket.java:434)

at java.net.Socket.<init>(Socket.java:211)

at org.testng.remote.strprotocol.BaseMessageSender.connect(BaseMessageSender.java:60)

at org.testng.remote.strprotocol.MessageHub.connect(MessageHub.java:31)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:86)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:206)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:177)


Created a new simple project on eclipse(Printing Hello), while running we are seeing the above error. 

Tried the following:

   1. Clean the project: Didnt work

   2. Tried with new eclipse, didnt work

   3. Installed new JDK (1.8). Didnt work

   4.Unchecked "Use  project TestNG jar" under Preferences, didnt work


Appreicate your help.


Thanks,

Jeevan

   


Krishnan Mahadevan

unread,
Nov 1, 2016, 2:16:49 AM11/1/16
to testng-users

This doesn't look like a problem with TestNG plugin.

It could be related to proxy settings.

Please check if this thread helps you out.

https://www.eclipse.org/forums/index.php/t/110146/

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/




--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

jeevan

unread,
Nov 2, 2016, 11:17:03 AM11/2/16
to testng-users
Hi Krishnan,

Thanks for the reply.  I tried all the options but still unable to start run any of the TestNG/Junit test cases. 

Downloaded new eclipse neon and tried also but the issue is same.Network connection looks like below and tried all the options...


Appreciate your help.

Thanks,
Jeevan

XuQing Tan

unread,
Nov 8, 2016, 7:48:19 PM11/8/16
to testng-users
4.Unchecked "Use project TestNG jar" under Preferences, didnt work

Looks like you're using an pretty old version of testng eclipse plugin, please update to the latest.
If the issue still there, please double check what's the IP of localhost, which is supposed to be 127.0.0.1, the loopback address

Reply all
Reply to author
Forward
0 new messages