[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion http protocol through SOCKS 5 server (with authentication)

From: Řyvind 'bolt' Hvidsten <bolt_at_dhampir.no>
Date: Fri, 19 Jul 2013 09:44:05 +0200

I am trying to access several subversion repositories from behind a
socks proxy. Client machine runs Debian Linux. I use tsocks to stuff svn
into the proxy. I can do "tsocks svn co svn://blah.." just fine through
the proxy, but "tsocks svn co http://blah.." hangs for a long time and
then says "Could not read status line: connection was closed by server".

I also tried from an unrestricted network, with ssh -D to localhost to
set up a quick socks proxy. Same error when using tsocks. Without the
proxy, the repo works fine.

I can see in wireshark that with tsocks it asks for OPTIONS, as without
a proxy, gets the OPTIONS back, as without a proxy, and then it just
sits there, sending no further data until the error apprears and it exits.

In the restricted network, the SOCKS proxy is dante, but as I mentioned,
the same situation occurs with a simple ssh -D proxy.

I've tested that in both cases, "tsocks wget ...." works perfectly.
Using http://opkg.googlecode.com/svn/trunk/ for testing, but I've tried
several others too.

Any ideas?
Received on 2013-07-19 09:45:23 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.