java.net.SocketException: Malformed reply from SOCKS server

1,262 views
Skip to first unread message

Gareth Murfin

unread,
Feb 24, 2014, 4:51:49 PM2/24/14
to codenameone...@googlegroups.com
Hey guys, been getting this all night, is it known?

Steve Hannah

unread,
Feb 24, 2014, 5:02:21 PM2/24/14
to codenameone...@googlegroups.com
Are you using the CN1Sockets library or the built in socket support?  I assume this is in the simulator?  Do you have a stack trace?

Steve


On Mon, Feb 24, 2014 at 1:51 PM, Gareth Murfin <gareth...@gmail.com> wrote:
Hey guys, been getting this all night, is it known?

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/5789db72-503d-4eee-9f01-fe31d3230f1d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Steve Hannah
Web Lite Solutions Corp.

Gareth Murfin

unread,
Feb 24, 2014, 7:46:23 PM2/24/14
to codenameone...@googlegroups.com
no im just trying to send android build to server 

o run this application from the command line without Ant, try:
C:\Program Files\Java\jdk1.7.0_45/bin/java -jar "E:\ALL_CODE\ALL_CODE_STUFF_2013\NETBEANS\SASOLv2\dist\SASOLv2.jar"
jar:
clean-override:
build-for-android-device:
java.net.SocketException: Malformed reply from SOCKS server
at java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:90)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:429)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:395)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at java.net.URL.openStream(URL.java:1010)
at com.codename1.build.client.BuildProcess.login(BuildProcess.java:115)
at com.codename1.build.client.CodeNameOneBuildTask.execute(CodeNameOneBuildTask.java:142)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:283)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:541)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
E:\ALL_CODE\ALL_CODE_STUFF_2013\NETBEANS\SASOLv2\build.xml:313: Error in server build process

On Tuesday, February 25, 2014 6:02:21 AM UTC+8, shannah wrote:
Are you using the CN1Sockets library or the built in socket support?  I assume this is in the simulator?  Do you have a stack trace?

Steve
On Mon, Feb 24, 2014 at 1:51 PM, Gareth Murfin <gareth...@gmail.com> wrote:
Hey guys, been getting this all night, is it known?

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.

Shai Almog

unread,
Feb 25, 2014, 2:36:17 AM2/25/14
to codenameone...@googlegroups.com
Check your network/proxy connection.

Gareth Murfin

unread,
Feb 25, 2014, 4:05:49 PM2/25/14
to codenameone...@googlegroups.com
nothing at all has changed, this has just suddenly happened, now i cant build :(i will try a reboot i guess.

On Tuesday, February 25, 2014 3:36:17 PM UTC+8, Shai Almog wrote:
Check your network/proxy connection.

Gareth Murfin

unread,
Feb 25, 2014, 4:59:38 PM2/25/14
to codenameone...@googlegroups.com
Getting extremely worried now, rebooted all my hardware including router etc, i have not changed a thing yet i get this same error every time i try to send a build, any suggestions?

Could I havesome spyware that is doing something? seems like my browser is struggling to get to google.com too, it looks like something makes it look for httpS... maybe im totally wrong. But I cant think of any reason why this might start happening now!!

Gareth Murfin

unread,
Feb 25, 2014, 6:21:05 PM2/25/14
to codenameone...@googlegroups.com
So I went through all my apps in control panel removing any suspicious ones (mostly fake searches and somethign called lucky leap or something), I ran spybot, and rebooted...  I almost paid for "spyhunter4" as its telling me I still have 700 threats still, but I can now send builds to the server again thank god!

So for future reference I think chrome hijackers can mess with the overall "java" internet settings to do their own thing.
Reply all
Reply to author
Forward
0 new messages