Discussion:
[testng-users] TestNG : Eclipse - Malformed reply from SOCKS server
jeev
2016-10-31 20:36:05 UTC
Permalink
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
--
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.
Krishnan Mahadevan
2016-11-01 06:16:42 UTC
Permalink
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/






On Tue, Nov 1, 2016 at 2:06 AM +0530, "jeev" <***@gmail.com> wrote:










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

   
--
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.
--
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
2016-11-02 15:17:03 UTC
Permalink
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...

<Loading Image...>

Appreciate your help.

Thanks,
Jeevan
Post by Krishnan Mahadevan
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!"
Hi,
Post by jeev
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.
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
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
--
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.
XuQing Tan
2016-11-09 00:48:18 UTC
Permalink
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
--
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.
Loading...