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

https/SSL -- proxy (ssh tunnel) problems

From: Leif Warland <leif.warland_at_sintef.no>
Date: 2007-08-06 13:47:40 CEST

Hi!

I'm trying to access our repository through I firewall using a ssh
tunnel. This works fine as long as we only use http, but the connection
fails when I use https.

I have the following subversion setup ($HOME/.subversion/servers):

[groups]
main = mainserver

[main]
http-proxy-host = 127.0.0.1
http-proxy-port = 8888

I then forward port 8888 through the ssh-tunnel to mainserver on port
443. When I run "svn list https://127.0.0.1:8888/path" the contents of
our repository will list as expected, while the command "svn list
https://mainserver/path" gives the following error:

Doing DNS lookup on 127.0.0.1...
Running pre_send hooks
Sending request headers:
PROPFIND /path HTTP/1.1
Host: mainserver
User-Agent: SVN/1.4.4 (r25188) neon/0.26.4
Connection: TE
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0

Sending request-line and headers:
Connecting to 127.0.0.1
Running pre_send hooks
Sending request headers:
CONNECT mainserver:443 HTTP/1.1
Host: mainserver
User-Agent: SVN/1.4.4 (r25188) neon/0.26.4
Connection: TE
TE: trailers

Sending request-line and headers:
Request sent; retry is 0.
Aborted request (-3): Could not read status line
Request ends, status 0 class 0xx, error line:
Could not read status line: connection was closed by proxy server.
Running destroy hooks.
Request ends.
Request ends, status 0 class 0xx, error line:
Could not create SSL connection through proxy server: Could not read status line: connection was closed by proxy server.
Running destroy hooks.
Request ends.
svn: PROPFIND request failed on '/path'
svn: PROPFIND of '/path': Could not create SSL connection through proxy server: Could not read status line: connection was closed by proxy server. (https://mainserver)
ne_session_destroy called.
ne_session_destroy called.

Am I doing something wrong?

-- 
Leif Warland
Consider the little mouse, how sagacious an animal
it is which never entrusts its life to one hole only.
		-- Titus Maccius Plautus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 6 13:46:11 2007

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.