Fossil

View Ticket
Login

View Ticket

Ticket Hash: ad76b5d67b6e054f30d5b8d2b92a92015bd1db1d
Title: Cannot clone http://www.fossil-scm.org/
Status: Closed Type: Incident
Severity: Minor Priority:
Subsystem: Resolution: Overcome_By_Events
Last Modified: 2024-01-29 06:45:00
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.
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

anonymous added on 2010-11-09 14:51:04:
Upd: same problem when cloning my own repository.

                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
Received:         152          2          0          0
Sent:             648         26          0          0
processed: 0%         fossil: unknown command:
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).

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


drh added on 2010-11-09 15:21:38:
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:

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

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?


drh added on 2010-11-09 15:24:29:
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.


anonymous added on 2010-11-09 17:53:23:
drh, now it works.

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
Actually it started working almost immediately after this: anonymous added on 2010-11-09 15:02:40.

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.

User Comments:
added on 2024-01-29 06:45:00:
Closing as part of periodic cleanup.

Attachments: