ShadowsocksR-Live / iShadowsocksR

ShadowsocksR (SSRoT) client for iOS
GNU General Public License v3.0
574 stars 326 forks source link

大佬好,相同配置在 macbook 连接正常,但 iOS loading 无法连接,请问是什么原因引起的? #98

Closed zhouxhu closed 1 month ago

zhouxhu commented 1 month ago

Xcode 版本:15.3 iOS 版本:17.3 对比参数,都是相同的,本地参数写死,iOS 也是一直 loading。

image image
ssrlive commented 1 month ago

估计你的设置有问题:

image

ssrlive commented 1 month ago

这就是当前的代码版本,在我手机上很正常。

image

ssrlive commented 1 month ago

tunnel_path 字段不要有奇怪的东西,字母数字就可以了。

zhouxhu commented 1 month ago

请问,在 iOS 中client_settings 中 listen_port、client_id ,这些字段不用配置么?

ssrlive commented 1 month ago

listen_port 会被改成 0 的,这样就会监听在随机的一个有效端口上。 client_id 是为将来的机场准备的,目前没使用。

ssrlive commented 1 month ago

shadowsocks_handler 回调函数就是接收 具体端口用的,如果回调返回后,后续的动作才可以展开。