-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-update and other GitHub connections not working #2293
Comments
This is probably because of TLS v1 and v1.1 depreciation here on Github that was put into effect today. |
Odd, it's actually working for me. Maybe my system is able to use later versions of TLS than the ones having issues? |
Either way, @TruePikachu, you sound like you're familiar with this. Is there an official announcement that I could read to catch up? |
Honestly I only know about this because of a post over in /r/3dshacks (see https://redd.it/7uem9t and sticky comment) EDIT: And suspected this because of TLS being in the backtrace for one of the errors |
Just checked Wireshark, CKAN attempted use of TLSv1 to api.github.com . |
Thanks! Those posts have links to the official announcements. I guess their attempt at outreach was not successful in this case. I bet this was the cause of the recent outage reported on the forum:
In retrospect, I'm not sure how we were supposed to figure out this was the cause of people randomly reporting that stuff doesn't work and then it working again. |
@TruePikachu, what platform are you using? I'm on Ubuntu and therefore using Mono, so since it's working for me, I'm wondering whether .NET on Windows doesn't support TLS 1.2? |
Windows 7, just did a quick search, .NET 4.5 is when 1.2 support was added, and 4.6 is when it was made the default. |
Boom: https://blogs.perficient.com/microsoft/2016/04/tsl-1-2-and-net-support/
... NINJA'd. Can you try 4.6? |
Problem is, I don't have a way to compile right now. I do have .NET 4.6.1 installed, however. |
ckan.exe is compiled against many versions of Mono by default, and the latest one is used for release: https://travis-ci.org/KSP-CKAN/CKAN/builds/343973360 I think you should be able to use the existing EXE as long as you have the right version of .NET installed. |
Except I can't find where to actually get the builds from Travis. |
You should be able to use any released version. |
I have the same issue and same software versions as described. |
I'm already on 1.22.6 EDIT: 1.24.0-PRE-1 also has the issue EDIT2: Also still using TLSv1 EDIT3: I can confirm that it is built for 4.5, though, so it just doesn't know to escalate to TLSv1.2 when the TLSv1 fails. |
Confirmed here too
I am also unable to update CKAN repository
|
I'm having the issue in Windows 10, using .NET 4.7, and, like TTAK mentioned, 'ckan update' isn't working either, unable to connect.
|
My best suggestion for now is to force CKAN to use TLSv1.2, since it apparently can't escalate to there automatically. Under 4.5, run the following code before any SSL connections are established:
Under 4.6, it should already be the default. EDIT: It's entirely possible that Mono under Linux already was smart enough to default to TLSv1.2, which would be why you didn't experience the issue. |
@politas, @techman83, @Olympic1, @pjf, anyone, we kind of need an all-hands-on-deck on this. CKAN is no longer able to access GitHub on Windows at all, despite indications that it should be fine on .NET 4.6 and later, and we have no known workarounds. |
@TruePikachu, I think you may be right about compilation. The ckan.exe that I was trying was one that I built locally. I'll retry with the actual download version... |
Compile it for .NET 4.6 or later, and it should be golden. |
... nope, the 1.22.6 download works fine on my system! The difference must be in the runtime environment somewhere. |
I run ckan update and it crashes for me. |
@adalast Update manually, then refresh |
@sundhaug92 I thought using the command prompt to run the |
|
@adalast |
Ok, so I downloaded the 1.24.0 zip file and extracted it... but there is no exe or msi file... how do I run? what am I missing? |
Sorry, @politas messed up the download link, get the EXE from here: |
@HebaruSan And we're off to the races... thank you so much for figuring this out. I'm still getting the other error, but it's at least working again. |
Still not working for me. I've tried CKAN 1.24 and 1.25. I have .NET 4.5.2. Could it be because (OMG) Vista? |
Background
CKAN Version:
KSP Version:
1.3.1.1891
Operating System:
Windows 10.1
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
no, I use CKAN for all of my changes
Problem
What steps did you take in CKAN?
Opened it.
What did you expect to happen?
It to open without error and connect to the repository
What happened instead?
I got the errors below, and no updates.
Screenshots:
CKAN error codes (if applicable):
The text was updated successfully, but these errors were encountered: