传输 RPC 访问问题,但 RPC Web 界面正常

传输 RPC 访问问题,但 RPC Web 界面正常

我的传输 RPC 接口开始表现得很奇怪,拒绝客户端尝试通过 RPC 访问传输,而 set.json 表明不应出现这种情况。

我使用 Android 客户端(例如 Torrnado 和 Transdrone)访问我的私人家庭网络上的传输服务器,没有出现任何问题。

在进行一些配置更改时,我不小心覆盖了 settings.json,最终不得不恢复为 Debian 默认值。

此后,任何应用程序都无法访问传输,并引用拒绝访问错误消息。我的 settings.json 文件没有阻止任何内容,也不是防火墙或凭据问题。

我知道这一点是因为端口 9091 上的访问传输将失败,并显示来自应用程序的访问被拒绝消息,但访问 RPC Web 界面在用于尝试通过 RPC 访问传输的相同设备上可以正常工作。 RPC 密码为空,但仍会通过传输进行哈希处理。

我在传输或系统日志文件中也没有看到任何错误。

我的设置.json:

{
    "alt-speed-down": 50, 
    "alt-speed-enabled": false, 
    "alt-speed-time-begin": 540, 
    "alt-speed-time-day": 127, 
    "alt-speed-time-enabled": false, 
    "alt-speed-time-end": 1020, 
    "alt-speed-up": 50, 
    "bind-address-ipv4": "0.0.0.0", 
    "bind-address-ipv6": "::", 
    "blocklist-enabled": false, 
    "blocklist-url": "http://www.example.com/blocklist", 
    "cache-size-mb": 4, 
    "dht-enabled": true, 
    "download-dir": "/Media/Downloaded", 
    "download-limit": 100, 
    "download-limit-enabled": 0, 
    "download-queue-enabled": true, 
    "download-queue-size": 5, 
    "encryption": 1, 
    "idle-seeding-limit": 30, 
    "idle-seeding-limit-enabled": false, 
    "incomplete-dir": "/tmp/transmission/", 
    "incomplete-dir-enabled": true, 
    "lpd-enabled": false, 
    "max-peers-global": 200, 
    "message-level": 1, 
    "peer-congestion-algorithm": "", 
    "peer-id-ttl-hours": 6, 
    "peer-limit-global": 200, 
    "peer-limit-per-torrent": 50, 
    "peer-port": 51413, 
    "peer-port-random-high": 65535, 
    "peer-port-random-low": 49152, 
    "peer-port-random-on-start": false, 
    "peer-socket-tos": "default", 
    "pex-enabled": true, 
    "port-forwarding-enabled": false, 
    "preallocation": 1, 
    "prefetch-enabled": 1, 
    "queue-stalled-enabled": true, 
    "queue-stalled-minutes": 30, 
    "ratio-limit": 2, 
    "ratio-limit-enabled": false, 
    "rename-partial-files": true, 
    "rpc-authentication-required": false, 
    "rpc-bind-address": "0.0.0.0", 
    "rpc-enabled": true, 
    "rpc-password": "{90996016d3d388d429100a67344d3e231f53f9d3q1TWzQ.5", 
    "rpc-port": 9091, 
    "rpc-url": "/transmission/rpc/", 
    "rpc-username": "admin", 
    "rpc-whitelist": "192.168.0.*", 
    "rpc-whitelist-enabled": true, 
    "scrape-paused-torrents-enabled": true, 
    "script-torrent-done-enabled": true, 
    "script-torrent-done-filename": "/etc/transmission-daemon/run_script.sh", 
    "seed-queue-enabled": false, 
    "seed-queue-size": 10, 
    "speed-limit-down": 100, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 100, 
    "speed-limit-up-enabled": false, 
    "start-added-torrents": true, 
    "trash-original-torrent-files": false, 
    "umask": 18, 
    "upload-limit": 100, 
    "upload-limit-enabled": 0, 
    "upload-slots-per-torrent": 14, 
    "utp-enabled": true
}

相关内容