-
Notifications
You must be signed in to change notification settings - Fork 53
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
同样的配置文件在android无法运行,而在window可以 #15
Comments
有无服务端和另一边客户端的日志 |
服务端日志没有
另一侧无日志更新
|
frp-Android v1.0.3 的frp版本是v0.56.0 |
除android以外全部更新了v0.57.0,没有任何区别,除了android以外均可用,仍旧出现invalid NewWorkConn但无影响 |
这怎么说 是设备没有同步NTP时间 还是设备在不同时区 先试试最小化配置 并确保(内网设备和访问者设备)到服务器的连接通畅 如果有跨国连接注意防火墙干扰 /usr/bin/frps --bind_port 7000 --log_level info --token <token> 内网设备配置(frpc): serverAddr = "<服务器地址>"
serverPort = 7000
auth.token = "<token>"
user = "test"
[log]
level = "debug"
disablePrintColor = true
[[proxies]]
name = "secret_web"
type = "stcp"
secretKey = "<secret>"
localIP = "127.0.0.1"
localPort = 8000 访问者设备配置(frp-Android): serverAddr = "<服务器地址>"
serverPort = 7000
auth.token = "<token>"
dnsServer = "119.29.29.29"
user = "test"
[log]
level = "debug"
disablePrintColor = true
[[visitors]]
name = "secret_web_visitor"
type = "stcp"
serverName = "secret_web"
secretKey = "<secret>"
bindAddr = "127.0.0.1"
bindPort = 9000
transport.useEncryption = false
transport.useCompression = false 这一套下来我这是没问题的 |
已测试最小配置,无效 |
话说这每次改完配置文件大概率闪退一次是不是也有关系? |
把user和transport删了试试吧 这再不行我也不知道咋办了 |
不是闪退 是界面跳转写错了 把单例的页面给关闭了 |
我有类似的问题。我自己也写了一个frpc的client,在安卓模拟器上运行正常,但是部署到我的vivo x100 Origin 5上不起作用。于是下载了这个项目,症状一样。 |
没事了,我的问题的解决办法是关闭应用的电池优化 |
会不会是时间的问题?

![Uploading Snipaste_2024-05-21_03-00-34.png…]()
The text was updated successfully, but these errors were encountered: