Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unexpected disconnect while reading sideband packet #34

Open
2 tasks
rahmanrezaee opened this issue Jun 15, 2024 · 4 comments
Open
2 tasks

fix: unexpected disconnect while reading sideband packet #34

rahmanrezaee opened this issue Jun 15, 2024 · 4 comments

Comments

@rahmanrezaee
Copy link

rahmanrezaee commented Jun 15, 2024

Description

when we install shorebird its shows this error becuase github server with http cloning shows this error

error: RPC failed; curl 18 Transferred a partial file0 KiB/s  
error: 5295 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

so have to customize some files to ssh like change in install.sh file to this

echo "Cloning Shorebird into $(install_dir)"
git clone git@github.com:shorebirdtech/shorebird.git -b stable "$(install_dir)"

and in shorebird.ps file

function Update-Flutter {
...
git clone --filter=tree:0 git@github.com:shorebirdtech/flutter.git --no-checkout "$flutterPath" 
...
}

Requirements

  • Add options for while installing you want clone as http or ssh
  • Or check if has stable network then use http otherwise to ssh
@eseidel
Copy link
Contributor

eseidel commented Jun 17, 2024

Thank you for the report!

I suspect we'll solve this by moving to a method other than git for distribution.

@eseidel eseidel changed the title feat: Add clone via ssh fix: unexpected disconnect while reading sideband packet Jun 17, 2024
@eseidel eseidel transferred this issue from shorebirdtech/shorebird Jun 17, 2024
@Kingsley-EZE
Copy link

Thank you for the report!

I suspect we'll solve this by moving to a method other than git for distribution.

@eseidel Any update on the new method for distribution? Currently stuck on this issue :(

@eseidel
Copy link
Contributor

eseidel commented Jul 8, 2024

I don't expect we'll have an alternative method of distribution anytime soon. I would recommend simply re-trying. My experience with this issue is that it seems to be just a bad error message for typically transient network issues.

@Kingsley-EZE
Copy link

I don't expect we'll have an alternative method of distribution anytime soon. I would recommend simply re-trying. My experience with this issue is that it seems to be just a bad error message for typically transient network issues.

You were actually right, it was because of network issues. I was install it with a better and stronger network. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants