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

crash on some phones redmi note 13 4G A23 some IPHONES #517

Open
netsupcloud opened this issue Jan 10, 2025 · 31 comments
Open

crash on some phones redmi note 13 4G A23 some IPHONES #517

netsupcloud opened this issue Jan 10, 2025 · 31 comments

Comments

@netsupcloud
Copy link

hi,

both latest-release and pre-release 1.0.38.509

it will crash on some phones redmi note 13 4G - A23 - iphones and im forced to use sing-box again

thanks in advance

@netsupcloud
Copy link
Author

start with lagging and finally not responding and karing will turn off (instantly after first run)

@GooRingX
Copy link
Contributor

hi,

both latest-release and pre-release 1.0.38.509

it will crash on some phones redmi note 13 4G - A23 - iphones and im forced to use sing-box again

thanks in advance

Please provide more information about the crash, such as recording a video or providing relevant crash information

@GooRingX
Copy link
Contributor

start with lagging and finally not responding and karing will turn off (instantly after first run)

Operate karing to see if karing is really unresponsive?

@netsupcloud
Copy link
Author

netsupcloud commented Jan 11, 2025

@GooRingX yes exactly on some phones it works clear for example poco m3 and poco x3 nfc but on a01 and a23 and some iphones will start with not responding and finally stops as im a Mobile Repair Technician i tested it too much trust me connections are only httpupgrade about 3 connections from sing-box's sublink and same connections tested on each phone

my panel is https://github.com/alireza0/s-ui/

@netsupcloud
Copy link
Author

netsupcloud commented Jan 11, 2025

@GooRingX A05S too

@GooRingX
Copy link
Contributor

  1. Can you tell me which version this problem started?
  2. Please list the devices that have been tested and have problems
  3. It would be better to add a video
  4. Since we may not have relevant test equipment, the more detailed information you provide, the more helpful it will be for troubleshooting
    Thank you

@netsupcloud
Copy link
Author

@GooRingX v1.0.38.512 tested today region is iran
Capture

@netsupcloud
Copy link
Author

@GooRingX i have a test phone here it is a10s at first install karing was crashy but now it doesnt crash but work with same sublink from panel slower than sing-box why ?

@GooRingX
Copy link
Contributor

i have a test phone here it is a10s at first install karing was crashy but now it doesnt crash but work with same sublink from panel slower than sing-box why ?

  1. Due to different subscription source types, some fields may be inconsistent with the original singbox after import
  2. Different sing-box core versions

@GooRingX
Copy link
Contributor

@GooRingX i have a test phone here it is a10s at first install karing was crashy but now it doesnt crash but work with same sublink from panel slower than sing-box why ?

Post the contents of the karing- settings-about-developer options-view files-service.json file on the a10 device

@netsupcloud
Copy link
Author

@GooRingX it seems first run will crash because karing will hurry up and it will connect through connections before testing their are available or not also all are available because next start doesnt crash and will connect correctly through them but SLOWer than sing-box also in logs FYI: 10.10.34.35 is your response when you dial to a filtered target by gfw i added log files for first run and next ok run:

karing_setting.json
service.json

first run-app.log
first-run-service_core.json
first-run-service_core.log

next-run-app.log
next-run-service_core.json
next-run-service_core.log

@netsupcloud
Copy link
Author

@GooRingX also add fetch profile of current connection to main screen (cloud with downside mark give it a different color with more contrast) its essential for novice users and will be frequently used

@netsupcloud
Copy link
Author

netsupcloud commented Jan 15, 2025

@GooRingX first run crash still exist with latest version: 1.0.38.520

@GooRingX
Copy link
Contributor

Please add pictures or videos of the crash. You can try to turn off the tun mode in tun and try again to see if it crashes.

@netsupcloud
Copy link
Author

netsupcloud commented Jan 15, 2025

@GooRingX

video_2025-01-15_12-47-33.mp4

ok check the video first run automatically it will turn off (crashed)
next run will work but slower than sing-box

@netsupcloud
Copy link
Author

@GooRingX if i turn off tun mode it will turn on but completly doesnt work even urltests all are ok

@netsupcloud
Copy link
Author

@GooRingX new version is same 1.0.39.521

@GooRingX
Copy link
Contributor

@GooRingX if i turn off tun mode it will turn on but completly doesnt work even urltests all are ok

