syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.65k stars 4.89k forks source link

Org's package repo can be https now #10169

Closed aaronjensen closed 4 years ago

aaronjensen commented 6 years ago

Description :octocat:

Org's package repo should be https now

http://lists.gnu.org/archive/html/emacs-orgmode/2018-01/msg00096.htmlre

Currently it's set to http somewhere (I can't figure out where).

System Info :computer:

hex2a commented 6 years ago

this needs to be changed to https: https://github.com/syl20bnr/spacemacs/blob/723604d904e357511c16b908693a06876fc74455/core/core-configuration-layer.el#L2461

this check/workaround needs to be removed (else the repo will still use http) https://github.com/syl20bnr/spacemacs/blob/723604d904e357511c16b908693a06876fc74455/core/core-configuration-layer.el#L485-L490

aaronjensen commented 6 years ago

Thanks @hex2a, #10231

benbot commented 6 years ago

Spacemacs now tells me that it can't connect to orgmode.org:443. Could this be the cause of it?

aaronjensen commented 6 years ago

@benbotwin it could be the catalyst, but the cause is probably somewhere else as this is accessible for me: https://orgmode.org/elpa/

benbot commented 6 years ago

@aaronjensen I can get to that from my browser as well, but spacemacs is telling me it can’t connect. I’ve tried it on several different networks too and it hasn’t changed.

aaronjensen commented 6 years ago

What version of emacs? Is it true with emacs -Q?

benbot commented 6 years ago

What do I after running emacs -Q?

Sorry, I'm not super emacs savy

aaronjensen commented 6 years ago

Try evaling (url-retrieve-synchronously "https://orgmode.org/elpa/") (you can use M-: to eval something)

benbot commented 6 years ago

I got this

Debugger entered--Lisp error: (error "Could not create connection to orgmode.org:443")
  signal(error ("Could not create connection to orgmode.org:443"))
  error("Could not create connection to %s:%d" "orgmode.org" 443)
  url-http(#s(url :type "https" :user nil :password nil :host "orgmode.org" :portspec nil :filename "/elpa/" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous nil) #f(compiled-function (&rest ignored) #<bytecode 0x40a82541>) (nil) nil tls)
  url-https(#s(url :type "https" :user nil :password nil :host "orgmode.org" :portspec nil :filename "/elpa/" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous nil) #f(compiled-function (&rest ignored) #<bytecode 0x40a82541>) (nil))
  url-retrieve-internal("https://orgmode.org/elpa/" #f(compiled-function (&rest ignored) #<bytecode 0x40a82541>) (nil) nil nil)
  url-retrieve("https://orgmode.org/elpa/" #f(compiled-function (&rest ignored) #<bytecode 0x40a82541>) nil nil nil)
  url-retrieve-synchronously("https://orgmode.org/elpa/")
  eval((url-retrieve-synchronously "https://orgmode.org/elpa/") nil)
  eval-expression((url-retrieve-synchronously "https://orgmode.org/elpa/") nil nil 127)
  funcall-interactively(eval-expression (url-retrieve-synchronously "https://orgmode.org/elpa/") nil nil 127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

But I can still get to that url from my browser.

aaronjensen commented 6 years ago

What version of emacs are you on? M-x emacs-version

benbot commented 6 years ago

I was running 27.0.50. I just installed 25.3 and it works fine. I guess 27 is buggy still.

aaronjensen commented 6 years ago

Oh. I'm on 26 and it works. You may want to report that bug.

github-actions[bot] commented 4 years ago

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!