AdguardForAndroid icon indicating copy to clipboard operation
AdguardForAndroid copied to clipboard

V2rayn socks5 proxy usage on Wi-Fi leads to ERR_CONNECTION_CLOSED

Open Mioscout opened this issue 1 year ago • 13 comments

Please answer the following questions for yourself before submitting an issue.

  • [X] I am running the latest version
  • [X] I checked the documentation and found no answer
  • [X] I checked to make sure that this issue has not already been filed

AdGuard version

4.0

Environment

- OS:android 13
- Device:Mi 13
- Firmware:Miui China 14.0.29

Root access

  • [ ] Yes, I have it.

What filters do you have enabled?

AdGuard Base filter, AdGuard Mobile Ads filter, AdGuard Chinese filter, AdGuard DNS filter

What Stealth Mode options do you have enabled?

Send Do-Not-Track signals, Disable WebRTC, Block Push API, Hide your Referrer from third-parties, Hide your User Agent, Hide your IP address, Remove X-client-Data header from HTTP request

Issue Details

Steps to reproduce:

1.Add working proxy (V2rayn,not clash) 2.Enable proxy(disable udp routing) 3.connect wifi

Expected Behavior

Browser should open websites

Actual Behavior

some website can`t open,report err_connection_closed,like zhihu.com no same problem in 4G

Screenshots

Screenshot 1:

Screenshot_2023-06-21-21-30-03-354_com microsoft emmx Screenshot_2023-06-21-21-30-17-490_com microsoft emmx

Additional Information

Local VPN + V2rayn Socks5 proxy + Wi-Fi network

Probably related to https://github.com/AdguardTeam/AdguardForAndroid/issues/4769 and https://github.com/AdguardTeam/AdguardForAndroid/issues/4808

Mioscout avatar Jun 21 '23 13:06 Mioscout

@Mioscout Hi! This issue should be fixed in the latest AdGuard For Android 4.1 nightly. Could you check on your device?

Versty avatar Jun 22 '23 17:06 Versty

@Mioscout Hi! This issue should be fixed in the latest AdGuard For Android 4.1 nightly. Could you check on your device?

I check it on 4.1 night7,but problem still

another website has same problem is jianshu.com

Mioscout avatar Jun 23 '23 06:06 Mioscout

@Mioscout We would like to take a look at the logs from your device.

  1. Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug

  2. Reproduce the issue, then remember the exact time when it happened

  3. Collect logs: Settings -> General -> Advanced -> Export logs and system info

  4. Sent this file to [email protected]:

    • mention the 4816 number in the subject
    • specify the exact time when the issue occurred

Versty avatar Jun 23 '23 08:06 Versty

@Mioscout We would like to take a look at the logs from your device.

1. Enable debug logging:
   _Settings -> General -> Advanced -> Logging level -> Debug_

2. Reproduce the issue, then remember the exact time when it happened

3. Collect logs:
   _Settings -> General -> Advanced -> Export logs and system info_

4. Sent this file to [[email protected]](mailto:[email protected]):
   
   * mention the `4816` number in the subject
   * specify the exact time when the issue occurred

log send already,and in night 8 ,If stop the proxy ,problem solved,open the proxy ,problem come back,sometimes edge don`t have problem but firefox still gets wrong

Mioscout avatar Jun 24 '23 01:06 Mioscout

@Mioscout Got the logs from you. Could you recall the time when the issue was reproduced?

Versty avatar Jun 26 '23 16:06 Versty

experienced same issue and it's a dns issue. try turning off dns filter.

yoshyv avatar Jun 27 '23 13:06 yoshyv

@Mioscout Got the logs from you. Could you recall the time when the issue was reproduced?

before I send log,in one hour

Mioscout avatar Jun 28 '23 12:06 Mioscout

experienced same issue and it's a dns issue. try turning off dns filter.

its useful thanks

Mioscout avatar Jun 28 '23 12:06 Mioscout

@yoshyv @Mioscout Thank you for the more details. We are currently looking for the cause.

Versty avatar Aug 02 '23 16:08 Versty

@Mioscout @yoshyv Do these sites open correctly if you disable "Protect from DPI"?

sfionov avatar Oct 20 '23 08:10 sfionov

@Mioscout @yoshyv Any news?

sfionov avatar Oct 30 '23 10:10 sfionov

I'm not using Android currently and I don't remember this DPI protection option back then so I was using the default setting (off I assume)

yoshyv avatar Oct 30 '23 13:10 yoshyv

@Mioscout @yoshyv Do these sites open correctly if you disable "Protect from DPI"?

After turning off DPI in version 4.2, the problem still exists, and sometimes the website can be opened normally in very few cases.

GalaxyAlpha avatar Dec 07 '23 06:12 GalaxyAlpha

@GalaxyAlpha @Mioscout @yoshyv The problem should be gone in AdGuard for Android version 4.4. Could you please retest and let me know the results?

Versty avatar May 20 '24 08:05 Versty

@GalaxyAlpha @Mioscout @yoshyv这个问题应该在Android版本4.4的AdGuard中消失。你能重新测试一下并告诉我结果吗?

In my device,This problem is over

Mioscout avatar May 21 '24 11:05 Mioscout