mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 00:25:56 +03:00
[GH-ISSUE #1534] Proxyman 4.2.0 indefinitely blocks requests #1526
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#1526
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 @matthewjamesadam on GitHub (Feb 10, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1534
Originally assigned to: @NghiaTranUIT on GitHub.
Description
Proxyman 4.2.0 indefinitely blocks some subset of requests -- in our case, requests made from
node-fetch. The requests being blocked are seemingly random.Steps to Reproduce
I have put up a repo that demonstrates the issue:
npm installnpm run startThis is a tiny node app that uses
node-fetchto requesthttp://google.com100 times in a row in parallel. It logs each request and the number of requests remaining. I have set the proxy usingHttpsProxyAgentas per this issue: https://github.com/ProxymanApp/Proxyman/issues/236.When I disable the proxy (by removing the
{ agent: proxyAgent }property in the fetch request), or when I use Proxyman 4.1.0, the requests run correctly:However, when using Proxyman 4.2.0, a random number of requests block indefinitely. The
fetchcall never completes:The number of requests blocked, and which ones block, are seemingly random.
Environment
@NghiaTranUIT commented on GitHub (Feb 10, 2023):
Thanks for the sample code. I'm checking now 👍
@NghiaTranUIT commented on GitHub (Feb 10, 2023):
@matthewjamesadam it's fixed on this Beta: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_4.2.0_Fix_concurrency_bug.dmg
I revert the code which causes this bug and add some tests to make sure it works in the future update 👍
@robinsenior commented on GitHub (Feb 10, 2023):
Just a note that 4.2.0 was working fine for me yesterday, but after updating to 4.2.1 this morning I was no longer seeing my simulator's requests in Proxyman. Downgrading to 4.2.0 resolved the issue.
@NghiaTranUIT commented on GitHub (Feb 11, 2023):
@robinsenior I'm not sure if it's a bug on 4.2.1 🤔
Can you try again on your build 4.2.1? I've tested and it just works fine.