Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 23rd, 2005
Photon
Guest
 
Posts: n/a
Unhappy ERROR: Malformed reply from SOCKS server

I am using Phex with Mac OS X 10.2 Jaguar, behind a university firewall. There is also a SOCKS proxy. I can't connect to the Gnutella network. In the General Gnutella network window all the remote hosts line up, in red, with their status reading "connecting". Sooner or later they all time out with the message "ERROR: Malformed reply from SOCKS server".

I have filled out every field in the Proxy Settings window, using the settings I was given to set up my browser and email. Isn't that right? I've tried several tips I found in these pages: forcing ultrapeer merely increased the number of unconnecting hosts in my lists. Clicking the Query GWebCache, and maxing my bandwidth, didn't seem to really do anything at all.

Is it possible that my university's proxy is just blocking p2p in general? I've never tried any p2p client on this computer before (Phex works great on my home account on my home computer!).

That's my problem. Any help greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old January 24th, 2005
Enthusiast
 
Join Date: May 13th, 2002
Posts: 39
HelgeB is flying high
Default Re: ERROR: Malformed reply from SOCKS server

Hello Photon,
Quote:
Originally posted by Photon
I have filled out every field in the Proxy Settings window, using the settings I was given to set up my browser and email. Isn't that right?
I don't know. I had used Phex for a long time with socks but not with the internal socks client. (For now I've tested it and couldn't get it working also, maybe it's broken, maybe it's my fault.)
You can also try external socks clients (for windows it's the humminbird socks client I've used). MacOS is internally Unix so maybe the (properly configured) socksify command works.
Yes, some univerities are blocking P2P ports. You can use Phex with other ports (but most users are using the default ports), maybe you try a filter rule for ports 6346/47. But if they are blocking P2P they have their reasons and you should respect it (and you already have a working home account).

Helge
Reply With Quote
  #3 (permalink)  
Old January 24th, 2005
Photon
Guest
 
Posts: n/a
Default Re: Re: ERROR: Malformed reply from SOCKS server

Helge,

Thanks for your comments.

Quote:
Originally posted by HelgeB
But if they are blocking P2P they have their reasons and you should respect it
Helge [/B]
Yes, I agree. I just thought, since the error message indicates the SOCKS server, someone might be able to say "Yes, that message means XXXXX" and if it turned out that p2p is just blocked I could give up wasting time on it. I'm actually not interested in learning ways around the block (if it exists), for a lot of reasons . . .
Reply With Quote
  #4 (permalink)  
Old January 26th, 2005
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Phex has a Socks5 protocol implementation which is not tested alot and might not work correct.

Since the lack of testing there are many different error messages for many cases used... so usually I should be able to clearly say what the problem is...

But I cant find your error message anywhere in the Phex source...
This seems to be a Java error mesage.. but thats strange too.... since Java should not deal and know about the SOCKS connection...

I have to research some more to get Java to stop messing with my SOCKS protocol
...or maybe better completly switch to Javas own SOCKS implementation.

Gregor
__________________
Reply With Quote
  #5 (permalink)  
Old January 26th, 2005
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Which Java version are you using?
__________________
Reply With Quote
  #6 (permalink)  
Old January 27th, 2005
Enthusiast
 
Join Date: May 13th, 2002
Posts: 39
HelgeB is flying high
Default

Hello Gregor,
Quote:
Originally posted by GregorK
I cant find your error message anywhere in the Phex source...
This seems to be a Java error mesage.. but thats strange too.... since Java should not deal and know about the SOCKS connection...
Yes, very strange. I found the message in JDK1.5.0_01s java.net.SocksSocketImpl. This class is used by java.net.Socket constructors. There are also new classes Proxy and ProxySelector. By default some settings are read with native code, so maybe with JDK1.5 java automatically uses a system wide configured socks proxy (e.g. evironment variable).

Photon, is the message still there if you turn off socks in the phex preferences?

Helge

Last edited by HelgeB; January 27th, 2005 at 04:47 AM.
Reply With Quote
  #7 (permalink)  
Old January 27th, 2005
Photon
Guest
 
Posts: n/a
Default

Gregor and Helge,

I am using Java 1.4.1.

And yes, I get the same message if I turn off SOCKS.
Reply With Quote
  #8 (permalink)  
Old January 28th, 2005
Enthusiast
 
Join Date: May 13th, 2002
Posts: 39
HelgeB is flying high
Default

Hello Photon,
Quote:
Originally posted by Photon
And yes, I get the same message if I turn off SOCKS.
OK, so maybe Java uses automatically the system wide proxy settings. You can try to turn it off in Control Panel -> Java -> Network settings. And if that doesn't help in Control Panel -> Internet Options -> Connections. (Or similar, these are just translations from a german windows version.) And then reactivate the internal Phex Socks client.

Helge
Reply With Quote
  #9 (permalink)  
Old January 30th, 2005
Photon
Guest
 
Posts: n/a
Default

OK, I went to (Mac OS X) Systems Preferences -> Network -> Proxies and turned off all the Proxy settings. (I am on a network here, by the way.) With this, I didn't even get the hosts lining up in red, but in gray right from the start with the message "Error. Connection refused"
The same came from turning on everything EXCEPT the SOCKS Firewall. If I turned on the SOCKS Firewall only then I was back where I started.

I would like very much to see any further comments you can spare for me, but frankly I am not sure how much longer I want to pursue this . . .
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: https://www.gnutellaforums.com/general-discussion/32819-error-malformed-reply-socks-server.html
Posted By For Type Date
javatalks.ru / ????????? ??? ???????? Socket This thread Refback March 28th, 2017 07:24 AM
- Socket :: Java JavaTalks ( PDA) This thread Refback September 5th, 2010 03:46 AM
- Socket :: Java JavaTalks This thread Refback September 2nd, 2010 05:27 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
hello reply error 500 message anonimous Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) 1 March 17th, 2004 05:59 PM
Killing Sun Socks Server Unregistered XoloX Feature Request 2 May 1st, 2002 06:43 PM
Connecting through SOCKS proxy server Unregistered General Windows Support 0 February 13th, 2002 03:31 AM
Bug-report: Error connecting when connection to my Socks-server Unregistered Support: General 0 October 19th, 2001 02:26 AM
Question about web interface - reply (cant reply in normal way, see sep post for det) onty Gnotella (Windows) 2 July 17th, 2000 07:01 PM


All times are GMT -7. The time now is 08:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.