-
-
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
Error: SecureChannelFailure (The authentication or decryption has failed.) #2307
Comments
Was there any additional information in the popup, such as a stack trace? |
The first popup? No. The error log also didn’t have any |
And you tried all of the steps on the wiki, including running |
how do i run that on a mac? |
Presumably from Terminal, but I don't have one to test. OSX uses Mono just like Linux, so some variant of those commands might help. |
Further questions:
|
Previous release worked before the meltdown. I use the CKAN.app I have mono 4.8 because anything higher throws the carbon 64bit error |
Looks like that version of Mono requires an environment variable to be set to allow TLS 1.2: http://www.mono-project.com/docs/about-mono/releases/4.8.0/
Can you try that? |
Nope. Did nothing |
OK, you might have to try Mono 5. We have reports of this problem being solved on Linux by upgrading Mono. If you explain what you mean by the carbon 64bit error, maybe we can solve it or work around it. |
I'm getting this on Windows too with version 1.24.0-PRE. This is almost certainly due to GitHub removing support for LTSv1/TLSv1.1, |
Yup, see #2293, install https://github.com/KSP-CKAN/CKAN/releases/latest |
so @HebaruSan Should I nake a new issue or no? (for Mono v5) |
Here is the error that is created when I run CKAN with Mono 5 latest ver. Click to expandBLEEPs-MacBook-Pro:~ BLEEP$ cd "$(mdfind ckan.app)" BLEEPs-MacBook-Pro:CKAN.app BLEEP$ mono Contents/ckan.exe WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all Stacktrace:at <0xffffffff> Native stacktrace:
Debug info from gdb: (lldb) command source -s 0 '/tmp/mono-gdb-commands.WVDuks'
Executable module set to "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono".
=================================================================
|
No, there's no need for a new issue. Can you try it with |
How would I do that with using the .app CKAN? I've never used the command line version |
Wait, how are you running it, and what exactly did you download, from where? |
The ckan mac app https://github.com/Maxzhao1999/CKAN_app/releases. I replaced the ckan.exe in the package contents with the new version |
OK, do not do that. Use the Mac version on the main download page. Maxzhao's version is old and unsupported. https://github.com/KSP-CKAN/CKAN/releases/download/v1.24.0/CKAN.dmg |
That just redirects to the how install on mac when I open it |
OK, that means it can't find mono. Can you open a terminal and type "which mono" and let me know what it says? |
it says this /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono |
Thank you! Can you please try this test version?
Apparently the PATH variable isn't set as we thought it would be on OSX. |
that strait up does nothing |
Thanks, @cherrydev. Would you mind trying the latest one as well? I think it's probably a better approach, so I'd like to confirm that it works for folks. |
This version doesn't launch, it just exists silently. The console shows:
|
P.S. If you want me to poke at the source code with a stick, I'm a developer.
|
@cherrydev , yeah that would be great if you have the time. The current script is here: Lines 1 to 23 in 86bf144
And you can check your copy of the bundle from the ZIP to see the changes I made for testing. All we're trying to do is launch "mono ckan.exe". But OSX is making that extremely difficult for reasons that are not clear to me. |
Yeah that new version doesn't work with me |
So somebody let me know once we have something. TBH this is black magic to me |
Try this. My comments in double hashes.
|
so how do I edit the app to add this? |
You can right-click and "Show Package Contents" on CKAN.app, go into |
And this is a replacement for the whole executable? |
So what's the key part of the fix? I think we already had the right path to mono in my previous ZIP since it wasn't launching a browser anymore, so I assume it's the APP_PATH logic? Why wouldn't a straight |
I THINK the key part of the fix (it was for me) is that mono was actually NOT in my path without reading it from |
So ill just wait then |
Oh, FYI, I was comparing this to your script that had your weird |
Thanks, the only difference I see in the two EDIT: Except both scripts do the exact same thing with the output of |
For whatever reason, yes, that actually seems to be the difference between it working and not working for me. |
What about the |
OK, here's a hybrid of my previous ZIP script and @cherrydev's script above. I have added the
@Whovian41110 you can come back and test this now if you like, but it may or may not work yet. |
I'm not 100% sure why the osxmessage isn't working when it fails. It's possible that when attempting to execute an invalid path the wrapper script itself is erroring out and therefore not getting to the osxmessage? |
Okay guys. When i started the .app again it just worked. The secure channel just worked... |
Thanks, @Whovian41110. I'll start the process of getting these changes into an official release... |
Background
CKAN Version:
1.24.0
KSP Version:
1.3.1
Operating System:
OSX High Sierra Version 10.13.3
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
Yes but irrelevant
Problem
What steps did you take in CKAN?
I opened it
I attempted to install Roverdude's Orion Drive mod and USI tools.
What did you expect to happen?
I expected the mod to download properly.
What happened instead?
It did not download due to an SSL error
, an error saying
Error in auto-updating
Error: SecureChannelFailure (The authentication or decryption has failed.)
popped up, and I clicked dismiss. The application opened normally.
When it downloaded it failed due to "Oh no! Our download failed with a certificate error!" then pointed me towards the wiki page on SSL errors that was not helpfu
Screenshots:
Unnecessary
CKAN error codes (if applicable):
The text was updated successfully, but these errors were encountered: