麦克雷

标题: CasaOS加载应用列表卡死的解决方法 [打印本页]

作者: f89511433    时间: 2024-9-30 15:05
标题: CasaOS加载应用列表卡死的解决方法
(, 下载次数: 16)
从日志上可以看出是连接index.docker.io时出现问题
# tail -f app-management.log
2024-09-14T15:57:58.299+0800 error extension x-casaos not found {"func": "service.(*App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18}
2024-09-14T15:58:03.400+0800 error failed to compare digest {"error": "Get "https://index.docker.io/v2/\": dial tcp [2a03:2880:f134:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(*AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502}
"func": "service.
经验证确实这个域名的443连不上,然后找到这个域名解析的其他ip
52.55.43.248
34.204.125.5
54.236.224.26
3.220.75.233
34.200.7.11
34.192.114.9
先telnet 443找一个可以连接的ip,比如第一个我就能连上
然后nano /etc/hosts
添加一行
52.55.43.248 index.docker.io
保存,然后再看看,应用是不是就出来了
如果你也搞定了,回复让我知道一下 :D
作者: ayou    时间: 2024-9-30 15:05
楼主威武,果然是这个原因,以前那些个解决贴子都没有说到点子上
作者: ayou    时间: 2024-9-30 15:06
v0.4.13Fixed
Fix the problem of not being able to open the desktop when the network is slow
Fix duplicate text problem when opening text in files
今天看到有更新,应该是解决了这个问题.但治标不治本




欢迎光临 麦克雷 (http://imac.ly/) Powered by Discuz! X3.5