mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 00:55:57 +03:00
[GH-ISSUE #1744] Issues with 204 responses limiting the connectivity of an android emulator #1737
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1737
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GoodSir42 on GitHub (Aug 18, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1744
Description
When connected to a cisco anyconnect VPN and trying to make a call to https://www.google.com/gen_204 the connection seems to just be closed instead of delivering the 204 response to the client. If I bypass the proxy the issue goes away, same for if I disable the VPN.
I have already tried to track the issue down, but it would be nice if you could look into the code for any places that might lead to this behavior
Steps to Reproduce
curl 'https://www.google.com/gen_204' --proxy http://localhost:9090Current Behavior
The connection is just closed
Expected Behavior
The client should get a 204 response with no content so that the android connectivity check (which relies on such calls) does not fail
Environment
@NghiaTranUIT commented on GitHub (Aug 19, 2023):
Thanks. I don't use Cisco VPN, so I couldn't test it, but I will try to use different VPN to reproduce it 👍
@NghiaTranUIT commented on GitHub (Aug 19, 2023):
@GoodSir42 just wondering:
curl -v "https://httpbin.proxyman.app/get" --proxy localhost:9090@GoodSir42 commented on GitHub (Aug 19, 2023):
The funny thing is that everything works except for the 204 requests. I even have a workaround where I map the http fallback requests locally to a file with a correct 204 response.
Let me know if I can help you with anything in terms of reproduction of the issue.
@NghiaTranUIT commented on GitHub (Aug 21, 2023):
@GoodSir42 can you this Beta build: https://download.proxyman.io/beta/Proxyman_4.9.1_Fix_Android_emulators_connection_issue.dmg
It seems doesn't directly relate to your issue, but let's try:
Ref: https://github.com/ProxymanApp/Proxyman/issues/1746
@GoodSir42 commented on GitHub (Aug 21, 2023):
@NghiaTranUIT cool, I'll give it a try next week, when I'm back from my vacation 😁
@GoodSir42 commented on GitHub (Aug 28, 2023):
@NghiaTranUIT Unfortunately this build give me the same SSL error: curl 'https://www.google.com/gen_204' --proxy http://localhost:9090
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.google.com:443
@GoodSir42 commented on GitHub (Sep 6, 2023):
@NghiaTranUIT Let me know if I can help in any way
@NghiaTranUIT commented on GitHub (Sep 6, 2023):
I'm not sure how to reproduce it because I don't have Cisco VPN.
For now, I suggest just adding it to the ByPass Proxy List. I will keep investigating it 👍
I still suspect that the VPN is the root of the problem.
@GoodSir42 commented on GitHub (Sep 6, 2023):
adding the URL www.google.com to the proxy bypass list (in proxyman) unfortunately does not help. Also I might have forgotten to mention: without the VPN and just proxyman everything works fine, with just the VPN and no proxyman everything works fine, proxying with charles proxy also seems to work well (except for the fact that charles is not that great by itself). It is just the combination of this VPN and proxy man that fails :/
@GoodSir42 commented on GitHub (Feb 9, 2024):
hi @NghiaTranUIT ! I finally found the cause if this issue. The VPN was apparently configured to block IPv6 traffic. I now have to disable IPv6 completely on my mac and all requests are forced to be v4. The upside is that the VPN now routes everything correctly and there was never an issue with Proxyman at all. Thanks for the great tool and keep up the good work :)
@NghiaTranUIT commented on GitHub (Feb 9, 2024):
Thanks for letting me know ❤️