#473 closed defect (fixed)
not able to update svn from ubuntu
Reported by: | asl | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Non-game systems | Keywords: | svn |
Cc: | Patch: |
Description
I am always getting the following error:
svn: OPTIONS of 'http://svn.wildfiregames.com/public/ps/trunk': timed out waiting for server (http://svn.wildfiregames.com)
subversion client details:
svn, version 1.6.6 (r40053)
compiled Mar 20 2010, 18:04:14
Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
- ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
- ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
- ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
Change History (12)
comment:1 by , 14 years ago
Milestone: | Unclassified → ASAP |
---|
follow-up: 4 comment:2 by , 14 years ago
comment:3 by , 14 years ago
Replying to asl:
I am always getting the following error:
svn: OPTIONS of 'http://svn.wildfiregames.com/public/ps/trunk': timed out waiting for server (http://svn.wildfiregames.com)
subversion client details:
svn, version 1.6.6 (r40053)
compiled Mar 20 2010, 18:04:14
Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
- ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
- ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
- ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
Full contents of the OPTIONS package that is getting no response from your server:
OPTIONS http://svn.wildfiregames.com/public/ps/trunk HTTP/1.1 User-Agent: SVN/1.6.6 (r40053) neon/0.29.0 Connection: TE TE: trailers Host: svn.wildfiregames.com Content-Type: text/xml Accept-Encoding: gzip DAV: http://subversion.tigris.org/xmlns/dav/svn/depth DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops Content-Length: 104 Accept-Encoding: gzip
comment:4 by , 14 years ago
Replying to Philip:
Hmm, works for me! Presumably it's a connection issue rather than a problem with the server. Do you have some kind of web proxy or firewall or filter that might be preventing access?
A few things to try, to see where the problem might be:
Can you open http://svn.wildfiregames.com/public/ps/trunk/ in a web browser?
yes its working from firefox, also using wget from shell
Can you run something like
curl http://svn.wildfiregames.com/public/ps/trunk/to open it outside of a browser?
Can you run
ping svn.wildfiregames.comto see if it responds at all?
yes its working from firefox, also using wget from shell
{{{curl http://svn.wildfiregames.com/public/ps/trunk <!DOCTYPE HTML PUBLIC "-IETFDTD HTML 2.0EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://svn.wildfiregames.com/public/ps/trunk/">here</a>.</p> <hr> <address>Apache/2.2 Server at svn.wildfiregames.com Port 80</address> </body></html> }}}
comment:5 by , 14 years ago
Hmm, in the server's access log I see some things like the following (from what appears to be your IP address):
[23/Mar/2010:10:32:29 +0000] "GET http://svn.wildfiregames.com/public/ps/trunk/ HTTP/1.1" 200 1198 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" [23/Mar/2010:10:39:42 +0000] "GET http://svn.wildfiregames.com/public/ps/trunk/ HTTP/1.1" 200 1198 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" [23/Mar/2010:10:45:52 +0000] "OPTIONS http://svn.wildfiregames.com/public/ps/trunk HTTP/1.1" 200 751 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
(plus some requests from Firefox). The bit that says MSIE 5.5; Windows 98
is odd - I assume you're not really using that browser, and it's different to the SVN/1.6.6 (r40053) neon/0.29.0
that you say is being sent. It looks like you may have something (local software or a network proxy or something) that is modifying your HTTP requests (at least changing the User-Agent) and may be interfering with SVN.
comment:6 by , 14 years ago
Hello Philip,
That is really strange.
I will do one more svn request once you confirm, to be sure that the request is coming from my system only.
I have noticed that If I give the following request from svn (by modifying the library manually) i am getting response from the server correctly:
OPTIONS http://svn.wildfiregames.com/public/ps/trunk HTTP/1.1 User-Agent: SVN/1.6.6 (r40053) neon/0.29.0 Accept: */* Host: svn.wildfiregames.com
seems really strange ...
comment:7 by , 14 years ago
More to the investigation...
I have narrowed it down only when there is this "Content-Length:" in the method request that the server seems to be not responding. Just removing that I got a response 200 from server. but again svn was expecting reply 201 for OPTIONS method and subsequently sending an xml file
send(4, "<?xml version=\"1.0\" encoding=\"utf-8\"?><D:options xmlns:D=\"DAV:\"><D:activity-collection-set/></D:options>", 104, 0) = 104
In the working case of any svn client connecting to the server, can you post the strace -p <clinet pid> -s 1000 data?
follow-up: 9 comment:8 by , 14 years ago
If you do a request and tell me the precise time then I can check the server logs to see what it reported, in case that helps.
When I do a checkout, the relevant part is
sendto(3, "OPTIONS /public/ps/trunk HTTP/1.1\r\nUser-Agent: SVN/1.6.9 (r901367) neon/0.29.0\r\nKeep-Alive: \r\nConnection: TE, Keep-Alive\r\nTE: trailers\r\nHost: svn.wildfiregames.com\r\nContent-Type: text/xml\r\nAccept-Encoding: gzip\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r\nContent-Length: 104\r\nAccept-Encoding: gzip\r\n\r\n", 434, 0, NULL, 0) = 434 sendto(3, "<?xml version=\"1.0\" encoding=\"utf-8\"?><D:options xmlns:D=\"DAV:\"><D:activity-collection-set/></D:options>", 104, 0, NULL, 0) = 104 poll([{fd=3, events=POLLIN}], 1, 3600000) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "HTTP/1.0 200 OK\r\nDate: Wed, 24 Mar 2010 08:44:01 GMT\r\nServer: Apache/2.2\r\nDAV: 1,2\r\nDAV: version-control,checkout,working-resource\r\nDAV: merge,baseline,activity,version-controlled-collection\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/partial-replay\r\nMS-Author-Via: DAV\r\nAllow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK,CHECKOUT\r\nVary: Accept-Encoding\r\nContent-Encoding: gzip\r\nContent-Length: 145\r\nContent-Type: text/xml; charset=\"utf-8\"\r\nX-Cache: MISS from compass\r\nX-Cache-Lookup: MISS from compass:8001\r\nVia: 1.0 compass:8001 (squid/2.6.STABLE18)\r\nConnection: keep-alive\r\n\r\n\37\213\10\0\0\0\0\0\0\3u\215\261\16\2!\20D\373\373\n\334\36W;C8.&|\203\275\342\236\222 \20\226#\372\367r\306\316X\315$\363^FO\317G\20\215\n\373\24G\330ow (\272t\365\3616\302Rgy\200\311\f\332\252\224kGX\26\342\334\223D\27#+;\202=\236\24|\230\263\253\276\371\372\222.\205@n\25$S5}\272\27\232\r\346\345\22\274\303\r\267\210\35F\215\337e-\177m\374}7\303\33\275J\331\6\272\0\0\0", 4096, 0, NULL, NULL) = 937
One thing you could try is an HTTPS version at https://svn.wildfiregames.com/public/ps/trunk
(ignore warnings about insecure certificates - it's not meant to be secure). If the problem is a proxy server not understanding OPTIONS requests then this might work around it.
comment:9 by , 14 years ago
Replying to Philip:
If you do a request and tell me the precise time then I can check the server logs to see what it reported, in case that helps.
When I do a checkout, the relevant part is
sendto(3, "OPTIONS /public/ps/trunk HTTP/1.1\r\nUser-Agent: SVN/1.6.9 (r901367) neon/0.29.0\r\nKeep-Alive: \r\nConnection: TE, Keep-Alive\r\nTE: trailers\r\nHost: svn.wildfiregames.com\r\nContent-Type: text/xml\r\nAccept-Encoding: gzip\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r\nContent-Length: 104\r\nAccept-Encoding: gzip\r\n\r\n", 434, 0, NULL, 0) = 434 sendto(3, "<?xml version=\"1.0\" encoding=\"utf-8\"?><D:options xmlns:D=\"DAV:\"><D:activity-collection-set/></D:options>", 104, 0, NULL, 0) = 104 poll([{fd=3, events=POLLIN}], 1, 3600000) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "HTTP/1.0 200 OK\r\nDate: Wed, 24 Mar 2010 08:44:01 GMT\r\nServer: Apache/2.2\r\nDAV: 1,2\r\nDAV: version-control,checkout,working-resource\r\nDAV: merge,baseline,activity,version-controlled-collection\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r\nDAV: http://subversion.tigris.org/xmlns/dav/svn/partial-replay\r\nMS-Author-Via: DAV\r\nAllow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK,CHECKOUT\r\nVary: Accept-Encoding\r\nContent-Encoding: gzip\r\nContent-Length: 145\r\nContent-Type: text/xml; charset=\"utf-8\"\r\nX-Cache: MISS from compass\r\nX-Cache-Lookup: MISS from compass:8001\r\nVia: 1.0 compass:8001 (squid/2.6.STABLE18)\r\nConnection: keep-alive\r\n\r\n\37\213\10\0\0\0\0\0\0\3u\215\261\16\2!\20D\373\373\n\334\36W;C8.&|\203\275\342\236\222 \20\226#\372\367r\306\316X\315$\363^FO\317G\20\215\n\373\24G\330ow (\272t\365\3616\302Rgy\200\311\f\332\252\224kGX\26\342\334\223D\27#+;\202=\236\24|\230\263\253\276\371\372\222.\205@n\25$S5}\272\27\232\r\346\345\22\274\303\r\267\210\35F\215\337e-\177m\374}7\303\33\275J\331\6\272\0\0\0", 4096, 0, NULL, NULL) = 937One thing you could try is an HTTPS version at
https://svn.wildfiregames.com/public/ps/trunk
(ignore warnings about insecure certificates - it's not meant to be secure). If the problem is a proxy server not understanding OPTIONS requests then this might work around it.
Just started the svn co https and it seems to be working... Hopefully it will go fine :-) Thanks for your help Philip.
comment:10 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
now edited manually .svn/entries to use https insted of http and started svn up .. Its working perfect...
comment:11 by , 14 years ago
Glad it works now! (It might be better to use svn switch --relocate
to change URL rather than manually editing the files, though.)
Hmm, works for me! Presumably it's a connection issue rather than a problem with the server. Do you have some kind of web proxy or firewall or filter that might be preventing access?
A few things to try, to see where the problem might be:
Can you open http://svn.wildfiregames.com/public/ps/trunk/ in a web browser?
Can you run something like
to open it outside of a browser?
Can you run
to see if it responds at all?