在 pythonanywhere 中初始化 Tor 时出错 - 卡在 5%

Error initializing Tor in pythonanywhere - Stuck at 5%

我正在 pythonanywhere 中制作一个项目,我已经安装了 Tor,但是当我 运行 它时,我收到了这条消息:

Sep 13 15:04:29.000 [warn] Problem bootstrapping. Stuck at 5% (conn): Connecting to a relay. (Connection refused; CONNECTREFUSED; count 10; recommendation warn; host 24E2F139121D4394C54B5BCC368B3B411857C413 at
 204.13.164.118:443)
Sep 13 15:04:29.000 [warn] 9 connections have failed:
Sep 13 15:04:29.000 [warn]  9 connections died in state connect()ing with SSL state (No SSL object)
Sep 13 15:04:36.000 [warn] Problem bootstrapping. Stuck at 5% (conn): Connecting to a relay. (Connection refused; CONNECTREFUSED; count 11; recommendation warn; host D8B7A3A6542AA54D0946B9DC0257C53B6C376679 at
 85.10.201.47:9001)
Sep 13 15:04:36.000 [warn] 10 connections have failed:
Sep 13 15:04:36.000 [warn]  10 connections died in state connect()ing with SSL state (No SSL object)
Sep 13 15:04:37.000 [warn] Problem bootstrapping. Stuck at 5% (conn): Connecting to a relay. (Connection refused; CONNECTREFUSED; count 12; recommendation warn; host A0F06C2FADF88D3A39AA3072B406F09D7095AC9E at
 46.165.230.5:443) ...

如何解决?

它不适用于免费的 PythonAnywhere 帐户,因为免费帐户只能使用 HTTP 协议连接到外部世界。此外,免费帐户仅限于白名单。参见 https://www.pythonanywhere.com/whitelist/