Open FLAGEL opened 1 year ago
Thanks for the bug report.
If you're comfortable doing so, will you please share output from adb logcat | grep GoLog
from immediately as you attempt these connections?
I can probably do that, but it will take some time as I won't have my regular setup available the coming weeks.
Can you confirm if this issue persists in the latest versions like v055j
?
Unfortunately, with v055n (used v054c previously, so can't say much about v055j) SOCKS5 proxy functionality no longer works at all. I have verified that the proxy app (Every Proxy) works via the Termux app ( "curl -v -x socks5://10.111.222.1:1080 test100.goosehollow.design"). I have also enabled "Never Proxy DNS" in Rethink to verify that the issue is not related to DNS resolution (with the setting disabled, DNS resolution does not work, as expected as no traffic flows through the SOCKS5 proxy).
Strangely, "HTTP(S) CONNECT Proxy" now works (it did not with v054c), with and without basic auth.
I can confirm that SOCKS5 with authentication fails for v0.5.5n tested against two different SOCKS5 softwares. Some DNS and IPv4 communication works but fails to load Web pages. the SOCKS5 server reports time outs and connection resets when responding to Rethink
Leaving v0.5.5n connected for about two hours with authenticated SOCKS5 restarts Android possibly from a memory leak
Thanks. We'll have to test why auth doesn't work.
If you're technical enough, can you put Rethink in Very verbose in Configure -> Settings -> Log level and look through adb logcat | grep "GoLog"
to see if there's any errors or warnings you spot? If you can't, and if you're comfortable, you can share it here, and I'll take a look.
Leaving v0.5.5n connected for about two hours with authenticated SOCKS5 restarts Android possibly from a memory leak
A memory leak in an app is unlikely to reboot the OS.
As some extra input, it seems SOCKS5+auth works for some users. Maybe it comes down to the proxy app (Every Proxy vs. sing-box): https://github.com/ItsIgnacioPortal/ItsIgnacioPortal.github.io/discussions/2#discussioncomment-10164455
@resolutecake, what proxy app were you using that did not work?
Starting with v054c, configuring Rethink to use a SOCKS5 proxy with authentication will result in infinite connection resets. Configuring Rethink to use a SOCKS5 proxy without authentication works as intended. v054a worked as intended with and without SOCKS5 authentication. Results are from a Pixel-device running up-to-date Android 13 and Every Proxy.
SOCKS5 proxy without authentication bypassing Rethink: Works.
SOCKS5 proxy without authentication via Rethink: Works.
SOCKS5 proxy with authentication bypassing Rethink: Works.
SOCKS5 proxy with authentication via Rethink: Fails.