turned off tun mode just to see if it would crash

@GooRingX
Copy link
Contributor

@GooRingX

video_2025-01-15_12-47-33.mp4
ok check the video first run automatically it will turn off (crashed) next run will work but slower than sing-box

From the video, we cannot confirm that it is a crash, but we can confirm that the VPN process has exited for some reason.

@GooRingX
Copy link
Contributor

Have you tried other VPN software to see if they work properly? For example, sing-box, clash, etc.

@GooRingX
Copy link
Contributor

The log shows inbound/tun[tun_in]: bind forwarder to interface: operation not permitted. This may be the cause of the VPN exit due to the binding failure.

@netsupcloud
Copy link
Author

Have you tried other VPN software to see if they work properly? For example, sing-box, clash, etc.

yes all others work properly clash sing-box and hiddify tested without any lag or delay only karing will produce such lags and crash

@netsupcloud
Copy link
Author

netsupcloud commented Jan 16, 2025

@GooRingX
video_2025-01-15_12-47-33.mp4
ok check the video first run automatically it will turn off (crashed) next run will work but slower than sing-box

From the video, we cannot confirm that it is a crash, but we can confirm that the VPN process has exited for some reason.

i said before:
it seems first run will crash because karing will hurry up and it will connect through proxies before testing their are available or not also all are available because next start doesn't crash and will connect correctly through them but SLOWer than sing-box

its better instead error after fail to connect through first loaded proxy
karing try to recheck other proxies and connect through one that is available

also its better to autocheck other dns protocols some where normal dns protocols doesn't response to resolve inbound's name in that place its better karing try to resolve it through all other protocols dns doh dot automatically if was necessary or even its better to do a multi threaded check and skip 10.10.34.35 10.10.34.* or even 10.10.. responses and use first and fastest response and cancel other threads

@netsupcloud
Copy link
Author

netsupcloud commented Jan 16, 2025

@GooRingX 1.0.39.522 this version's speed is better now its equal to singbox on a10s atleast but first run crash exist yet anyway we can leave it but speed is ok now

just please add a refetch current profile button with different color and better contrast on main screen its easier to use and remember for old guys

@netsupcloud
Copy link
Author

netsupcloud commented Jan 17, 2025

@GooRingX for testing newer version i should remove and install it again for correct rule arrangement? or just update is enough ?

@netsupcloud
Copy link
Author

@GooRingX v1.0.39.524 everything is same as before all other apps(clash sing-box) will work clean without slow run that os sometime say karing not responding (close or wait)

and first start crash also is there as before
its better to compare first run to other apps also
check why hard running is happening

@netsupcloud
Copy link
Author

netsupcloud commented Jan 21, 2025

@GooRingX there is a funny bug there when we select an inbound manually after open app when try connect it gives error and will open faq page. but when we select auto-urltest it will connect to same connection and works

for testing this just select one connection from subscription manually and work with it for a while and days maybe you will see that error

@GooRingX
Copy link
Contributor

@GooRingX there is a funny bug there when we select an inbound manually after open app when try connect it gives error and will open faq page. but when we select auto-urltest it will connect to same connection and works

for testing this just select one connection from subscription manually and work with it for a while and days maybe you will see that error

The FAQ will be opened automatically to explain the connection error information. There is already relevant documentation. Please refer to the documentation for details. If it is not a system problem, please add the specific error information.

@netsupcloud
Copy link
Author

netsupcloud commented Jan 25, 2025

@GooRingX same sing-box subscription link can open google on windows and on android cant open google and other sites are ok what is the problem ? 1.0.39.527

logs and configs are same as before i sent!
server sing-box core version is 1.11.0-beta.24 the old version that was 1.10.1 had no problem when protocol sniffing was active

@netsupcloud
Copy link
Author

netsupcloud commented Jan 25, 2025

@GooRingX i found why google didn't open on android because i activated ipv6(i didn't select prefer or only) and only on android it will make problem but on windows is ok

@netsupcloud
Copy link
Author

netsupcloud commented Jan 29, 2025

The FAQ will be opened automatically to explain the connection error information. There is already relevant documentation. Please refer to the documentation for details. If it is not a system problem, please add the specific error information.

@GooRingX please add support of sing-box's rule-action and deprecations that introduced in 1.11.0 version

thanks in advance

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

2 participants