-
Notifications
You must be signed in to change notification settings - Fork 1.2k
PR failed to load #1539
Comments
Hi, thank you for opening the PR @sguthals. My Visual Studio version is: The log file for the GitHub extension per @jcansdale 's request: I started a new log with the current error because the original log was very large and at first glance looked like it contained sensitive information, I still have the original in case your interested. I did a quick search on the error yesterday and ran across a few hints it might have been related to Something along these lines: After trying and installing the EasyFix, I pretty much gave up yesterday.
It would be nice if your GitHub VS extension worked on Windows 7, but it's not a huge deal for me because I prefer TorutiseGit for everything. Thanks, 🚶♂️ 🚶♀️ Missing Persons - Walking in L.A. |
Thanks for the info. Looking at the versions of VS and the extension you're using, they should be ready for the SSL/TLS changes on GitHub. Here is someone who was seeing a similar exception: Are you working behind a company proxy? If you are, could you try again using a different network? |
Hi @jcansdale, Nah, I'm not behind any company proxy since I work from home. I do have a firewall on my main dev box that is pretty locked down though. I'll try on a clean Win7 VM install without any firewall rules and try again. Also, it will give me a chance to test the IE8 vs IE9 theory too. Thanks, |
More testing on Win7 VM: GitHub extension Then update GitHub extension to And failure. No dice with the latest version of the GitHub extension. Most definitely, the most recent GitHub extension update broke something. |
@bchavez does this happen with only a single PR, a single repository, or all PRs on all repositories? For example, if you clone this repository ( |
Hi @grokys , how would you like me to clone the Apparently, the Open in Visual Studio button is broken too. Wow. I feel really bad for new windows developers who try to figure out this open source GitHub stuff out. FWIW, this testing is happening on a new fresh Windows 7 VM with latest updates. ⌚ 🌆 "I just can't wait... I just can't wait... for saturday night..." |
Hmm, just tried opening the PRs that you were having trouble opening and not seeing the problem here: But I'm on Win10 so I wonder if this is a Win7 issue? It's Saturday so I can't look into it properly today, but we'll look into it on Monday. @meaghanlewis do we test on win7? We should open separate issues for the Open in Visual Studio and performance regression (which again, I'm not seeing here). |
Correct. Just tested in a Win10 VM and the PRs load fine. However, I still get the performance regression in the Win10 VM: Maybe it's because these machines are running inside a VM. Also, found it strange with some Windows 10 themes the GitHub extension for highlighting selection items just doesn't seem right. The highlight color and foreground text font blend in together so much you can't even read the highlighted item. To summarize, PRs loading correctly:
|
Hey @grokys, no I only test in Windows 10, but sounds like it would be valuable to also test in Windows 7. I'll set up a VM with Windows 7 this week. I also haven't been able to reproduce these issues (viewing pull requests, opening a repo in Visual Studio, or the unreadable highlighted items) on Windows 10. @bchavez could you open up separate issues for the open in Visual Studio and highlight problem. Also, could you specify the Windows 10 themes that show the highlight problem? |
I suspect this may be caused by TLS1 being turned off on github.com: libgit2/libgit2sharp#1524 (comment)
|
@grokys, @bchavez mentioned that he tried the EasyFix as also mentioned in the issue you linked: I wonder why that didn't fix it? 😕 @bchavez we'll do some testing on Windows 7 and get back to you. Thanks for your quality issue report and research! |
The peculiar thing I find interesting about this bug on Windows 7 is that:
Maybe, maybe, are you doing any extra HTTPS or LibGit requests AFTER the initial PR data is downloaded that isn't setup for SSL/TLS? Almost seems like the Just some food for thought. |
MmmHmm... that suspicious SSLv3 Handshake Failure: Next question is, who is |
To give a bit of background to this, between v2.2.0.10 and v2.4.3.1737 two things changed:
So what is happening, is that the initial load of the PR is working, but then the It would appear to be failing due to TLS1 being turned off and something in either Windows 7 or libgit2sharp (or more precisely a combination of the two) isn't working with later TLS version. Exactly why that is, I'm still not sure. |
@bchavez I initially thought the following was similar to what you'd tried, but looking at the registry entries I think it might be different.
Could you give that a try and let me know if it improves things? 🤞 |
@jcansdale Ran the commands as administrator: No dice, the problem persists. My bet is on that |
@bchavez It looks like @nk111 and @ethomson might be ahead of us. 😉
@grokys do you know anything about certificate validation callbacks? |
Also discussed here: |
I think, what's needed is kind of a dialog which lets the user decide if a remote certificate is trusted if validation fails... Maybe win7 workstations like mine might have a problem using TLS 1.2 required by github? |
and check this out. There is a possible fix mentioned: |
Hi @nk111, Thanks for that Rust/Cargo link! Read through the entire thread and finally got it to work! Finally. The important steps for me were:
Thanks a bunch! That works! |
@jcansdale Should be fixed in the 0.25 prerelease builds... we should have an 0.25 release out directly |
@ethomson Excellent, thanks for the heads up! How soon do you think we should push a 0.25 version? How stable are the current 0.25 prerelease builds? |
Closing this issue out since a solution has been found for this scenario. |
Issue from Twitter:
https://twitter.com/bchavez/status/974374196724736000
Following up with more details. This happens when a PR title is clicked in our GitHub pane.
This appears to be the same as #1532.
How to fix
The important steps for me were:
KB3140245
is installed.EasyFix
is applied.DefaultSecureProtocols
to0x00000800
:Confirmed by @bchavez #1539 (comment)
The text was updated successfully, but these errors were encountered: