git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* SEC_E_BUFFER_TOO_SMALL on Windows
@ 2018-04-23 16:13 Jason B. Nance
  2018-04-23 17:39 ` Beat Bolli <bbolli@ewanet.ch>
  0 siblings, 1 reply; 2+ messages in thread
From: Jason B. Nance @ 2018-04-23 16:13 UTC (permalink / raw)
  To: git

Hello all,

We are seeing intermittent errors with Git 2.16.2.windows.1 on Windows 7 connecting to TFS 2017 (running in a Jenkins slave process):

    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:
    stdout: 
    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.

I found the following thread from 2015 on a cURL list that seems to be similar:

    https://curl.haxx.se/mail/lib-2015-04/0136.html

However, it looks like a patch was released for that issue:

    https://curl.haxx.se/mail/lib-2015-04/0152.html

Rebooting the Windows client appears to resolve the issue for a time.

Has anyone else experienced this and found a resolution or workaround?

Thank you,

j

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SEC_E_BUFFER_TOO_SMALL on Windows
  2018-04-23 16:13 SEC_E_BUFFER_TOO_SMALL on Windows Jason B. Nance
@ 2018-04-23 17:39 ` Beat Bolli <bbolli@ewanet.ch>
  0 siblings, 0 replies; 2+ messages in thread
From: Beat Bolli <bbolli@ewanet.ch> @ 2018-04-23 17:39 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]

On Mon, Apr 23, 2018 at 11:13:41AM -0500, Jason B. Nance wrote:
> Hello all,
> 
> We are seeing intermittent errors with Git 2.16.2.windows.1 on Windows
> 7 connecting to TFS 2017 (running in a Jenkins slave process):
> 
>     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:
>     stdout: 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.
> 
> I found the following thread from 2015 on a cURL list that seems to be
> similar:
> 
>     https://curl.haxx.se/mail/lib-2015-04/0136.html
> 
> However, it looks like a patch was released for that issue:
> 
>     https://curl.haxx.se/mail/lib-2015-04/0152.html
> 
> Rebooting the Windows client appears to resolve the issue for a time.
> 
> Has anyone else experienced this and found a resolution or workaround?

This answer seems relevant: https://stackoverflow.com/a/39217099/232775 .
The link in the answer is no longer available; the current link is
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4906705/ .

The obvious workaround would be to retry the request, because the error
happens randomly depending on the value of a Diffie-Hellman ephemeral
key parameter.

Cheers,
Beat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-23 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 16:13 SEC_E_BUFFER_TOO_SMALL on Windows Jason B. Nance
2018-04-23 17:39 ` Beat Bolli <bbolli@ewanet.ch>

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).