Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载服务器不能使用 #32

Closed
wyl219 opened this issue Feb 17, 2019 · 25 comments
Closed

下载服务器不能使用 #32

wyl219 opened this issue Feb 17, 2019 · 25 comments
Labels
bug Something isn't working need more information 需要更多的信息 question Further information is requested

Comments

@wyl219
Copy link

wyl219 commented Feb 17, 2019

连接和账号密码都是正确的,但是测试连接失败,点下载也没效果

@wyl219
Copy link
Author

wyl219 commented Feb 17, 2019

Transmission不行,黑群的可以。通过webgui可以连接Transmission

@ronggang
Copy link
Collaborator

Transmission不行,黑群的可以。通过webgui可以连接Transmission

@wyl219 可否提供填写的服务器地址格式?另外,黑群可以是什么意思?是指的synologyDownloadStation吗?

@wyl219
Copy link
Author

wyl219 commented Feb 18, 2019

是的,黑群就是黑群晖,synologyDownloadStation
地址格式试过以下几种:
http://192.168.0.233:9091
http://192.168.0.233:9091/web/
还有就是用的域名带端口的形式.

也试过不带http://的形式

@ronggang
Copy link
Collaborator

是的,黑群就是黑群晖,synologyDownloadStation
地址格式试过以下几种:
http://192.168.0.233:9091
http://192.168.0.233:9091/web/
还有就是用的域名带端口的形式.

也试过不带http://的形式

地址格式用 http://ip:port 没问题
你看一下 TR 的 settings.josn 文件,是否启用了 rpc 白名单,检查一下以下参数

"rpc-host-whitelist": "",
"rpc-host-whitelist-enabled": false,
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false

@Rhilip Rhilip added bug Something isn't working question Further information is requested labels Feb 18, 2019
@wyl219
Copy link
Author

wyl219 commented Feb 18, 2019

看了一下,关闭了白名单以后依旧错误。

@ronggang
Copy link
Collaborator

看了一下,关闭了白名单以后依旧错误。

也是说之前启用了白名单是吗?是否在停用TR的情况下再修改的 settings.json 文件?如果不是,请尝试停用TR后再修改 settings.json 文件。

如果问题依然存在,那只能查看插件的背景页 console 的错误信息了。

@ronggang ronggang added the need more information 需要更多的信息 label Feb 19, 2019
@wyl219
Copy link
Author

wyl219 commented Feb 19, 2019

看了一下,关闭了白名单以后依旧错误。

也是说之前启用了白名单是吗?是否在停用TR的情况下再修改的 settings.json 文件?如果不是,请尝试停用TR后再修改 settings.json 文件。

如果问题依然存在,那只能查看插件的背景页 console 的错误信息了。

之前"rpc-host-whitelist-enabled":true,但是白名单是空的。而且可以通过公网连接,服务器在家里,在单位可以连接。
是在停用的情况下修改的配置文件。

是这个日志么?
[{"event":"requestMessage.saveUIOptions","module":"background","time":1550580930662},{"event":"requestMessage.testClientConnectivity","module":"background","time":1550580936931},{"data":{"data":{"code":200,"msg":"parsererror","status":"error"},"success":false,"type":"error"},"event":"testClientConnectivity","module":"background","msg":"测试客户连接失败[http://192.168.0.233:9091]","time":1550580937149},{"event":"requestMessage.saveConfig","module":"background","time":1550580938781},{"event":"requestMessage.openOptions","module":"background","time":1550580945208}]

@ronggang
Copy link
Collaborator

看了一下,关闭了白名单以后依旧错误。

也是说之前启用了白名单是吗?是否在停用TR的情况下再修改的 settings.json 文件?如果不是,请尝试停用TR后再修改 settings.json 文件。
如果问题依然存在,那只能查看插件的背景页 console 的错误信息了。

之前"rpc-host-whitelist-enabled":true,但是白名单是空的。而且可以通过公网连接,服务器在家里,在单位可以连接。
是在停用的情况下修改的配置文件。

是这个日志么?
[{"event":"requestMessage.saveUIOptions","module":"background","time":1550580930662},{"event":"requestMessage.testClientConnectivity","module":"background","time":1550580936931},{"data":{"data":{"code":200,"msg":"parsererror","status":"error"},"success":false,"type":"error"},"event":"testClientConnectivity","module":"background","msg":"测试客户连接失败[http://192.168.0.233:9091]","time":1550580937149},{"event":"requestMessage.saveConfig","module":"background","time":1550580938781},{"event":"requestMessage.openOptions","module":"background","time":1550580945208}]

看到好像是解析错误(parsererror),那应该是连接TR时返回的内容不是JSON格式的内容,可以按以下步骤打开调试信息
image
打开背景页之后,再到助手里点TR连接测试,看看获取到什么结果

image

分区将 console 和 network 的内容截图一下我们分析一下看看能不能修复。

@wyl219
Copy link
Author

wyl219 commented Feb 20, 2019

看了一下,关闭了白名单以后依旧错误。

也是说之前启用了白名单是吗?是否在停用TR的情况下再修改的 settings.json 文件?如果不是,请尝试停用TR后再修改 settings.json 文件。
如果问题依然存在,那只能查看插件的背景页 console 的错误信息了。

