-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. when package-refresh-contents #6638
Comments
Set dotspacemacs-elpa-https to https://github.com/syl20bnr/spacemacs/blob/develop/core/templates/.spacemacs.template#L86 |
It does not work |
Did you restart? |
@robbyoconnor is this really a solution? This is completely insecure. |
Partially elpas I think..i forgot. |
This issue is apparently due to using an out of date URL for melpa. See https://melpa.org/#/getting-started for directions on explicitly setting the URL correctly -- or if you have a recent emacs version and are setting the url in your .emacs file, just remove it and restart emacs. In my case, I had explicitly set the URL a long time ago and the old url was no longer valid. Hopefully this will be helpful for someone - this page is currently the top Google result for this error message. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Emacs 24.5.1, ubuntu 16.04
Start checking for new version...
Open the quickhelp.
Spacemacs is up to date.
Importing package-keyring.gpg...done
Contacting host: melpa.org:443 [2 times]
Contacting host: elpa.gnu.org:443 [2 times]
gnutls.c: 0 fatal error: The TLS connection was non-properly terminated.
The text was updated successfully, but these errors were encountered: