Skip to content

libra push: 502 Bad Gateway #653

Description

@MrBeanCpp

I performed the following actions:

libra clone https://git.gitmono.org/project/moxin/model-cards.git
# It's an empty repo ↑
libra add jT37NqVvgdbsjdo2LkFVwjtYtrfYrdoXR2uGyRWpUyZi/Qwen2.5-0.5B-Instruct-Q2_K.json
libra add index.json
libra commit -m "Add model card: jT37NqVvgdbsjdo2LkFVwjtYtrfYrdoXR2uGyRWpUyZi/Qwen2.5-0.5B-Instruct-Q2_K"
libra push

But got an error:

status code: 502 Bad Gateway
thread 'main' panicked at ceres/src/protocol/smart.rs:386:29:
b"<htm" is not a valid digit?

Full log:

pushing master(e240c9828a680ab2c6cc5d94e88d7fab3303bbe3) to origin(https://git.gitmono.org/project/moxin/model-cards.git/)
2024-10-23T03:27:07.743934Z DEBUG hyper_util::client::legacy::connect::dns: resolving host="git.gitmono.org"
2024-10-23T03:27:07.760886Z DEBUG hyper_util::client::legacy::connect::http: connecting to 119.28.91.197:443
2024-10-23T03:27:07.792854Z DEBUG hyper_util::client::legacy::connect::http: connected to 119.28.91.197:443
2024-10-23T03:27:07.892368Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("https", git.gitmono.org)
2024-10-23T03:27:07.892523Z DEBUG libra::internal::protocol::https_client: Response { url: "https://git.gitmono.org/project/moxin/model-cards.git/info/refs?service=git-receive-pack", status: 200, headers: {"server": "nginx/1.24.0 (Ubuntu)", "date": "Wed, 23 Oct 2024 03:27:07 GMT", "content-type": "application/x-git-receive-pack-advertisement", "content-length": "205", "connection": "keep-alive", "cache-control": "no-cache, max-age=0, must-revalidate", "vary": "origin, access-control-request-method, access-control-request-headers", "access-control-allow-origin": "*"} }
2024-10-23T03:27:07.892676Z DEBUG libra::internal::protocol::https_client: b"001f# service=git-receive-pack\n000000a60000000000000000000000000000000000000000 capabilities^{}\0report-status report-status-v2 delete-refs quiet atomic no-thin side-band-64k ofs-delta agent=mega/0.1.0\n0000"
2024-10-23T03:27:07.892725Z DEBUG ceres::protocol::smart: pkt line: b"# service=git-receive-pack\n"
2024-10-23T03:27:07.892748Z DEBUG ceres::protocol::smart: pkt line: b"0000000000000000000000000000000000000000 capabilities^{}\0report-status report-status-v2 delete-refs quiet atomic no-thin side-band-64k ofs-delta agent=mega/0.1.0\n"
2024-10-23T03:27:07.893976Z DEBUG libra::command::push: b"00760000000000000000000000000000000000000000 e240c9828a680ab2c6cc5d94e88d7fab3303bbe3 refs/heads/master\0report-status\n0000"
2024-10-23T03:27:07.894035Z DEBUG libra::command::push: local_ref: e240c9828a680ab2c6cc5d94e88d7fab3303bbe3, remote_ref: 0000000000000000000000000000000000000000
Counting objects: 5 done.
2024-10-23T03:27:07.910084Z  INFO libra::internal::protocol::lfs_client: No LFS objects to push.
Compression...
2024-10-23T03:27:07.910767Z  INFO mercury::internal::pack::encode: encode with batch size: 100000
2024-10-23T03:27:07.910810Z  INFO mercury::internal::pack::encode: parallel encode: receive batch: 7.11µs
2024-10-23T03:27:07.916881Z  INFO mercury::internal::pack::encode: parallel encode: encode batch: 6.029231ms
2024-10-23T03:27:07.916975Z  INFO mercury::internal::pack::encode: parallel encode: write batch: 57.629µs
2024-10-23T03:27:07.917525Z  INFO mercury::internal::pack::encode: parallel encode: receive batch: 3.612µs
Delta compression done.
2024-10-23T03:27:07.917954Z DEBUG hyper_util::client::legacy::pool: reuse idle connection for ("https", git.gitmono.org)
2024-10-23T03:27:07.959115Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("https", git.gitmono.org)
status code: 502 Bad Gateway
thread 'main' panicked at ceres/src/protocol/smart.rs:386:29:
b"<htm" is not a valid digit?
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrustPull requests that update Rust code

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions