{"thread":{"id":"60610","subject":"Communication channel interruption","startedAt":"2023-12-13T09:54:34Z","lastAt":"2023-12-14T02:27:17Z","messageCount":3,"participants":["Alexander Zhirov","Junio C Hamano","brian m. carlson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"485610","messageId":"71f2b28b-3e27-4773-8408-2f4c13757b73@gmail.com","threadId":"60610","inReplyTo":null,"subject":"Communication channel interruption","fromName":"Alexander Zhirov","fromEmail":"azhirov1991@gmail.com","sentAt":"2023-12-13T09:54:30Z","receivedAt":"2023-12-13T09:54:34Z","isPatch":false,"sender":{"key":"azhirov1991@gmail.com","avatar":null},"body":"When cloning a repository from GitHub, I have a channel break, although \nthe connection is stable. What could be the problem?\n\n# git clone https://github.com/Thinstation/thinstation.git\nCloning into 'thinstation'...\nremote: Enumerating objects: 79839, done.\nremote: Counting objects: 100% (535/535), done.\nremote: Compressing objects: 100% (319/319), done.\nerror: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: \nCANCEL (err 8)\nerror: 7473 bytes of body are still expected\nfetch-pack: unexpected disconnect while reading sideband packet\nfatal: early EOF\nfatal: fetch-pack: invalid index-pack output\n"},{"id":"485620","messageId":"xmqqcyvanmn7.fsf@gitster.g","threadId":"60610","inReplyTo":"71f2b28b-3e27-4773-8408-2f4c13757b73@gmail.com","subject":"Re: Communication channel interruption","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2023-12-13T15:32:44Z","receivedAt":"2023-12-13T15:32:49Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Alexander Zhirov <azhirov1991@gmail.com> writes:\n\n> When cloning a repository from GitHub, I have a channel break,\n> although the connection is stable. What could be the problem?\n>\n> # git clone https://github.com/Thinstation/thinstation.git\n> Cloning into 'thinstation'...\n> remote: Enumerating objects: 79839, done.\n> remote: Counting objects: 100% (535/535), done.\n> remote: Compressing objects: 100% (319/319), done.\n> error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly:\n> CANCEL (err 8)\n> error: 7473 bytes of body are still expected\n> fetch-pack: unexpected disconnect while reading sideband packet\n> fatal: early EOF\n> fatal: fetch-pack: invalid index-pack output\n\nA guess in the dark without knowing Git version or platform on which\nyou are seeing this symptom, but it would help to read \"What does\nhttp.postBuffer really do?\" in \n\n    $ git help faq\n\nand then to ask Google about \"RPC failed; curl 92\", which would show\nmainly two suggestions from various places.  Perhaps\n\n    $ git -c http.version=HTTP/1.1 clone https://github.com/Thinstation/thinstation.git\n\nmay help?\n\n"},{"id":"485627","messageId":"ZXpoAVZ5BP9WqiZi@tapette.crustytoothpaste.net","threadId":"60610","inReplyTo":"71f2b28b-3e27-4773-8408-2f4c13757b73@gmail.com","subject":"Re: Communication channel interruption","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2023-12-14T02:27:13Z","receivedAt":"2023-12-14T02:27:17Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On 2023-12-13 at 09:54:30, Alexander Zhirov wrote:\n> When cloning a repository from GitHub, I have a channel break, although the\n> connection is stable. What could be the problem?\n> \n> # git clone https://github.com/Thinstation/thinstation.git\n> Cloning into 'thinstation'...\n> remote: Enumerating objects: 79839, done.\n> remote: Counting objects: 100% (535/535), done.\n> remote: Compressing objects: 100% (319/319), done.\n> error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL\n> (err 8)\n> error: 7473 bytes of body are still expected\n> fetch-pack: unexpected disconnect while reading sideband packet\n> fatal: early EOF\n> fatal: fetch-pack: invalid index-pack output\n\nIt would be helpful to know what version of Git, libcurl, and operating\nsystem you're using.  This type of error is often caused by proxies,\nincluding non-default antivirus or firewall programs (very especially on\nWindows), TLS middleboxes, and monitoring software.  If you have such\nsoftware, it should be completely uninstalled and you should reboot, and\nusually that will fix the problem.  (Simply disabling it often does not\nfix things.)\n\nI should point out that while I'm aware that this does occur for many\npeople, I have never, ever seen it when using GitHub, nor do I believe\nit is actually sent by GitHub servers.  Thus, my experience leads me to\nbelieve the problem lies elsewhere.  It is theoretically possible that\nlibcurl or one of its dependencies has a bug in your version, but\nwithout more details, it's hard to tell.\n\nAs Junio suggested, you could try forcing HTTP/1.1 and see if that fixes\nthe problem for you as well.\n-- \nbrian m. carlson (he/him or they/them)\nToronto, Ontario, CA\n"}]}