taamarin / box_for_magisk

Transparent Proxy for Android(root)
GNU General Public License v3.0
1.01k stars 111 forks source link

listen tcp 0.0.0.0:9898: bind: address already in use #69

Open SilverTears1 opened 6 months ago

SilverTears1 commented 6 months ago

When I use sing-box core instead of Clash, I get this error. How do I fix this error?

version=v1.4.3

05:15 pm [Info]: Good day 05:15 pm [Info]: Current busybox v1.36.1 05:15 pm [Info]: Using kernel in /data/adb/box/bin/sing-box. 05:15 pm [Info]: sing-box version 1.8.0-beta.6

Environment: go1.21.5 android/arm64 Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api Revision: c83b11d683e8ce6e73adc98a08ecb404bcfb26e0 CGO: enabled 05:15 pm [Info]: deleting and backup logs 05:15 pm [Info]: crontab disabled. 05:15 pm [Info]: client-list: [ clash sing-box xray v2fly ] 05:15 pm [Info]: choose: sing-box, start the service. 05:15 pm [Info]: config /data/adb/box/sing-box/config.json 05:15 pm [Info]: type [Tproxy] already exists in /data/adb/box/sing-box/config.json 05:15 pm [Info]: sing-box cgroup memcg: false 05:15 pm [Info]: sing-box cgroup cpuset: false 05:15 pm [Info]: sing-box cgroup blkio: false 05:15 pm [Info]: sing-box skipped port detection. 05:15 pm [Error]: FATAL[0000] start service: initialize inbound/tproxy[tproxy-in]: listen tcp 0.0.0.0:9898: bind: address already in use 05:15 pm [Error]: sing-box service is not running. 05:15 pm [Error]: please check sing-box.log for more information. 05:15 pm [Error]: killing stale pid 20296 05:15 pm [Error]: failed to check BOX user group, please make sure sing-box kernel is started. 05:15 pm [Warning]: Cleaning up iptables transparent proxy rules. 05:15 pm [Warning]: Cleaning up iptables transparent proxy rules done.