Hi,
I am trying to:
git push --set-upstream origin UNTRACKED-blogCss
To repository:
https://username@bitbucket.org/workspace-id/repo.git
I am getting the following:
lettucegrowshop % git push --set-upstream origin UNTRACKED-blogCss
Enumerating objects: 17, done.
Counting objects: 100% (17/17), done.
Delta compression using up to 11 threads
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 710.48 KiB | 355.24 MiB/s, done.
Total 11 (delta 5), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
I turned on Git tracing (
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
)
There is a lot of debugging data, but then:
Enumerating objects: 17, done.
Counting objects: 100% (17/17), done.
Delta compression using up to 11 threads
Compressing objects: 100% (11/11), done.
16:32:49.930988 pkt-line.c:80 packet: git< PACK ...
Writing objects: 100% (11/11), 710.48 KiB | 355.24 MiB/s, done.
Total 11 (delta 5), reused 0 (delta 0), pack-reused 0
16:32:49.932473 pkt-line.c:80 packet: git> 0000
16:32:49.932572 http.c:699 == Info: Found bundle for host: 0x600001715650 [can multiplex]
16:32:49.932588 http.c:699 == Info: Re-using existing connection #0 with host bitbucket.org
16:32:49.932594 http.c:699 == Info: Server auth using Basic with user 'gcampTFP'
16:32:49.932606 http.c:699 == Info: h2 [:method: POST]
16:32:49.932607 http.c:699 == Info: h2 [:scheme: https]
16:32:49.932608 http.c:699 == Info: h2 [:authority: bitbucket.org]
16:32:49.932610 http.c:699 == Info: h2 [:path: /workspace-id/repo.git/git-receive-pack]
16:32:49.932611 http.c:699 == Info: h2 [authorization: Basic <redacted>]
16:32:49.932612 http.c:699 == Info: h2 [user-agent: git/2.39.3 (Apple Git-145)]
16:32:49.932613 http.c:699 == Info: h2 [accept-encoding: deflate, gzip]
16:32:49.932614 http.c:699 == Info: h2 [content-type: application/x-git-receive-pack-request]
16:32:49.932616 http.c:699 == Info: h2 [accept: application/x-git-receive-pack-result]
16:32:49.932617 http.c:699 == Info: h2 [content-length: 727731]
16:32:49.932621 http.c:699 == Info: Using Stream ID: 7 (easy handle 0x157818c00)
16:32:49.932751 http.c:646 => Send header, 0000000349 bytes (0x0000015d)
16:32:49.932757 http.c:658 => Send header: POST /workspace-id/repo.git/git-receive-pack HTTP/2
16:32:49.932758 http.c:658 => Send header: Host: bitbucket.org
16:32:49.932759 http.c:658 => Send header: Authorization: Basic <redacted>
16:32:49.932761 http.c:658 => Send header: User-Agent: git/2.39.3 (Apple Git-145)
16:32:49.932761 http.c:658 => Send header: Accept-Encoding: deflate, gzip
16:32:49.932766 http.c:658 => Send header: Content-Type: application/x-git-receive-pack-request
16:32:49.932767 http.c:658 => Send header: Accept: application/x-git-receive-pack-result
16:32:49.932768 http.c:658 => Send header: Content-Length: 727731
16:32:49.932769 http.c:658 => Send header:
16:32:50.132066 http.c:699 == Info: We are completely uploaded and fine
NOTE: THIS IS WHERE IS HANGS
16:37:50.523145 http.c:646 <= Recv header, 0000000013 bytes (0x0000000d)
16:37:50.523242 http.c:658 <= Recv header: HTTP/2 408
16:37:50.523258 http.c:646 <= Recv header, 0000000025 bytes (0x00000019)
16:37:50.523265 http.c:658 <= Recv header: cache-control: no-cache
16:37:50.523275 http.c:646 <= Recv header, 0000000033 bytes (0x00000021)
16:37:50.523282 http.c:658 <= Recv header: x-content-type-options: nosniff
16:37:50.523291 http.c:646 <= Recv header, 0000000033 bytes (0x00000021)
16:37:50.523297 http.c:658 <= Recv header: x-xss-protection: 1; mode=block
16:37:50.523305 http.c:646 <= Recv header, 0000000047 bytes (0x0000002f)
16:37:50.523315 http.c:658 <= Recv header: atl-traceid: 48eee0fe59e141b891388e1c7e078882
16:37:50.523324 http.c:646 <= Recv header, 0000000144 bytes (0x00000090)
16:37:50.523345 http.c:658 <= Recv header: report-to: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
16:37:50.523361 http.c:646 <= Recv header, 0000000105 bytes (0x00000069)
16:37:50.523368 http.c:658 <= Recv header: nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}
16:37:50.523387 http.c:646 <= Recv header, 0000000073 bytes (0x00000049)
16:37:50.523403 http.c:658 <= Recv header: strict-transport-security: max-age=63072000; includeSubDomains; preload
16:37:50.523413 http.c:646 <= Recv header, 0000000032 bytes (0x00000020)
16:37:50.523420 http.c:658 <= Recv header: access-control-allow-origin: *
16:37:50.523442 http.c:646 <= Recv header, 0000000025 bytes (0x00000019)
16:37:50.523450 http.c:658 <= Recv header: content-type: text/html
16:37:50.523459 http.c:646 <= Recv header, 0000000023 bytes (0x00000017)
16:37:50.523467 http.c:658 <= Recv header: vary: Accept-Encoding
16:37:50.523490 http.c:646 <= Recv header, 0000000024 bytes (0x00000018)
16:37:50.523499 http.c:658 <= Recv header: content-encoding: gzip
16:37:50.523507 http.c:646 <= Recv header, 0000000037 bytes (0x00000025)
16:37:50.523514 http.c:658 <= Recv header: date: Tue, 06 Aug 2024 23:37:50 GMT
16:37:50.523522 http.c:646 <= Recv header, 0000000023 bytes (0x00000017)
16:37:50.523529 http.c:658 <= Recv header: server: AtlassianEdge
16:37:50.523539 http.c:646 <= Recv header, 0000000002 bytes (0x00000002)
16:37:50.523546 http.c:658 <= Recv header:
16:37:50.523831 http.c:699 == Info: Connection #0 to host bitbucket.org left intact
error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
I did the following (but nothing helped):
git config http.postBuffer 524288000
git config http.lowSpeedTime 600
git config --global pack.window 1
git config --global core.compression 0
And added the following to my .git/config:
[core]
packedGitLimit = 512m
packedGitWindowSize = 512m
[pack]
deltaCacheSize = 2047m
packSizeLimit = 2047m
windowMemory = 2047m