"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
"Omar Polo" <op@omarpolo.com>
Subject:
failing to send refs due to "bad packet received"
To:
gameoftrees@openbsd.org
Date:
Sat, 12 Jul 2025 16:08:02 +0200

Download raw body.

Thread
Hello,

Not sure I understand what's going on.  I don't think i've seen this
before, if my memory doesn't fail on me it's something i started to
see in the last few days when trying to send refs.

Here's a debug log: (more below)

<<<<<<<<<<<<<<<<
$ got br
op/excluding
$ got se -vvvv
Connecting to "origin" ssh://git@github.com/PlakarKorp/kloset.git
debug1: OpenSSH_10.0, LibreSSL 4.1.0
debug3: Running on OpenBSD 7.7 GENERIC.MP#11 amd64
debug3: Started with: /usr/bin/ssh -v -v -v -- git@github.com git-receive-pack \\'/PlakarKorp/kloset.git\\'
debug1: Reading configuration data /home/op/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/op/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/op/.ssh/known_hosts2'
debug2: resolving "github.com" port 22
debug3: resolve_host: lookup github.com:22
debug3: channel_clear_timeouts: clearing
debug3: ssh_connect_direct: entering
debug1: Connecting to github.com [140.82.121.4] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /home/op/.ssh/id_rsa type -1
debug1: identity file /home/op/.ssh/id_rsa-cert type -1
debug1: identity file /home/op/.ssh/id_ecdsa type -1
debug1: identity file /home/op/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/op/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/op/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/op/.ssh/id_ed25519 type 2
debug1: identity file /home/op/.ssh/id_ed25519-cert type -1
debug1: identity file /home/op/.ssh/id_ed25519_sk type -1
debug1: identity file /home/op/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/op/.ssh/id_xmss type -1
debug1: identity file /home/op/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_10.0
debug1: Remote protocol version 2.0, remote software version 44082949
debug1: compat_banner: no match: 44082949
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to github.com:22 as 'git'
debug3: record_hostkey: found key type ED25519 in file /home/op/.ssh/known_hosts:4
debug3: record_hostkey: found key type RSA in file /home/op/.ssh/known_hosts:5
debug3: record_hostkey: found key type ECDSA in file /home/op/.ssh/known_hosts:6
debug3: load_hostkeys_file: loaded 3 keys from github.com
debug1: load_hostkeys: fopen /home/op/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: have matching best-preference key type ssh-ed25519-cert-v01@openssh.com, using HostkeyAlgorithms verbatim
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c,kex-strict-c-v00@openssh.com
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com
debug2: compression stoc: none,zlib@openssh.com
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,kex-strict-s-v00@openssh.com
debug2: host key algorithms: ssh-ed25519,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
debug2: MACs ctos: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
debug2: MACs stoc: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
debug2: compression ctos: none,zlib@openssh.com
debug2: compression stoc: none,zlib@openssh.com
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug3: kex_choose_conf: will use strict KEX ordering
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU
debug3: record_hostkey: found key type ED25519 in file /home/op/.ssh/known_hosts:4
debug3: record_hostkey: found key type RSA in file /home/op/.ssh/known_hosts:5
debug3: record_hostkey: found key type ECDSA in file /home/op/.ssh/known_hosts:6
debug3: load_hostkeys_file: loaded 3 keys from github.com
debug1: load_hostkeys: fopen /home/op/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'github.com' is known and matches the ED25519 host key.
debug1: Found key in /home/op/.ssh/known_hosts:4
debug3: send packet: type 21
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug2: KEX algorithms: mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c,kex-strict-c-v00@openssh.com
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com
debug2: compression stoc: none,zlib@openssh.com
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug3: kex_input_ext_info: extension server-sig-algs
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug3: ssh_get_authentication_socket_path: path '/home/op/.ssh/agent/s.6KP5GjY1hI.agent.UrcgR9BQcs'
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: agent returned 1 keys
debug1: Will attempt key: /home/op/.ssh/id_ed25519 ED25519 SHA256:qE2A9O2IYB3FxZBSI0BZCQi5ommBoQmtM4hx7fF/oX8 agent
debug1: Will attempt key: /home/op/.ssh/id_rsa 
debug1: Will attempt key: /home/op/.ssh/id_ecdsa 
debug1: Will attempt key: /home/op/.ssh/id_ecdsa_sk 
debug1: Will attempt key: /home/op/.ssh/id_ed25519_sk 
debug1: Will attempt key: /home/op/.ssh/id_xmss 
debug2: pubkey_prepare: done
debug1: Offering public key: /home/op/.ssh/id_ed25519 ED25519 SHA256:qE2A9O2IYB3FxZBSI0BZCQi5ommBoQmtM4hx7fF/oX8 agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: /home/op/.ssh/id_ed25519 ED25519 SHA256:qE2A9O2IYB3FxZBSI0BZCQi5ommBoQmtM4hx7fF/oX8 agent
debug3: sign_and_send_pubkey: using publickey with ED25519 SHA256:qE2A9O2IYB3FxZBSI0BZCQi5ommBoQmtM4hx7fF/oX8
debug3: sign_and_send_pubkey: signing using ssh-ed25519 SHA256:qE2A9O2IYB3FxZBSI0BZCQi5ommBoQmtM4hx7fF/oX8
debug3: send packet: type 50
debug3: receive packet: type 52
Authenticated to github.com ([140.82.121.4]:22) using "publickey".
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new session [client-session] (inactive timeout: 0)
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Entering interactive session.
debug1: pledge: filesystem
debug3: client_repledge: enter
debug3: receive packet: type 80
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug3: client_input_hostkeys: received RSA key SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s
debug3: client_input_hostkeys: received ECDSA key SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM
debug3: client_input_hostkeys: received ED25519 key SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU
debug1: client_input_hostkeys: searching /home/op/.ssh/known_hosts for github.com / (none)
debug3: hostkeys_foreach: reading file "/home/op/.ssh/known_hosts"
debug3: hostkeys_find: found ssh-ed25519 key at /home/op/.ssh/known_hosts:4
debug3: hostkeys_find: found ssh-rsa key at /home/op/.ssh/known_hosts:5
debug3: hostkeys_find: found ecdsa-sha2-nistp256 key at /home/op/.ssh/known_hosts:6
debug1: client_input_hostkeys: searching /home/op/.ssh/known_hosts2 for github.com / (none)
debug1: client_input_hostkeys: hostkeys file /home/op/.ssh/known_hosts2 does not exist
debug3: client_input_hostkeys: 3 server keys: 0 new, 3 retained, 0 incomplete match. 0 to remove
debug1: client_input_hostkeys: no new or deprecated keys from server
debug3: client_repledge: enter
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: set_sock_tos: set socket 3 IP_TOS 0x20
debug2: client_session2_setup: id 0
debug1: Sending command: git-receive-pack '/PlakarKorp/kloset.git'
debug2: channel 0: request exec confirm 1
debug3: send packet: type 98
debug3: client_repledge: enter
debug1: pledge: fork
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 32000 rmax 35000
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
got-send-pack: readpkt: 302:	9c3d18b5af349eec69d1bfbe93112bf54e122abc refs/heads/alban/GRPC_exporter[0x00]report-status report-status-v2 delete-refs side-band-64k ofs-delta atomic object-format=sha1 quiet agent=github/spokes-receive-pack-acac8763c60f636c44baaf5c3887895cf5f55c30 session-id=cec2db35e09c8ed41fe02131a9c0ffa1 push-options[0x0a]
got-send-pack: server capabilities: report-status report-status-v2 delete-refs side-band-64k ofs-delta atomic object-format=sha1 quiet agent=github/spokes-receive-pack-acac8763c60f636c44baaf5c3887895cf5f55c30 session-id=cec2db35e09c8ed41fe02131a9c0ffa1 push-options
got-send-pack: my capabilities: report-status delete-refs ofs-delta agent=got/0.115-current
got-send-pack: remote has refs/heads/alban/GRPC_exporter 9c3d18b5af349eec69d1bfbe93112bf54e122abc
got-send-pack: readpkt: 71:	f0e9316cca65d5335846d53e5922a7c0bef798a3 refs/heads/alban/grpc_storage[0x0a]
got-send-pack: remote has refs/heads/alban/grpc_storage f0e9316cca65d5335846d53e5922a7c0bef798a3
got-send-pack: readpkt: 63:	09af09e705c480d0a13e769449e1595755ba74cc refs/heads/ef/dry-run[0x0a]
got-send-pack: remote has refs/heads/ef/dry-run 09af09e705c480d0a13e769449e1595755ba74cc
got-send-pack: readpkt: 69:	475df432873b773426afe7286f9f64f282c14949 refs/heads/landry/grpc-demo[0x0a]
got-send-pack: remote has refs/heads/landry/grpc-demo 475df432873b773426afe7286f9f64f282c14949
got-send-pack: readpkt: 77:	73b76923db20689ba8b7d170d9868e6d1da0c9d7 refs/heads/landry/grpc-importer-fix[0x0a]
got-send-pack: remote has refs/heads/landry/grpc-importer-fix 73b76923db20689ba8b7d170d9868e6d1da0c9d7
got-send-pack: readpkt: 73:	f91e3cb7eabf479e32e5d1dcfb045c7ed566f9b4 refs/heads/landry/muli_importer[0x0a]
got-send-pack: remote has refs/heads/landry/muli_importer f91e3cb7eabf479e32e5d1dcfb045c7ed566f9b4
got-send-pack: readpkt: 57:	9fa0c7fa1fc062ecbf9613a9f7823b16b07bd989 refs/heads/main[0x0a]
got-send-pack: remote has refs/heads/main 9fa0c7fa1fc062ecbf9613a9f7823b16b07bd989
got-send-pack: readpkt: 77:	33cb169c922241b6ff35d691116c88852f980208 refs/heads/mm/backup_multi_importer[0x0a]
got-send-pack: remote has refs/heads/mm/backup_multi_importer 33cb169c922241b6ff35d691116c88852f980208
got-send-pack: readpkt: 69:	9fa547b2085167bea842012a01884d5bd766ad82 refs/heads/mm/config_rework[0x0a]
got-send-pack: remote has refs/heads/mm/config_rework 9fa547b2085167bea842012a01884d5bd766ad82
got-send-pack: readpkt: 75:	40c6074b942490ecb4de5f9f4615f54093c38228 refs/heads/mm/multi_source_backup[0x0a]
got-send-pack: remote has refs/heads/mm/multi_source_backup 40c6074b942490ecb4de5f9f4615f54093c38228
got-send-pack: readpkt: 78:	0d391534b5477b53088984b9740bb7e2a5950030 refs/heads/mm/new_packer_and_planner[0x0a]
got-send-pack: remote has refs/heads/mm/new_packer_and_planner 0d391534b5477b53088984b9740bb7e2a5950030
got-send-pack: readpkt: 71:	94340d87b6089e3a0c9f3213112b4d3d1e764e39 refs/heads/mm/prefetch_chunks[0x0a]
got-send-pack: remote has refs/heads/mm/prefetch_chunks 94340d87b6089e3a0c9f3213112b4d3d1e764e39
got-send-pack: readpkt: 88:	607f05e8937b1c455276f9c5805e9d23d7f78ddd refs/heads/mm/remove_backup_data_from_kcontext[0x0a]
got-send-pack: remote has refs/heads/mm/remove_backup_data_from_kcontext 607f05e8937b1c455276f9c5805e9d23d7f78ddd
got-send-pack: readpkt: 68:	7e159bd167045a7166f7678d25f5203fb8179743 refs/heads/mm/remove_locks[0x0a]
got-send-pack: remote has refs/heads/mm/remove_locks 7e159bd167045a7166f7678d25f5203fb8179743
got-send-pack: readpkt: 69:	8a678caab971a8384840f6a1eb61460bdacb1605 refs/heads/mm/split_context[0x0a]
got-send-pack: remote has refs/heads/mm/split_context 8a678caab971a8384840f6a1eb61460bdacb1605
got-send-pack: readpkt: 59:	1b0b0c3cd8ab687368cf45f2f324d9ee6f4946ad refs/heads/op/exp[0x0a]
got-send-pack: remote has refs/heads/op/exp 1b0b0c3cd8ab687368cf45f2f324d9ee6f4946ad
got-send-pack: readpkt: 74:	1ef75272fdf20a63c48790c1acd5916c0c599c11 refs/heads/op/exporter-interface[0x0a]
got-send-pack: remote has refs/heads/op/exporter-interface 1ef75272fdf20a63c48790c1acd5916c0c599c11
got-send-pack: readpkt: 65:	07ac1731ffa2cb03879e36f34a1029cef0a18942 refs/heads/op/wip/state[0x0a]
got-send-pack: remote has refs/heads/op/wip/state 07ac1731ffa2cb03879e36f34a1029cef0a18942
got-send-pack: readpkt: 69:	894dfc04eb598db1c5b3ac69ddf1daca194de412 refs/heads/poolpOrg-patch-1[0x0a]
got-send-pack: remote has refs/heads/poolpOrg-patch-1 894dfc04eb598db1c5b3ac69ddf1daca194de412
got-send-pack: readpkt: 95:	5bb9f0a6161222434e3206e133ff836017bbe5b7 refs/heads/poolpOrg/add-an-nsnapshots-per-day-counter[0x0a]
got-send-pack: remote has refs/heads/poolpOrg/add-an-nsnapshots-per-day-counter 5bb9f0a6161222434e3206e133ff836017bbe5b7
got-send-pack: readpkt: 75:	01322ee72ce40337c79716f86bc9265a55917854 refs/heads/poolpOrg/grpc-importer[0x0a]
got-send-pack: remote has refs/heads/poolpOrg/grpc-importer 01322ee72ce40337c79716f86bc9265a55917854
got-send-pack: readpkt: 92:	f6e1a52b70d6b7ebc60c22ff3b6a29b4a7a23253 refs/heads/poolpOrg/temporary-relative-resolutions[0x0a]
got-send-pack: remote has refs/heads/poolpOrg/temporary-relative-resolutions f6e1a52b70d6b7ebc60c22ff3b6a29b4a7a23253
got-send-pack: readpkt: 65:	d8c733b1818fa0630452aaba34143ec7adf51947 refs/tags/v1.0.1-beta.1[0x0a]
got-send-pack: remote has refs/tags/v1.0.1-beta.1 d8c733b1818fa0630452aaba34143ec7adf51947
got-send-pack: readpkt: 65:	c19aa18f45dcea48eefb8fcce0eff6dda8d741d2 refs/tags/v1.0.1-beta.2[0x0a]
got-send-pack: remote has refs/tags/v1.0.1-beta.2 c19aa18f45dcea48eefb8fcce0eff6dda8d741d2
got-send-pack: readpkt: 0:	
got-send-pack: no change for refs/heads/main
got-send-pack: writepkt: 00aa:	0000000000000000000000000000000000000000 800cf57e5b1fffe30dc0290e23cab96d2b4a1562 refs/heads/op/excluding[0x00] report-status delete-refs ofs-delta agent=got/0.115-current
got-send-pack: creating refs/heads/op/excluding 800cf57e5b1fffe30dc0290e23cab96d2b4a1562
got-send-pack: writepkt: 0000
debug2: channel 0: rcvd adjust 2065322
2 commits colored; 7 objects found; 111 trees scanned
packing 2 references; 7 objects; deltify: 100%; uploading pack: 11.0K 100%got-send-pack: readpkt: 30:	[0x01]001dunpack index-pack failed[0x0a]
got-send-pack: unexpected message from server

