Obsidian - Github not working anymore

What I’m trying to do

Hello everyone! Thanks for reading this :slight_smile:

I’m having a big problem syncing Obsidian to Github. It’s all for personal use. I’ve doing it for quite some time now but one day I got the error ’ send-pack: unexpected disconnect while reading sideband packet’ (please check the picture below).

I don’t have any idea on why this is happening and after spending countless hours searching on the net I couldn’t find an answer either. I wish somebody can help.

Things I have tried

I face this error whether I do push:

  • A commit with a single byte of data modified.
  • A commit with a large amount of data modified (like 100 files).
  • Multiple commits.
  • A commit within a fresh repo.

Things that I’ve also tried:

  • Create new repos in Github, clone them and try to do everything from scratch.
  • I don’t have any internet connection problems but I also tried connecting in other places just to make sure.
  • Watched and searched a ton of videos, approaches lead to nowhere.
    Screenshot 2024-08-23 at 07.58.21

To add to the above, if it helps, I I only have 110 files in the repo which is 19,6 MB. It’s not a size problem I suppose!

never seen this one
maybe ask an abler bot

possibly you need to use https or better, ssh protocol instead?

Thanks so much for your answer! I’ve been using a classical (general use) GitHub token which is is passed through Https. I just don’t know why I can’t sync it and it’s a nightmare.

Update: After the 7th day of having this issue. Today I was able to only push 1 file to GitHub. If I push more than 1 file, the whole error loop starts again and I must delete and re-clone the whole repo all over again. It seems like a bug?

are you using VPN?

are you using terminal or the error output comes from obsidian git plugin?

how many devices you use (or only one for backup)?

Hi. You can test problem in console with git client. If it works in console and don’t work with obsidian-git - it’s one point. If it don’t work in console - another.

I had size problem on Ipad and got crashes on trying pool data. But desktop with same WiFi worked ok.

Shells for desktop are already existed.
For mobile it’s possible to find smth in store.
As example - for IOS - I used Ish.
here is example how to use it

Well, I founded problem rpc crash

So I desided to load repo via ssh. Added openssh, generated keys - and everything works.

Probably some middleware server breaks your pushes? You can try to push commit manually via ssh in console.