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

Re: COPY 502 Bad Gateway

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-19 05:04:33 CET

On Feb 18, 2007, at 07:46, Lash wrote:

> i have this apache configuration file (on a debian sarge):
>
> <VirtualHost [ip adress]:443>
> ServerAdmin hostmaster@example.it
> ServerName svn.example.it
>
> DocumentRoot /var/www/svn.example.it
>
> <Location /repo>
> DAV svn
> SVNPath /var/lib/svn/repo/
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /user.passwd
>
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> Require valid-user
> </LimitExcept>
> </Location>
> </VirtualHost>
>
> the ssl directive is in another file.
>
> when i perform a copy a receive the error in the subject.
> i haven't a proxy!!!!!!!!!!!!!!!!!!!!!!
> there is a way to resolve this problem!?????????
> i see in the archive but in all the mail that refer to this
> problem there is a proxy behind the server,
> insted my apache server is directly connected on internet.

On Feb 18, 2007, at 13:27, Lash wrote:

>> ServerName svn.example.it
>
> svn.exemle.it is a A record, i try to add also a
> ServerAlias svn.example.it but return ever the 502 BadGateway
> error
>
> please help me!!!!!

On Feb 18, 2007, at 17:12, Lash wrote:

> i'm not behinde a proxy
>
> please help me!!!!!!!!!!!!!!!!!!!!!!!!!!!
> i need to fix this problem

Let's start with some netiquette.

- Write *one* message to the list about your problem. Wait at least 1
day (preferrably 2) before replying to your own message to bump it
if you haven't had a reply. This is a very active list, so often you
will get a response the same day, but it depends on people reading
your message who have experienced that problem. Today is Sunday, when
many people are at home for the weekend; many people read the list
from work, so they haven't seen your messages yet.

- Do not use so many exclamation points and question marks; it sounds
like you are screaming at us. Most of us on the list are volunteers
who just happen to use Subversion (only a few are paid Subversion
developers), and screaming probably makes volunteers less likely to
want to help you.

- You don't need to write things like "please help me" and "I need to
fix this problem". If you didn't need help or didn't need the problem
fixed, you obviously wouldn't be writing to us, so it's redundant.

Now to the COPY 502 Bad Gateway problem. I haven't experienced it
myself. I searched svn.haxx.se and found several messages which seem
to indicate that this problem can be caused by using a reverse proxy,
where the user connects via https to the proxy, the proxy connects
via http to the Subversion server, and the Subversion server
complains about this. The solution there seems to be to use an https
connection between proxy and Subversion server, by saying
"SSLProxyEngine On" on the proxy:

http://svn.haxx.se/users/archive-2006-03/0544.shtml

Other messages have mentioned this can be caused by using an SSL
accelerator:

http://svn.haxx.se/users/archive-2006-03/0551.shtml

This article suggests using tcpdump to monitor your network traffic
to see what's really going on:

http://svn.haxx.se/users/archive-2005-03/1452.shtml

It also presents a small patch to the Apache DAV module so that it
might ignore the error. This would only apply if you are indeed using
a reverse proxy.

This article from 2004 asks whether this behavior is a bug, but I do
not see a reply:

http://svn.haxx.se/dev/archive-2004-08/0286.shtml

This is the only Subversion bug report I can find about the Bad
Gateway error, and it suggests that this is usually an Apache
misconfiguration, but unfortunately does not elaborate:

http://subversion.tigris.org/issues/show_bug.cgi?id=612

I realize you already said twice that you do not use a proxy, so if
anybody else can think of a reason why this error might be occurring,
I'm sure the OP would appreciate hearing about it.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 19 05:05:01 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.