debug3: send packet: type 1
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 [session] r43 nm0 i0/0 o0/0 e[write]/0 fd 4/5/6 sock -1 cc -1 nc0 io 0x01/0x00)

Killed by signal 15.
got: bad packet received
>>>>>>>>>>>>>>>>


For context, op/excluding is two commits ahead of main and origin/main

$ got log -sl3
2025-07-12 op/excluding backup: fix handling of excludes
2025-07-12 5bb16d1 testing: add WithExcludes
2025-07-08 main    Merge pull request #51 from sayoun/add_tests_repository_packwriter
$ got br -l | grep main:
  main: 9fa0c7fa1fc062ecbf9613a9f7823b16b07bd989
  origin/main: 9fa0c7fa1fc062ecbf9613a9f7823b16b07bd989


if, instead, I specify the branch I want to send:

$ got se -b op/excluding
Connecting to "origin" ssh://git@github.com/PlakarKorp/kloset.git
3 commits colored; 9 objects found; 112 trees scanned
packing 1 reference; 9 objects; deltify: 100%; uploading pack: 11.3K 100%
Server has accepted refs/heads/op/excluding


My got.conf has by default the `branch { "main" }' (that I usually
remove because it's annoying -- here I just forgot to do so)

$ cat /git/kloset.git/got.conf
remote "origin" {
	server git@github.com
	protocol ssh
	repository "/PlakarKorp/kloset.git"
	branch { "main" }
}


If I attempt to send main (which is a "protected branch" on github,
but whatever), it succeeds:

$ got se -b main
Connecting to "origin" ssh://git@github.com/PlakarKorp/kloset.git
Already up-to-date