elpa连不上了呀

elpa连不上了呀

还有gnu elpa今年好像都没有同步过吧?

是本站的 elpa 连不上吗?

是的,这两天貌似有问题了

我看是可以访问的呀?你是https还是http?

https的

是的,上游的 gnu elpa 的 rsync 服务从去年底就出问题了,一直同步不了。我改用 http 同步试一试

1 个赞

我一直连不上呀 https://elpa.emacs-china.org/

无法访问此网站

elpa.emacs-china.org 的响应时间过长。

请试试以下办法:

ERR_TIMED_OUT

这个出问题了,SSH 连不上 elpa.emacs-china.org

我这儿 https 也有问题,即便能连上也非常慢。

elpa 是我负责的,但是我已经半年没用 Emacs 也没关注 elpa。想自己重写,但是缺少技术时间兴趣;想交给别人,缺人接手。

似乎多个镜像都出了问题。

清华和交大镜像从昨天到现在有部分包一直下载不了:

⋊> rg '\(helm \. \[\(' archive-contents_sjtu
1965: (helm . [(20210409 1016) ((emacs (25 1)) (async (1 9 4)) (popup (0 5 3)) (helm-core (3 7 1))) "Helm is an Emacs incremental and narrowing framework" tar ((:commit . "4f16ec21f5ac4d0b9e36768c27abd453a959388d") (:authors ("Thierry Volpiatto" . "[email protected]")) (:maintainer "Thierry Volpiatto" . "[email protected]") (:url . "https://github.com/emacs-helm/helm"))])

⋊> curl -sI https://mirrors.sjtug.sjtu.edu.cn/emacs-elpa/melpa/helm-20210409.1016.tar
HTTP/1.1 404 Not Found
Server: Caddy
X-Sjtug-Mirror-Id: zhiyuan
Date: Sun, 11 Apr 2021 07:11:32 GMT
⋊> rg '\(helm \. \[\(' archive-contents_tuna
1965: (helm . [(20210407 1532) ((emacs (25 1)) (async (1 9 4)) (popup (0 5 3)) (helm-core (3 7 1))) "Helm is an Emacs incremental and narrowing framework" tar ((:commit . "45450d57d5ff97e1a6fbd2a9816ae912ac50edcb") (:authors ("Thierry Volpiatto" . "[email protected]")) (:maintainer "Thierry Volpiatto" . "[email protected]") (:url . "https://github.com/emacs-helm/helm"))])

⋊> curl -sI https://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/helm-20210407.1532.tar
HTTP/1.1 404 Not Found
Server: nginx/1.14.2
Date: Sun, 11 Apr 2021 07:09:39 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 153
Connection: keep-alive
X-TUNA-MIRROR-ID: neomirrors
Strict-Transport-Security: max-age=31536000
Strict-Transport-Security: max-age=31536000
X-TUNA-MIRROR-ID: nanomirrors

melpa 没问题:

⋊> rg '\(helm \. \[\(' archive-contents
1965: (helm . [(20210409 1016) ((emacs (25 1)) (async (1 9 4)) (popup (0 5 3)) (helm-core (3 7 1))) "Helm is an Emacs incremental and narrowing framework" tar ((:commit . "4f16ec21f5ac4d0b9e36768c27abd453a959388d") (:authors ("Thierry Volpiatto" . "[email protected]")) (:maintainer "Thierry Volpiatto" . "[email protected]") (:url . "https://github.com/emacs-helm/helm"))])

⋊> curl -sI https://melpa.org/packages/helm-20210409.1016.tar
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 11 Apr 2021 07:10:40 GMT
Content-Type: application/octet-stream
Content-Length: 1116160
Last-Modified: Sun, 11 Apr 2021 06:50:24 GMT
Connection: keep-alive
ETag: "60729c30-110800"
Strict-Transport-Security: max-age=15768000
Accept-Ranges: bytes

的确大多数镜像都有问题,只能用melpa,速度慢的不是一丁半点 :joy:

怎么才能帮上忙啊

国内其他源好像上游都是 emacs-china的

帮忙重新写一个同步的软件

1 个赞

不合适吧 :sweat:

这么做是为了减轻上上游的负担么。如果不是的话,那岂不是平白无故引入额外风险?

我作为个人用户,权衡体验&安全,选择使用并信任镜像。但高校完全有资源去获得原始数据,为什么要选择一个镜像作为上游?

清华源是写明上游是emacs-china

维护同步脚本需要一定的精力。镜像站维护者的精力比较有限。

网站暂时无法访问

该网站未根据工信部相关法律规则进行备案


编辑:目前采取为内置url package 设置代理的方式直接使用 melpa.org

(setq url-gateway-method 'socks)
(setq socks-server '("Default server" "127.0.0.1" 1080 5))

source

我这边一直不需要代理都能直接访问 melpa :grinning:,不需要任何设置。难道已经放开了?