Hello everyone,
It’s my first time posting here, and I hope my first won’t be a bad one, but I am relatively confused with the current issue I am having and the solutions present there on the internet that I have found as well as here on the forums are not helpful.
So, whenever I try to clone a repository from my gitea instance I can’t since when doing that via ssh i get:
BUG: upload-pack.c:262: packfile_uris requires sideband-all
error:
error: Failed to execute git command
error:
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
And it doesn’t matter if it’s a shallow clone or not, the same thing also happens via https (But the stack-trace there is even more scarce):
fetch-pack: unexpected disconnect while reading sideband packet
fatal: protocol error: bad pack header
I have checked my local git configurations to make sure that the internet connection was not the issue, and tried git protocol v2 as well as other options, i.e. something mentioned here.
My gitea is version 1.27.3 built with go1.26.7-X:jsonv2 : bindata, timetzdata which is in docker container with nginx reverse proxy.
And my client machines where I am trying to pull are MacOS Tahoe 26.6.2 and git 2.50.1 and EndeavourOS with git 2.53.0.
The most confusing part here is that it only doesn’t function on clone, the various repos i have on different machines do work, but the clone is the problem.
If you ever encountered similar issue or have a similar setup and would share the possible solution - I would be very grateful!
Have a nice day!