8000 fatal: expected 'packfile' · Issue #970 · finos/git-proxy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fatal: expected 'packfile' #970

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

Open
carlosjourdan opened this issue Apr 8, 2025 · 0 comments
Open

fatal: expected 'packfile' #970

carlosjourdan opened this issue Apr 8, 2025 · 0 comments

Comments

@carlosjourdan
Copy link

Describe the bug

Git clone fails with message

Cloning into 'git-proxy'...
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
fatal: expected 'packfile'

To Reproduce
Steps to reproduce the behavior:

  1. Setup devcontainer environment using mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm
  2. Create proxy.config.json file with standard configuration
  3. Run npx -- @finos/git-proxy
  4. Open a new shell and run git clone http://localhost:8000/finos/git-proxy.git

Expected behavior
Git clone operation should be performed succesfully

Additional context

This is the full output from the npx command:

No plugins configured
Found 0 plugin modules
Service Listening on 8080
HTTP Proxy Listening on 8000
HTTPS Proxy Listening on 8443
request url:  /finos/git-proxy.git/info/refs?service=git-upload-pack
host:  localhost:8000
user-agent:  git/2.49.0
Inserting loaded plugins (0 push, 0 pull) into proxy chains
[
  {
    project: 'finos',
    name: 'git-proxy',
    url: 'https://github.com/finos/git-proxy.git',
    users: { canPush: [Array], canAuthorise: [Array] },
    _id: 'tl9xaZgXRwFYzysT'
  }
]
finos/git-proxy = finos/git-proxy
{
  project: 'finos',
  name: 'git-proxy',
  url: 'https://github.com/finos/git-proxy.git',
  users: { canPush: [ 'admin' ], canAuthorise: [ 'admin' ] },
  _id: 'tl9xaZgXRwFYzysT'
}
found
checkRepoInAuthorisedList - repo finos/git-proxy.git is in the authorisedList
action processed
Sending request to https://github.com/finos/git-proxy.git/info/refs?service=git-upload-pack
request url:  /finos/git-proxy.git/git-upload-pack
host:  localhost:8000
user-agent:  git/2.49.0
action processed
Sending request to https://github.com/finos/git-proxy.git/git-upload-pack
request url:  /finos/git-proxy.git/git-upload-pack
host:  localhost:8000
user-agent:  git/2.49.0
action processed
Sending request to https://github.com/finos/git-proxy.git/git-upload-pack
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

1 participant
0