Hi, I'm new to emacs and making a config from scratch. But it seems I can't reach the package archives. How do I figure out what's going wrong?
(require 'package)
(setq package-archives '(("melpa", "https://melpa.org/packages/")
("elpa", "https:// elpa.gnu.org/packages/")))
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
(unless (package-installed-p 'use-package)
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t
Importing package-keyring.gpg...done
Failed to download ‘melpa’ archive.
Failed to download ‘elpa’ archive.