之前"rpc-host-whitelist-enabled":true,但是白名单是空的。而且可以通过公网连接,服务器在家里,在单位可以连接。
是在停用的情况下修改的配置文件。
是这个日志么?
[{"event":"requestMessage.saveUIOptions","module":"background","time":1550580930662},{"event":"requestMessage.testClientConnectivity","module":"background","time":1550580936931},{"data":{"data":{"code":200,"msg":"parsererror","status":"error"},"success":false,"type":"error"},"event":"testClientConnectivity","module":"background","msg":"测试客户连接失败[http://192.168.0.233:9091]","time":1550580937149},{"event":"requestMessage.saveConfig","module":"background","time":1550580938781},{"event":"requestMessage.openOptions","module":"background","time":1550580945208}]

看到好像是解析错误(parsererror),那应该是连接TR时返回的内容不是JSON格式的内容,可以按以下步骤打开调试信息
image
打开背景页之后,再到助手里点TR连接测试,看看获取到什么结果

image

分区将 console 和 network 的内容截图一下我们分析一下看看能不能修复。

找不到背景页的进入方式
Uploading QQ截图20190220100241.jpg…

@wyl219
Copy link
Author

wyl219 commented Feb 20, 2019

qq 20190220100241

@ronggang
Copy link
Collaborator

@wyl219 点详细信息进去也可以,里面有背景页
image

另外,你这个是什么浏览器?

@wyl219
Copy link
Author

wyl219 commented Feb 20, 2019

@wyl219 点详细信息进去也可以,里面有背景页
image

另外,你这个是什么浏览器?
找到了,用的是chrome,需要打开开发者模式
qq 20190220102533

qq 20190220102937

@ronggang
Copy link
Collaborator

@wyl219 谢谢,不过我没看到测试连接后的信息,你打开后,再去助手里点击“测试服务器是否可用”,然后看看 consolenetwork 有没有错误。
image

看最后一条 rpc ,应该会有服务器返回的信息。

@wyl219
Copy link
Author

wyl219 commented Feb 21, 2019

1
2
3

@ronggang
Copy link
Collaborator

@wyl219 是有问题,请求被转到web页面了。
题外话,你的web页面好像被插入广告了吧。

@wyl219
Copy link
Author

wyl219 commented Feb 21, 2019

@wyl219 是有问题,请求被转到web页面了。
题外话,你的web页面好像被插入广告了吧。

那该怎么解决呢?

题外话,你不说我没注意,你说了我一看,嘿,关于里还真有广告.还挺眼熟.
qq 20190221100225

@wyl219
Copy link
Author

wyl219 commented Feb 21, 2019

当时是用的网上的一键包安装的,不过看界面上是没广告的.

@ronggang
Copy link
Collaborator

@wyl219

  1. 直接用浏览器访问你的 http://192.168.0.233:9091/transmission/rpc ,看看是什么结果,如果被跳转了,说明配置可能不一样;
  2. 检查一下 TR 的 settings.json 文件,看一下 rpc-url 内容是不是等于 /transmission/
    image
    如果这个值不等于 /transmission/ , 那么在填写服务器地址时就要把这个也跟上了,如:
    http://192.168.0.233:9091/你看的值/rpc
    这样再试试看。

另外,那个被插入的内容好像是广告拦截插件干的

@wyl219
Copy link
Author

wyl219 commented Feb 21, 2019

@wyl219

  1. 直接用浏览器访问你的 http://192.168.0.233:9091/transmission/rpc ,看看是什么结果,如果被跳转了,说明配置可能不一样;
  2. 检查一下 TR 的 settings.json 文件,看一下 rpc-url 内容是不是等于 /transmission/
    image
    如果这个值不等于 /transmission/ , 那么在填写服务器地址时就要把这个也跟上了,如:
    http://192.168.0.233:9091/你看的值/rpc
    这样再试试看。

另外,那个被插入的内容好像是广告拦截插件干的

是的,http://192.168.0.233:9091/web/rpc就可以了,谢谢。之前试过http://192.168.0.233:9091/web/。
这个好像是当时tr的一键包的问题,一直没管他。

@chenyz1984
Copy link

实测tr的汉化包会导致此插件连接服务器失败,但是却不影响tr-remote-gui客户端的使用。

@ted423
Copy link
Collaborator

ted423 commented Nov 19, 2019

@chenyz1984 哪来的汉化包...什么版本,什么系统.......

@Rhilip
Copy link
Collaborator

Rhilip commented Nov 19, 2019

@chenyz1984 真有意思,讲的是ronggong写的webui吧。
然而webui和remote gui走的都是transmission的webapi,不可能存在一个有用一个没用的。

@89clark
Copy link

89clark commented Dec 31, 2019

捕获1
捕获2

"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-host-whitelist": "",
"rpc-host-whitelist-enabled": false,
"rpc-password": "@@@@@@@@",
"rpc-port": 9099,
"rpc-url": "/transmission/",
"rpc-username": "admin",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,

帮忙看看是什么错误,谢谢

@xzyinjun
Copy link

@89clark 地址最后加个/

@89clark
Copy link

89clark commented Jan 1, 2020

@89clark 地址最后加个/

我在下载服务器 输入http://192.168.1.4:9099/ 加不加/都没用。。

@pt-plugins pt-plugins locked as resolved and limited conversation to collaborators Jan 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working need more information 需要更多的信息 question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants