From: jrmu Subject: Issue with gotd and cloning large repos To: gameoftrees@openbsd.org Date: Thu, 17 Jul 2025 13:50:22 -0700 Greetings, I'm running into an issue with cloning large repositories (>100MB with thousands of files) using got and gotd. I'm not sure if this is a configuration error on my side or a bug. I don't have a problem with small repos, only a particularly large one. I set up gotd and gotwebd using the guides I wrote here: https://wiki.ircnow.org/index.php?n=Gotd.Configure https://wiki.ircnow.org/index.php?n=Gotwebd.Configure At the suggestion of stsp on IRC, I tried recreating the got repo using got 0.116-current but I'm still getting the same error. $ got clone ssh://anonymous@got.gameoftrees.org/got.git $ got checkout got.git $ mkdir ~/bin $ cd ~/got $ make obj $ make $ make install $ make obj $ make server $ make server-install $ doas chsh -s /home/jrmu/bin/gotsh anonymous $ doas /home/jrmu/bin/gotd -f /etc/gotd.conf -dvv parent: socket: /var/run/gotd.sock parent: user: _gotd listen: listening for client connections ... parent: starting reader for repository almanack parent: proc repo_read /var/git/almanack.git is on fd 9 session_read /var/git/almanack.git: uid 1002: expecting capabilities session_read /var/git/almanack.git: receiving capabilities from uid 1002 session_read /var/git/almanack.git: expecting 3 capabilities from uid 1002 session_read /var/git/almanack.git: uid 1002: capability agent=got/0.116-current session_read /var/git/almanack.git: uid 1002: capability ofs-delta session_read /var/git/almanack.git: uid 1002: capability side-band-64k session_read /var/git/almanack.git: uid 1002: expecting want-lines session_read /var/git/almanack.git: received want-line from uid 1002 repo_read /var/git/almanack.git: client wants e7973d66bf6277d2d3b1850d5466db2b48a86b11 repo_read /var/git/almanack.git: sending ACK for e7973d66bf6277d2d3b1850d5466db2b48a86b11 session_read /var/git/almanack.git: received flush-pkt from uid 1002 session_read /var/git/almanack.git: uid 1002: expecting have-lines or 'done' session_read /var/git/almanack.git: received 'done' from uid 1002 repo_read /var/git/almanack.git: receiving delta cache file repo_read /var/git/almanack.git: receiving pack pipe descriptor repo_read /var/git/almanack.git: packfile request received repo_read /var/git/almanack.git: sending packfile: raw object has unexpected size session_read /var/git/almanack.git: uid 1002: raw object has unexpected size session_read /var/git/almanack.git: uid 1002: disconnecting session_read /var/git/almanack.git: session_read /var/git/almanack.git: shutting down parent: uid 1002: disconnecting parent: kill -15 31223 parent: kill -15 21773 parent: reaped pid 31223 listen: client disconnecting listen: client on fd 6 disconnecting repo_read /var/git/almanack.git: repo_read /var/git/almanack.git: shutting down parent: reaped pid 21773 On a client PC (running got 0.110) I ran this: $ got clone ssh://anonymous@jrmu.host.nastycode.com/almanack.git Connecting to ssh://anonymous@jrmu.host.nastycode.com/almanack.git server: 1 commits colored, 2872 objects found, deltify 90%gotsh: raw object has unexpected size got-fetch-pack: unknown side-band received from server got: bad packet received gotsh keeps reporting that the raw object has an unexpected size, I keep getting that same error message. Any help would be greatly appreciated. Thank you! -- Aaron Lin jrmu@ircnow.org IRCNow (https://ircnow.org)