Skip to content

clarify the current SChannel errors and provide workarounds - #3406

Closed
shiftkey wants to merge 1 commit into
masterfrom
schannel-errors-and-friendly
Closed

shiftkey wants to merge 1 commit into
masterfrom
schannel-errors-and-friendly

Conversation

@shiftkey

Copy link
Copy Markdown
Member

Fixes #3326

  • flesh our dialog and flow to show something better than what we currently do
  • write up some notes to explain this situation and provide workarounds
  • talk with the Docs team about incorporating this into https://help.github.com/desktop/ so it's available everywhere
  • ???

@j-f1

j-f1 commented Dec 4, 2017

Copy link
Copy Markdown
Contributor

Will this handle the non-English error message in #3498?

InitializeSecurityContext failed: Unknown error (0x80092013) - La funci�n de revocaci�n no puede comprobar la revocaci�n debido a que el servidor de revocaci�n est� sin conexi�n.

@shiftkey

shiftkey commented Dec 4, 2017

Copy link
Copy Markdown
Member Author

@j-f1 then regex is only looking for the start of the error message that Git reports:

const schannelRe = /schannel: next InitializeSecurityContext failed:/

@shiftkey

Copy link
Copy Markdown
Member Author

Parking this for now to address it better upstream git-for-windows/git#1446 - once we agree on that solution and get a fix into Git for Windows, this flow becomes simpler:

  • detect the error
  • explain the error to the user (no need for docs)
  • ask them if they want to opt-in to disable revocation checks
  • apply global Git config change

@shiftkey shiftkey closed this Jan 22, 2018
@shiftkey
shiftkey deleted the schannel-errors-and-friendly branch January 22, 2018 04:10
@nocnokneo

Copy link
Copy Markdown

Since this is still broken out of the box and this issue comes up as a top web search result, here's the quick fix:

%LOCALAPPDATA%\GitHubDesktop\app-2.0.4\resources\app\git\cmd\git.exe config --system http.schannelCheckRevoke false

(replace 2.0.4 with the version if GitHub Desktop you are using)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants