{"thread":{"id":"48346","subject":"SEC_E_BUFFER_TOO_SMALL on Windows","startedAt":"2018-04-23T16:22:48Z","lastAt":"2018-04-23T17:45:33Z","messageCount":2,"participants":["Jason B. Nance","Beat Bolli <bbolli@ewanet.ch>"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"345476","messageId":"2048535297.1044.1524500021908.JavaMail.zimbra@tresgeek.net","threadId":"48346","inReplyTo":null,"subject":"SEC_E_BUFFER_TOO_SMALL on Windows","fromName":"Jason B. Nance","fromEmail":"jason@tresgeek.net","sentAt":"2018-04-23T16:13:41Z","receivedAt":"2018-04-23T16:22:48Z","isPatch":false,"sender":{"key":"jason@tresgeek.net","avatar":null},"body":"Hello all,\n\nWe are seeing intermittent errors with Git 2.16.2.windows.1 on Windows 7 connecting to TFS 2017 (running in a Jenkins slave process):\n\n    ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command \"C:\\tools\\Git\\bin\\git.exe fetch --tags --progress https://internal-tfs-server/tfs/project/_git/repo +refs/heads/*:refs/remotes/origin/*\" returned status code 128:\n    stdout: \n    stderr: fatal: unable to access 'https://internal-tfs-server/tfs/project/_git/repo/': schannel: next InitializeSecurityContext failed: SEC_E_BUFFER_TOO_SMALL (0x80090321) - The buffers supplied to a function was too small.\n\nI found the following thread from 2015 on a cURL list that seems to be similar:\n\n    https://curl.haxx.se/mail/lib-2015-04/0136.html\n\nHowever, it looks like a patch was released for that issue:\n\n    https://curl.haxx.se/mail/lib-2015-04/0152.html\n\nRebooting the Windows client appears to resolve the issue for a time.\n\nHas anyone else experienced this and found a resolution or workaround?\n\nThank you,\n\nj\n"},{"id":"345488","messageId":"20180423173909.GA9916@zbox.drbeat.li","threadId":"48346","inReplyTo":"2048535297.1044.1524500021908.JavaMail.zimbra@tresgeek.net","subject":"Re: SEC_E_BUFFER_TOO_SMALL on Windows","fromName":"Beat Bolli <bbolli@ewanet.ch>","fromEmail":"bb@zbox.drbeat.li","sentAt":"2018-04-23T17:39:09Z","receivedAt":"2018-04-23T17:45:33Z","isPatch":false,"sender":{"key":"bb@zbox.drbeat.li","avatar":null},"body":"On Mon, Apr 23, 2018 at 11:13:41AM -0500, Jason B. Nance wrote:\n> Hello all,\n> \n> We are seeing intermittent errors with Git 2.16.2.windows.1 on Windows\n> 7 connecting to TFS 2017 (running in a Jenkins slave process):\n> \n>     ERROR: Error cloning remote repo 'origin'\n>     hudson.plugins.git.GitException: Command \"C:\\tools\\Git\\bin\\git.exe\n>     fetch --tags --progress\n>     https://internal-tfs-server/tfs/project/_git/repo\n>     +refs/heads/*:refs/remotes/origin/*\" returned status code 128:\n>     stdout: stderr: fatal: unable to access\n>     'https://internal-tfs-server/tfs/project/_git/repo/': schannel:\n>     next InitializeSecurityContext failed: SEC_E_BUFFER_TOO_SMALL\n>     (0x80090321) - The buffers supplied to a function was too small.\n> \n> I found the following thread from 2015 on a cURL list that seems to be\n> similar:\n> \n>     https://curl.haxx.se/mail/lib-2015-04/0136.html\n> \n> However, it looks like a patch was released for that issue:\n> \n>     https://curl.haxx.se/mail/lib-2015-04/0152.html\n> \n> Rebooting the Windows client appears to resolve the issue for a time.\n> \n> Has anyone else experienced this and found a resolution or workaround?\n\nThis answer seems relevant: https://stackoverflow.com/a/39217099/232775 .\nThe link in the answer is no longer available; the current link is\nhttps://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4906705/ .\n\nThe obvious workaround would be to retry the request, because the error\nhappens randomly depending on the value of a Diffie-Hellman ephemeral\nkey parameter.\n\nCheers,\nBeat\n"}]}