Skip to content

fix: unexpected disconnect while reading sideband packet #34

@rahmanrezaee

Description

@rahmanrezaee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions