Emacs 24.5 with foreplay stuck in contact with melpa.org host

I am running emacs 24.5 installed via homebrew. for some strange reason, my emacs are stuck in contact with the host: melpa.org:80

I even tried a new install of emacs (remote folder .emacs.d). I can also ping the melpa.org URL through the terminal.

Any ideas on how to fix this.

+8
emacs emacs24 emacs-prelude melpa
source share
1 answer

Can you try switching to HTTPS? I have

(setq package-archives '(("org" . "http://orgmode.org/elpa/") ("melpa" . "https://melpa.org/packages/") ("gnu" . "https://elpa.gnu.org/packages/"))) ;; from https://glyph.twistedmatrix.com/2015/11/editor-malware.html ;; needs "brew install gnutls" and "pip install certifi", perhaps with sudo (let ((trustfile (replace-regexp-in-string "\\\\" "/" (replace-regexp-in-string "\n" "" (shell-command-to-string "python -m certifi"))))) (setq tls-program (list (format "/usr/local/bin/gnutls-cli --insecure --x509cafile %s -p %%p %%h" trustfile))) (setq gnutls-verify-error t)) 
0
source share

All Articles