question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems with GH Desktop & firewall (revocation function or timeout)

See original GitHub issue

Describe the bug

I run a high school computer lab for game design and CS classes. We have a firewall which intercepts traffic (MITM) which was recently upgraded (before the update, GitHub Desktop and command line Git worked without issue (after configuring Git to use our local certificates - http.sslCAInfo)). After the upgrade GitHub Desktop has stopped working. Git commands from the command line still work.

The failure takes one of two forms depending on the setting of http.schannelCheckRevoke. When it is set to true (or unset) I get an immediate failure with the message:

image

When it is set to false there is a long timeout, then this message:

image

On the command line, Git functions normally - with either setting of http.schannelCheckRevoke.

Version & OS

  • GitHub Desktop: 2.2.4
  • OS: Windows 10

Steps to reproduce the behavior

  1. Get behind a firewall that does MITM packet inspection, I think ours comes from Fortigate, make sure it is updated.
  2. Launch GitHub Desktop - notice that you get a revocation function error (first screen capture above) as it tries to do a fetch against the current repository.
  3. Spend some quality time with Google and discover that http.schannelCheckRevoke false might solve the problem. Try it, notice that the problem has changed (second screen capture above).
  4. Switch to the command line and try git fetch - notice that it works. Out of curiosity set http.schannelCheckRevoke to true. Notice that on the command line life is good.

Expected behavior

For the fetch to complete in a few seconds without error.

Actual behavior

In GitHub Desktop, the fetch operation either fails due to the revocation function error, or the RPC error shown in the screen captures. On the command line Git functions as expected.

Screenshots

See above.

Logs

2020-01-27.desktop.production.log

Additional context

Output of git config -get-regexp http:

http.sslcainfo C:/SKSD-Certs/SKSD-Certs.pem
http.sslbackend openssl
http.schannelcheckrevoke false

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DouglasUrnercommented, Jan 31, 2020

Thanks, that makes sense. I’ll try it as soon as I get to work tomorrow. I’m not optimistic, I think the repo I was testing with is very small - we started seeing the issue after a firewall upgrade, so I suspect that the firewall has a hand in the problem and our networking people are pouring over packet captures.

I’ve seen the problem trying to push a trivial change to a repository, for example: create and commit an empty file and attempt to push it. Even that results in the RPC error.

Thanks for your help and the ideas.

Doug

0reactions
tierninhocommented, Feb 4, 2020

@DouglasUrner As we have not heard back from you on this issue, we are closing it for now. Should you have any more details or questions, please reach out and we will be happy to help. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

github - Git - The revocation function was unable to check ...
I'm trying to clone from Github by using both Github Desktop and the git shell but keep on getting this ...
Read more >
Troubleshoot backend health issues in Application Gateway
Resolution: Check why the backend server or application isn't responding within the configured timeout period, and also check the application ...
Read more >
How to Troubleshoot DNS Errors (Timeouts, Codes & More)
One of the first troubleshooting steps we recommend is checking the DNS tree and understand at which point a DNS server issue or...
Read more >
Citrix Fixes and Known Issues – NetScaler / Citrix ADC
Restransmission (TRO) timeouts cause network latency on SSL connections through NetScaler. Symptoms include a delay of over 1 minute seen when ...
Read more >
Troubleshoot SD-WAN Control Connections - Cisco
This is one of the common issues of control connectivity that does not come up. Probable causes include firewall or some other connectivity ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found