Android版软件数据流量下载速度非常慢(wifi正常) #767

Open
opened 2025-11-20 05:17:10 -05:00 by saavagebueno · 24 comments
Owner

Originally created by @Seacity976 on GitHub (Apr 3, 2024).

首先我的手机是一加8T,Android 11,在安装下Netbird连接成功后,ping值是比较低的,说明P2P连接成功。
image
但是去访问网页局域网测试的时候,下载速度慢的可怜,但上传速度又是正常的。
image
我以为是安卓手机的原因,当我尝试使用这台安卓手机共享Wifi给iPhone时,iPhone的上下行速度是正常的,在Android手机用wifi都是正常的。下面这张图是用安卓共享的网络在Windows下的测速,iphone用数据流量下也能达到这个效果,就是Android 用数据流量时就不正常了
image

Originally created by @Seacity976 on GitHub (Apr 3, 2024). 首先我的手机是一加8T,Android 11,在安装下Netbird连接成功后,ping值是比较低的,说明P2P连接成功。 ![image](https://github.com/netbirdio/netbird/assets/165882530/8b547ade-e203-4355-b8a7-2de77de7168b) 但是去访问网页局域网测试的时候,下载速度慢的可怜,但上传速度又是正常的。 ![image](https://github.com/netbirdio/netbird/assets/165882530/1d9bedcf-50cc-456d-abdc-17a581bf74e6) 我以为是安卓手机的原因,当我尝试使用这台安卓手机共享Wifi给iPhone时,iPhone的上下行速度是正常的,在Android手机用wifi都是正常的。下面这张图是用安卓共享的网络在Windows下的测速,iphone用数据流量下也能达到这个效果,就是Android 用数据流量时就不正常了 ![image](https://github.com/netbirdio/netbird/assets/165882530/8f77588d-fae4-4a3c-beb5-7a8ff433b546)
saavagebueno added the waiting-feedbacknetworkingAndroidcloud labels 2025-11-20 05:17:10 -05:00
Author
Owner

@Seacity976 commented on GitHub (Apr 3, 2024):

顺带一提,安卓的软件是在google play下载的最新的0.0.20版本,我在用Zerotier或者Tailscale组网的时候也是正常速度

@Seacity976 commented on GitHub (Apr 3, 2024): 顺带一提,安卓的软件是在google play下载的最新的0.0.20版本,我在用Zerotier或者Tailscale组网的时候也是正常速度
Author
Owner

@bcmmbaga commented on GitHub (Apr 3, 2024):

Hello @Seacity976, the connection might be relayed and not P2P. Could you please run netbird status -d from the peer connected to this Android peer and verify the connection type?

@bcmmbaga commented on GitHub (Apr 3, 2024): Hello @Seacity976, the connection might be relayed and not P2P. Could you please run `netbird status -d` from the peer connected to this Android peer and verify the connection type?
Author
Owner

@Seacity976 commented on GitHub (Apr 3, 2024):

你好@Seacity976,连接可能是中继的,而不是 P2P。您能否netbird status -d从连接到此 Android 对等点的对等点运行并验证连接类型?

是P2P,如果是中继的在中国大陆ping延时会去到200ms,数据流量p2p直通的话大概就是50100ms这样子(Zerotier和Tailscale也大概是这个水平,但他俩的速度是正常的),如果连的是有线网络则是2060ms这样子。而且我发现只有Android用数据流量才会这样而且上传是正常的,就是下载不正常。我怀疑过是不是安卓对数据流量的ipv6支持不友好导致的,但我手机目前无法关闭数据流量的ipv6.

最后,安卓怎么运行netbird status -d

@Seacity976 commented on GitHub (Apr 3, 2024): > 你好@Seacity976,连接可能是中继的,而不是 P2P。您能否`netbird status -d`从连接到此 Android 对等点的对等点运行并验证连接类型? 是P2P,如果是中继的在中国大陆ping延时会去到200ms,数据流量p2p直通的话大概就是50~100ms这样子(Zerotier和Tailscale也大概是这个水平,但他俩的速度是正常的),如果连的是有线网络则是20~60ms这样子。而且我发现只有Android用数据流量才会这样而且上传是正常的,就是下载不正常。我怀疑过是不是安卓对数据流量的ipv6支持不友好导致的,但我手机目前无法关闭数据流量的ipv6. 最后,安卓怎么运行netbird status -d
Author
Owner

@jiangslee commented on GitHub (Apr 3, 2024):

200Kbps?会不会是homebox的误差?

@jiangslee commented on GitHub (Apr 3, 2024): 200Kbps?会不会是homebox的误差?
Author
Owner

@Seacity976 commented on GitHub (Apr 3, 2024):

200Kbps?会不会是homebox的托盘?

这个不会,我访问内网网址都非常慢,但是上传很快速度是正常。用zerotier或者tailscale的时候下载就正常

@Seacity976 commented on GitHub (Apr 3, 2024): > 200Kbps?会不会是homebox的托盘? 这个不会,我访问内网网址都非常慢,但是上传很快速度是正常。用zerotier或者tailscale的时候下载就正常
Author
Owner

@jiangslee commented on GitHub (Apr 3, 2024):

安卓怎么运行netbird status -d

android应该是不支持运行netbird status -d,但是你可以从你另一端的x86设备运行netbird status -d,查看android的connection type

@jiangslee commented on GitHub (Apr 3, 2024): > 安卓怎么运行netbird status -d android应该是不支持运行`netbird status -d`,但是你可以从你另一端的x86设备运行`netbird status -d`,查看android的connection type
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

安卓怎么运行netbird status -d

android应该是不支持运行netbird status -d,但是你可以从你另一端的x86设备运行netbird status -d,查看android的connection type

是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样

@Seacity976 commented on GitHub (Apr 4, 2024): > > 安卓怎么运行netbird status -d > > android应该是不支持运行`netbird status -d`,但是你可以从你另一端的x86设备运行`netbird status -d`,查看android的connection type 是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样
Author
Owner

@jiangslee commented on GitHub (Apr 4, 2024):

安卓怎么运行netbird status -d

android应该是不支持运行netbird status -d,但是你可以从你另一端的x86设备运行netbird status -d,查看android的connection type

是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样

在x86设备执行下netbird status -d截图看看android的connection type是啥?

@jiangslee commented on GitHub (Apr 4, 2024): > > > 安卓怎么运行netbird status -d > > > > > > android应该是不支持运行`netbird status -d`,但是你可以从你另一端的x86设备运行`netbird status -d`,查看android的connection type > > 是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样 在x86设备执行下`netbird status -d`截图看看android的connection type是啥?
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

安卓怎么运行netbird status -d

android应该是不支持运行netbird status -d,但是你可以从你另一端的x86设备运行netbird status -d,查看android的connection type

是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样

在x86设备执行下netbird status -d截图看看android的connection type是啥?

是P2P,这是x86输出的
image
这是Android端地址
14666153332679661133

@Seacity976 commented on GitHub (Apr 4, 2024): > > > > 安卓怎么运行netbird status -d > > > > > > > > > android应该是不支持运行`netbird status -d`,但是你可以从你另一端的x86设备运行`netbird status -d`,查看android的connection type > > > > > > 是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样 > > 在x86设备执行下`netbird status -d`截图看看android的connection type是啥? 是P2P,这是x86输出的 ![image](https://github.com/netbirdio/netbird/assets/165882530/3bd83068-ecee-4ede-908d-97d48e7309ef) 这是Android端地址 ![14666153332679661133](https://github.com/netbirdio/netbird/assets/165882530/05799cf9-58f7-4fce-a8dc-b2603c97c73e)
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

安卓怎么运行netbird status -d

android应该是不支持运行netbird status -d,但是你可以从你另一端的x86设备运行netbird status -d,查看android的connection type

是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样

在x86设备执行下netbird status -d截图看看android的connection type是啥?

我现在尝试给一加8T刷成coloros试试看,原先的是氢OS

@Seacity976 commented on GitHub (Apr 4, 2024): > > > > 安卓怎么运行netbird status -d > > > > > > > > > android应该是不支持运行`netbird status -d`,但是你可以从你另一端的x86设备运行`netbird status -d`,查看android的connection type > > > > > > 是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样 > > 在x86设备执行下`netbird status -d`截图看看android的connection type是啥? 我现在尝试给一加8T刷成coloros试试看,原先的是氢OS
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

安卓怎么运行netbird status -d

android应该是不支持运行netbird status -d,但是你可以从你另一端的x86设备运行netbird status -d,查看android的connection type

是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样

在x86设备执行下netbird status -d截图看看android的connection type是啥?

刷成coloros后问题依然存在,netbird status -d输出如下:
image

Status: Connected
-- detail --
Connection type: P2P
Direct: true
ICE candidate (Local/Remote): srflx/prflx
ICE candidate endpoints (Local/Remote): xxxxxxxxxxxxxxxxxx
Last connection update: 2024-04-04 18:41:34
Last WireGuard handshake: 2024-04-04 18:44:25
Transfer status (received/sent) 175.6 KiB/2.9 MiB
Quantum resistance: false
Routes: -
Latency: 180.902609ms

@Seacity976 commented on GitHub (Apr 4, 2024): > > > > 安卓怎么运行netbird status -d > > > > > > > > > android应该是不支持运行`netbird status -d`,但是你可以从你另一端的x86设备运行`netbird status -d`,查看android的connection type > > > > > > 是正常的,上传是正常的,连无线网络上传和下载也是正常的,就是只有在数据流量下用下载不正常,用数据流量在中国大陆ping延时在50-90ms这样子,是P2P直通才能这样 > > 在x86设备执行下`netbird status -d`截图看看android的connection type是啥? 刷成coloros后问题依然存在,netbird status -d输出如下: ![image](https://github.com/netbirdio/netbird/assets/165882530/b05a7c27-cd66-42e5-b49a-077695984b98) Status: Connected -- detail -- Connection type: P2P Direct: true ICE candidate (Local/Remote): srflx/prflx ICE candidate endpoints (Local/Remote): xxxxxxxxxxxxxxxxxx Last connection update: 2024-04-04 18:41:34 Last WireGuard handshake: 2024-04-04 18:44:25 Transfer status (received/sent) 175.6 KiB/2.9 MiB Quantum resistance: false Routes: - Latency: 180.902609ms
Author
Owner

@jiangslee commented on GitHub (Apr 4, 2024):

我有一个mate10pro(HarmonyOS3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。
等我晚上回去后也测试个结果给你对比一下。

我是self-hosted,不是官方saas环境。

@jiangslee commented on GitHub (Apr 4, 2024): 我有一个mate10pro(HarmonyOS3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。 等我晚上回去后也测试个结果给你对比一下。 我是self-hosted,不是官方saas环境。
Author
Owner

@jiangslee commented on GitHub (Apr 4, 2024):

我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。

等我晚上回去后也测试个结果给你对比一下。

我是self-hosted,不是官方saas环境。

HarmonyOS3.0 电信4g
image

@jiangslee commented on GitHub (Apr 4, 2024): > 我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。 > > 等我晚上回去后也测试个结果给你对比一下。 > > > > 我是self-hosted,不是官方saas环境。 HarmonyOS3.0 电信4g ![image](https://github.com/netbirdio/netbird/assets/27892476/c34fe18a-6c47-4076-9f21-c7785673f8b2)
Author
Owner

@jiangslee commented on GitHub (Apr 4, 2024):

iphone12 ios17.4.1 电信5g

image

@jiangslee commented on GitHub (Apr 4, 2024): iphone12 ios17.4.1 电信5g ![image](https://github.com/netbirdio/netbird/assets/27892476/07da5362-9404-484d-ba83-73910f5eb1ee)
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。
等我晚上回去后也测试个结果给你对比一下。
我是self-hosted,不是官方saas环境。

HarmonyOS3.0 电信4g

我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常

@Seacity976 commented on GitHub (Apr 4, 2024): > > > 我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。 > > > 等我晚上回去后也测试个结果给你对比一下。 > > > 我是self-hosted,不是官方saas环境。 > > > > > > HarmonyOS3.0 电信4g > 我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常
Author
Owner

@jiangslee commented on GitHub (Apr 4, 2024):

我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。

等我晚上回去后也测试个结果给你对比一下。

我是self-hosted,不是官方saas环境。

HarmonyOS3.0 电信4g

我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常

你那有其它安卓设备吗?也测试下?

信号满格吗?

@jiangslee commented on GitHub (Apr 4, 2024): > > > > 我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。 > > > > > 等我晚上回去后也测试个结果给你对比一下。 > > > > > 我是self-hosted,不是官方saas环境。 > > > > > > > > > > > > HarmonyOS3.0 电信4g > > > > > 我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常 > > > > 你那有其它安卓设备吗?也测试下? 信号满格吗?
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。

等我晚上回去后也测试个结果给你对比一下。

我是self-hosted,不是官方saas环境。

HarmonyOS3.0 电信4g

我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常

你那有其它安卓设备吗?也测试下?

信号满格吗?

信号满格,用zerotier或者tailscale下载可以跑满50Mbps

@Seacity976 commented on GitHub (Apr 4, 2024): > > > > > 我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。 > > > > > > > > > 等我晚上回去后也测试个结果给你对比一下。 > > > > > > > > > 我是self-hosted,不是官方saas环境。 > > > > > > > > > > > > > > > > > > > > > > > > HarmonyOS3.0 电信4g > > > > > > > 我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常 > > 你那有其它安卓设备吗?也测试下? > > 信号满格吗? 信号满格,用zerotier或者tailscale下载可以跑满50Mbps
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。

等我晚上回去后也测试个结果给你对比一下。

我是self-hosted,不是官方saas环境。

HarmonyOS3.0 电信4g

我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常

你那有其它安卓设备吗?也测试下?

信号满格吗?

我换成一台几年的小米手机,Android 9的,再把一加8T的Sim卡插到这个手机上,Homebox下载速度正常,换回一加8T Android 11的,依旧不正常

@Seacity976 commented on GitHub (Apr 4, 2024): > > > > > 我有一个mate10pro(HarmonyOS 3.0)的老设备,电信4G信号,也不至于只跑到199Kbps的情况。。。 > > > > > > > > > 等我晚上回去后也测试个结果给你对比一下。 > > > > > > > > > 我是self-hosted,不是官方saas环境。 > > > > > > > > > > > > > > > > > > > > > > > > HarmonyOS3.0 电信4g > > > > > > > 我的iPhone 14也是正常,就是安卓,上传也是正常的就是下载,无线也是正常的就是数据流量下的下载不正常 > > 你那有其它安卓设备吗?也测试下? > > 信号满格吗? 我换成一台几年的小米手机,Android 9的,再把一加8T的Sim卡插到这个手机上,Homebox下载速度正常,换回一加8T Android 11的,依旧不正常
Author
Owner

@jiangslee commented on GitHub (Apr 4, 2024):

我换成一台几年的小米手机,Android 9的,再把一加8T的Sim卡插到这个手机上,Homebox下载速度正常,换回一加8T Android 11的,依旧不正常

可惜我没有android 11的设备,不然也可以测试下。。

@jiangslee commented on GitHub (Apr 4, 2024): > 我换成一台几年的小米手机,Android 9的,再把一加8T的Sim卡插到这个手机上,Homebox下载速度正常,换回一加8T Android 11的,依旧不正常 可惜我没有android 11的设备,不然也可以测试下。。
Author
Owner

@Seacity976 commented on GitHub (Apr 4, 2024):

目前问题依然没有解决

@Seacity976 commented on GitHub (Apr 4, 2024): 目前问题依然没有解决
Author
Owner

@rqi14 commented on GitHub (Apr 5, 2024):

I have a similar issue. It took me more than 3 minutes to open any webpage hosted on my internal server with my android phone and netbird. Within the same Wi-Fi, my windows desktop and ipad are fine. I've checked on the peer that the connection is P2P.

@rqi14 commented on GitHub (Apr 5, 2024): I have a similar issue. It took me more than 3 minutes to open any webpage hosted on my internal server with my android phone and netbird. Within the same Wi-Fi, my windows desktop and ipad are fine. I've checked on the peer that the connection is P2P.
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

@rqi14 / @Seacity976 is this still an issue for you in the latest NetBird versions?

@nazarewk commented on GitHub (Apr 23, 2025): @rqi14 / @Seacity976 is this still an issue for you in the latest NetBird versions?
Author
Owner

@Seacity976 commented on GitHub (Apr 29, 2025):

@rqi14/@Seacity976在最新的 NetBird 版本中这对您来说仍然是个问题吗?

仍然存在,问题并未解决

@Seacity976 commented on GitHub (Apr 29, 2025): > [@rqi14](https://github.com/rqi14)/[@Seacity976](https://github.com/Seacity976)在最新的 NetBird 版本中这对您来说仍然是个问题吗? 仍然存在,问题并未解决
Author
Owner

@nazarewk commented on GitHub (Jun 9, 2025):

FYI: Last week, we released the first testing version of the native Android client (0.1.0). You can sign up for it at https://play.google.com/apps/testing/io.netbird.client . Feel free to retest whatever issues you had with it before and please confirm whether they are still present.

It involves no functional changes (for now) and updates the underlying NetBird client library to the latest version, possibly solving a lot of issues. As a side-effect Exit Node feature is now also working on Android.

@nazarewk commented on GitHub (Jun 9, 2025): FYI: Last week, we released the first testing version of the native Android client (`0.1.0`). You can sign up for it at https://play.google.com/apps/testing/io.netbird.client . Feel free to retest whatever issues you had with it before and please confirm whether they are still present. It involves no functional changes (for now) and updates the underlying NetBird client library to the latest version, possibly solving a lot of issues. As a side-effect Exit Node feature is now also working on Android.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#767