Hi Philippe,

Well, there is a 'java.net.useSystemProxies' system property described at
http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html

*If* that's the switch which XXE's Options > Preferences > Advanced >
Proxies > Use System Settings is relying on (Hussein could tell you that),
then you'd look to see what Windows was doing in Control Panel > Network
and Internet > Internet Options > Connections > LAN Settings (also
available as 'Internet Options' from within Internet Explorer).  Probably
in your environment, it uses some kind of automatic configuration, and the
automatic configuration is lately wrong.  (It would be interesting to use
an FTP URL in Internet Explorer, since that ought to have the same problem
as XXE if this is the cause of the problem).  Refer to your network admins
on that one.

That might not be the exact mechanism though.  It is still possible for an
application like XXE to fuss with the proxies by
setting java.net.ProxySelector.setDefault(ProxySelector), or accidentally
using java.net.URL#openConnection(Proxy).    It might not even be XXE doing
it, but the library that XXE uses.

cheers,
David.


On Thu, Jan 10, 2013 at 12:57 AM, Philippe Nobili <
[email protected]> wrote:

> **
> On Thu, 2013-01-10 at 00:13 +1100, David Bullock wrote:
>
> Philippe, maybe in your environment now, it is not necessary to use a
> SOCKS proxy to access the FTP server, and because of this, the SOCKS proxy
> has not been configured to proxy for it.  Does it fix your problem if you
> tell XXE not to use a SOCKS proxy for the (newly-addressed?) FTP server?
>
> The text "Malformed reply from SOCKS server" seems to come from the bowels
> of the java.net.SocksSocketImpl class.   As I read the code there [1], it
> can be thrown any time a SOCKS server sends less data than it ought to
> before closing the stream.
>
> cheers, David.
>
>  Hi David,
>
> Thanks for pointing me to this; we comply with a global company  Internet
> proxy policy, so XMLMind is simply configured to follow "System Settings".
> In these settings, we shall not use proxies to access our own servers
> (whether FTP, HTTP or other).
>
> Strangely enough: for *ftp://* protocol, even though  the host to which
> we upload belongs to the list of trusted hosts for which* no proxy* *is
> needed*, a SOCKS proxy is used however. This does not happen for other
> protocols ( HTTP, HTTPS, etc).
>
> So, many thanks again for your e-mail, which gives us a good workaround;
> we have now to understand where things go wrong... (can it come from flaws
> in the Java packages ?).
>
> Cheers,
> Phil.
>
>
>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to