I'm trying to install plantuml-mode based on the instructions here:


I'm told to try the following:

M-x package-install<RET>

But the package isn't found:

Contacting host: elpa.gnu.org:80
Failed to download ‘gnu’ archive.

However, it is listed here on MELPA:


I don't have much experience installing things in Emacs. Is there some fool-proof way to get this installed on my mac, possibly with a 'recipe'?

I do have plantuml installed.

  • The error you are getting has nothing to do with MELPA or plantuml-mode: it has to do with ELPA and the gnu archive. Have you tried eliminating that from package-archives?
    – NickD
    Jan 26, 2018 at 21:08

2 Answers 2


Sometimes the secure https connection doesn't work. Restart emacs and launch with

emacs --insecure

  • 1
    I doubt that's a good idea. Would you do that in your browser?
    – NickD
    Jan 26, 2018 at 21:08
  • To make https connection always work, add this to your config.el file: ``` '(gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")```
    – Ian
    Dec 19, 2019 at 15:31

Just in case anyone faces the same problem, my problem was resolved after

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.