This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-09
Channels
- # aleph (1)
- # announcements (4)
- # asami (6)
- # babashka (45)
- # beginners (19)
- # biff (3)
- # calva (35)
- # cider (4)
- # clojars (5)
- # clojure (117)
- # clojure-art (3)
- # clojure-denmark (2)
- # clojure-europe (89)
- # clojure-gamedev (5)
- # clojure-nl (4)
- # clojure-norway (17)
- # clojure-spec (3)
- # clojure-uk (5)
- # clojurescript (84)
- # conjure (13)
- # datomic (11)
- # emacs (2)
- # figwheel (2)
- # fulcro (16)
- # graphql (5)
- # honeysql (7)
- # introduce-yourself (1)
- # lsp (86)
- # malli (16)
- # music (1)
- # off-topic (2)
- # pathom (14)
- # polylith (28)
- # re-frame (11)
- # reagent (23)
- # releases (1)
- # reveal (19)
- # shadow-cljs (72)
- # spacemacs (13)
- # sql (1)
- # test-check (3)
- # timbre (4)
- # tools-deps (45)
- # vim (18)
I have a problem with package-refresh-contents
First few times it just looked frozen on "Contacting host: melpa" so I C-g
-ed it.
Now it looks more responsive but I got an error
Contacting host: [2 times]
Contacting host:
Contacting host: [2 times]
...
error in process sentinel: Error retrieving: (error connection-failed "connect" :host "" :service 443) [2 times]
It could be Melpa itself that is having problems. It's rare, but it happens.
I assume your not behind a firewall that doesn't like passing HTTPS connections?
443 means you tried to use https but something in the network didn't allow it. Is what i read online just now.
443 is the port that is used to connect to Melpa to download the packages. I don't believe it's a status code, as there doesn't seem to be a http status code of that value.
If there are still issues connecting to Melpa, then try using http rather than HTTPS by running Emacs with the --insecure flag
emacs --insecure
This is not a good practice long term, so try find out what is blocking the HTTPS connection.
If it's at work, perhaps they have made changes to the company firewallYeah, I don't want to do that. I also posted this in #emacs : https://clojurians.slack.com/archives/C099W16KZ/p1646898664139849
I would think it's possible that it's a certificate issue but it's weird that emacs says nothing about it.
Oh, it looks different now!
In *Messages*
Importing package-keyring.gpg...done
Contacting host: [2 times]
Contacting host:
Contacting host: [2 times]
Package refresh done
Looks like it succeeded but the minibuffer isn't updated (still shows "Contacting host: http://melpa.org:443"I think certificate issues affected early versions of Emacs 26. Later Emacs 26 and Emacs27 onwards should be fine.
When I did a package update just now, I get the following output
(Spacemacs) --> refreshing package archive: melpa... [1/3]
Contacting host:
Importing package-keyring.gpg...done
Contacting host: [2 times]
Package refresh done
(Spacemacs) --> refreshing package archive: gnu... [2/3]
Importing package-keyring.gpg...done
Contacting host:
Package refresh done
(Spacemacs) --> refreshing package archive: nongnu... [3/3]
Importing package-keyring.gpg...done
Contacting host:
Package refresh done
This is then followed by fetch, update and prepare messages for each package that has a newer version