Fossil

View Ticket
Login
Ticket Hash: ad76b5d67b6e054f30d5b8d2b92a92015bd1db1d
Title: Cannot clone http://www.fossil-scm.org/
Status: Open Type: Incident
Severity: Minor Priority:
Subsystem: Resolution: Open
Last Modified: 2010-11-09 17:53:23
Version Found In: [d0753799e4] 2010-11-01 14:23:35 UTC
Description:
Cannot clone www.fossil-scm.org, but cloning www2.fossil-scm.org works. Windows XP SP3 32-bit.
<verbatim>
C:\Projects>fossil clone http://www.fossil-scm.org/ fossil.fossil
                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
processed: 0%         fossil: unknown command: ☺1q┼xЬь}iw█╕▓рчсп`л╙ЙЬжm☻рк─yЇn'▐╫,Эё☺☺Pвн-вфнoЄ█з

C:\Projects>fossil ver
This is fossil version [d0753799e4] 2010-11-01 14:23:35 UTC
</verbatim>

<hr /><i>anonymous added on 2010-11-09 14:51:04:</i><br />
Upd: same problem when cloning my own repository.
<verbatim>
                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
Received:         152          2          0          0
Sent:             648         26          0          0
processed: 0%         fossil: unknown command:
</verbatim>
Both server and client are running fossil [d0753799e4] 2010-11-01 14:23:35 UTC (Linux x86-64 version on server, Windows XP version on client).

<hr /><i>anonymous added on 2010-11-09 15:02:40:</i><br />
Can you get a network trace e.g. with tcpdump of the connection?

<hr /><i>drh added on 2010-11-09 15:21:38:</i><br />
I'm very sorry that this does not work for you.  However, it does work for
me, on both Linux and WinXP.  On WinXP (running under VMWare) see the result
of doing a clone in the attachment below.  For Linux, I get:

<blockquote><pre>
drh@elly:~/fossil/m2> ./fossil clone http://www.fossil-scm.org/ x1.fossil
                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
Received:    20017608       9494       2819       6673
Sent:             651         26          0          0
Received:       34771         22          4          0
Total network traffic: 605 bytes sent, 6984263 bytes received
Rebuilding repository meta-data...
  100.0% complete...
project-id: CE59BB9F186226D80E49D1FA2DB29F935CCA0333
server-id:  9834fa9cbb13bf51d29168a63c48459a9bd4e02a
admin-user: drh (password is "d7f2a5")
drh@elly:~/fossil/m2> ./fossil version
This is fossil version [d0753799e4] 2010-11-01 14:23:35 UTC
</pre></blockquote>

I do not have any idea what might be going wrong for you.  Please help us
by sending debugging info.  Add the --httptrace option to your clone
command and see what comes back.  Explain in detail your network configuration
and setup.  www.fossil-scm.org is now attempting to send a 20MB reply to
the first clone query, whereas www2.fossil-scm.org limits the first reply
to 5MB.  Might this larger reply be causing problems for your firewall?

<hr /><i>drh added on 2010-11-09 15:24:29:</i><br />
I just lowered the reply-size limit on www.fossil-scm.org from 20MB to 4MB.
Please try again to clone from that site and report success or failure.

<hr /><i>anonymous added on 2010-11-09 17:53:23:</i><br />
<b>drh</b>, now it works.<verbatim>C:\Projects>fossil clone http://www.fossil-scm.org/ fossil.fossil
                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
Received:     4003936       2879        255       2622
Sent:             651         26          0          0
Received:     4114679       2700        946       1736
Sent:              56         17          0          0
Received:     4093181       2864       1139       1723
Sent:              56          1          0          0
Received:     4719404        234        102        130
Sent:              56          1          0          0
Received:     3142843        850        386        462
Total network traffic: 1217 bytes sent, 7002624 bytes received</verbatim>
Actually it started working almost immediately after this:
<i>anonymous added on 2010-11-09 15:02:40</i>.

I'm using an ADSL router to connect to the Internet, I have no firewall, no AV software, no other active network interfaces. Also I have WinPCap installed but I don't think it can cause any problems.

As for [052de1d35b] I've sent you an email with --httptrace.

Attachments: