wget GnuTLS:尝试通过树莓派 4 上的定时链接安装 Foundryvtt 时,拉取功能出错

问题描述 投票:0回答:1

我正在尝试在运行最新 64 位 Raspberry Pi OS Lite 操作系统的 Raspberry Pi 4 上设置 Foundry VTT。目前我正在使用 Putty 远程连接到 Pi。

我一直遵循此网站上的说明: 文字 到目前为止,我已完成步骤 C.3,没有任何问题。

但是当我尝试运行命令时:

wget --output-document ~/foundry/foundryvtt.zip "<download url>"
使用我从 Foundry 网站获得的临时 URL,我得到以下输出:

--2023-09-16 16:55:20--  https://foundryvtt.s3.amazonaws.com/releases/11.308/FoundryVTT-11.308.zip?AWSAccessKeyId=AKIA2KJE5YZ3BCQQ6DH3&Signature=69XMWxkkTqJC%2FKhtnByguir489o%3D&Expires=1694898015
Resolving foundryvtt.s3.amazonaws.com (foundryvtt.s3.amazonaws.com)... 52.92.195.129, 52.218.204.138, 52.218.247.227, ...
Connecting to foundryvtt.s3.amazonaws.com (foundryvtt.s3.amazonaws.com)|52.92.195.129|:443... connected.
GnuTLS: Error in the pull function.
Unable to establish SSL connection.

到目前为止,我已经尝试过以下方法:

  • 我确保每次运行命令时都会获得一个新的临时链接,以防万一它过期。
  • 我已确保 Pi 设置了正确的日期和时间
  • 我通过运行
    sudo apt-get install wget
    更新了 wget,输出如下:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget is already the newest version (1.21-1+deb11u1).
wget set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • 我已经使用 --no-check-certificate set 运行命令
  • 我已使用 --secure-protocol=TLSv1_1 set 运行命令
  • 我已运行
    sudo /usr/sbin/update-ca-certificates --fresh
    来更新我的证书,输出如下:
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
  • 我尝试使用以下语法运行curl命令而不是wget:
    curl -o ~/foundry/foundryvtt.zip "<download url>"

产生以下输出:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to foundryvtt.s3.amazonaws.com:443

我对 Linux/Raspberry Pi 不太熟悉,所以我认为这是我通过谷歌搜索所能得到的信息。

linux curl wget raspberry-pi4
1个回答
0
投票

所有这些行动都解决了问题:

GnuTLS : Error in the pull function.
Unable to establish SSL connection.

© www.soinside.com 2019 - 2024. All rights reserved.