Skip to content
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

Can't check for updates on startup & can't install mods #67

Closed
alarian opened this issue Jan 5, 2020 · 0 comments
Closed

Can't check for updates on startup & can't install mods #67

alarian opened this issue Jan 5, 2020 · 0 comments

Comments

@alarian
Copy link

@alarian alarian commented Jan 5, 2020

When starting the app I received a message about not being able to check for updates and when I tried to install mods I kept getting an exception about not being able to decrypt data. I downloaded the source code and ran it and discovered the issue. Seems to be a TLS version issue. According to my computer's registry, I only have the TLS 1.3 client (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols).

I got everything working by doing either of the following two things:

  • Change the target framework from .NET 4.6.2 to 4.7
  • Set the ServicePointManager.SecurityProtocol to SecurityProtocolType.Tls12 in Application_Startup
    • ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

I figured I would create an issue in case anyone else had the same problem.

@OnSive OnSive mentioned this issue Jan 29, 2020
0 of 1 task complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.