Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Test error on Android 6.0 #358

Closed
design-study opened this issue Apr 13, 2021 · 7 comments
Closed

Test error on Android 6.0 #358

design-study opened this issue Apr 13, 2021 · 7 comments

Comments

@design-study
Copy link

design-study commented Apr 13, 2021

When I run on the Android 6 emulator, I can connect to the server, but the test will fail.

04-13 09:43:57.639 4367-4367/io.github.trojan_gfw.igniter.debug E/MainActivity: TestError: recvfrom failed: ECONNRESET (Connection reset by peer)

Environment:

  • Android SDK version: 23
  • Emulator CPU/ABI: x86_64
  • igniter version: c2261a97
  • igniter-go-libs version: 72ba215
  • libs version: 8fde414
  • trojan version: 8606b71
@wongsyrone
Copy link
Contributor

Please obtain the log via instructions in #197

@design-study
Copy link
Author

design-study commented Apr 14, 2021

@wongsyrone

After I click the START button, I can access the website through the proxy normally, but when I click the Test Connection button, it will display recvfrom failed: ECONNRESET (Connection reset by peer), and this situation will only appear in Android 6.0 (API 23) on the device.

Log detail:

igniter-log.txt

@wongsyrone
Copy link
Contributor

@design-study Please post your kernel version

@design-study
Copy link
Author

@wongsyrone

Screenshot_1619172230

@wongsyrone
Copy link
Contributor

Depending on the environment, the emulator may not be able to support other protocols (such as ICMP, used for "ping") might not be supported.

https://www.androidcookbook.info/android-system/emulator-networking.html

I cannot reproduce the issue.

@design-study
Copy link
Author

The Android 6.0 (API 23) emulator should be fine. After the service is connected, you can access the Google search homepage opening the browser. Using the adb shell to detect, the simulator can execute the ping command.

The problem is that clicking the test button in the app reports an error.

@hoorace
Copy link

hoorace commented May 17, 2021

I encountered the same problem, this is my device information.

Screenshot

@trojan-gfw trojan-gfw locked and limited conversation to collaborators May 19, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Development

No branches or pull requests

3 participants