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

can't run on android #10

Closed
ghost opened this issue Jun 15, 2022 · 8 comments
Closed

can't run on android #10

ghost opened this issue Jun 15, 2022 · 8 comments

Comments

@ghost
Copy link

ghost commented Jun 15, 2022

./openp2p --token xxxxxxxxxxxxxxxx --loglevel 0
2022/06/15 09:09:23 9797 INFO openp2p start. version: 3.1.0
2022/06/15 09:09:23 9797 INFO Contact: QQ: 477503927, Email: openp2p.cn@gmail.com
2022/06/15 09:09:23 9797 INFO &{{15555067135758357827 localhost      0 0  0 10 api.openp2p.cn 27183 27182 27183 60532} [] 0 false {0 0}}
2022/06/15 09:09:23 9797 INFO init start
2022/06/15 09:09:23 9797 DEBUG local port:51409  nat port:0
2022/06/15 09:09:23 9797 DEBUG detect NAT type error:lookup api.openp2p.cn on [::1]:53: read udp [::1]:57202->[::1]:53: read: connection refused
2022/06/15 09:09:23 9797 ERROR P2PNetwork init error:lookup api.openp2p.cn on [::1]:53: read udp [::1]:57202->[::1]:53: read: connection refused
2022/06/15 09:09:23 9797 INFO autorunApp start
2022/06/15 09:09:53 9797 INFO init start
2022/06/15 09:09:53 9797 ERROR echo server listen error:listen udp 0.0.0.0:60532: bind: address already in use
2022/06/15 09:09:53 9797 DEBUG local port:50315  nat port:0
2022/06/15 09:09:53 9797 DEBUG detect NAT type error:lookup api.openp2p.cn on [::1]:53: read udp [::1]:55662->[::1]:53: read: connection refused
2022/06/15 09:09:53 9797 ERROR P2PNetwork init error:lookup api.openp2p.cn on [::1]:53: read udp [::1]:55662->[::1]:53: read: connection refused
2022/06/15 09:09:53 9797 ERROR P2PNetwork init error:lookup api.openp2p.cn on [::1]:53: read udp [::1]:55662->[::1]:53: read: connection refused
2022/06/15 09:09:53 9797 ERROR P2PNetwork login error

test on android termux with arm64

@TenderIronh
Copy link
Contributor

it seems like dns problem. try ping api.openp2p.cn

@ghost
Copy link
Author

ghost commented Jun 20, 2022

ping api.openp2p.cn is ok
Maybe it's nat type error ?

@TenderIronh
Copy link
Contributor

DEBUG detect NAT type error:lookup api.openp2p.cn on [::1]:53: read udp [::1]:57202->[::1]:53: read: connection refused

what's your environment detail,i will try myself

@xiongnemo
Copy link

Change network.ServerHost to IP address for api.openp2p.cn in config.json works for me.

@chairwa
Copy link

chairwa commented Aug 10, 2022

openp2p3.2.0.linux-arm64.tar.gz is a linux binary, it needs /etc/resolv.conf to resolve domain name.

@TenderIronh
Copy link
Contributor

I have ported to a simple Android app(gomobie bind and a kotlin ui), it works fine on Huawei mate30 and Honor 7. I will release later

@SoulLinkIly
Copy link

我用的华为p30 pro隐私空间下载的最新app,时不时掉线,连上后就显示为一个新的设备,怀疑特征码没有做对,掉线猜测是后台不稳定,按要求设置了,不知道哪里出了问题,系统是最新鸿蒙2.0

@TenderIronh
Copy link
Contributor

https://console.openp2p.cn/install 已支持android。kotlin不熟,UI比较朴素,核心功能正常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants