[GH-ISSUE #564] Abort doesn't seem to work properly, keeps restarting requests from iOS Simulator #561

Open
opened 2026-03-03 19:19:51 +03:00 by kerem · 6 comments
Owner

Originally created by @bobspryn on GitHub (Jul 27, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/564

Proxyman version? (Ex. Proxyman 1.4.3)

Version 2.3.0 (20300), proxy helper tool not installed

macOS Version? (Ex. mac 10.14)

10.15.6

Steps to reproduce

Add a breakpoint to a request, tap abort when it's attempted

Expected behavior

The request should be in error state and I the app in the simulator should be notified that the request failed.

Observed behavior

The request keeps being reattempted and I have to hit abort again. Our app has logic to retry once, but it's not even getting to that point. Confirmed with a different proxy app that it works as expected there.

Screenshots (optional)

Originally created by @bobspryn on GitHub (Jul 27, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/564 ### Proxyman version? (Ex. Proxyman 1.4.3) Version 2.3.0 (20300), proxy helper tool not installed ### macOS Version? (Ex. mac 10.14) 10.15.6 ### Steps to reproduce Add a breakpoint to a request, tap abort when it's attempted ### Expected behavior The request should be in error state and I the app in the simulator should be notified that the request failed. ### Observed behavior The request keeps being reattempted and I have to hit abort again. Our app has logic to retry once, but it's not even getting to that point. Confirmed with a different proxy app that it works as expected there. ### Screenshots (optional)
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 28, 2020):

Thanks for the detailed report. Let me investigate it 👍

<!-- gh-comment-id:664725884 --> @NghiaTranUIT commented on GitHub (Jul 28, 2020): Thanks for the detailed report. Let me investigate it 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 28, 2020):

Hi @sprynmr, please check out this BETA build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.3.0_Fix_Breakpoint_Abort.dmg

The investigation shows that the client tries to re-connect to Proxyman after we hit Abort -> Show the breakpoint twice.

I fixed it by return 503 errors and close the connection immediately, like another app. Thus, no more breakpoint appears twice anymore 👍

Please check out and inform me that if it works for you. Thank you in advance 🎉

<!-- gh-comment-id:664755752 --> @NghiaTranUIT commented on GitHub (Jul 28, 2020): Hi @sprynmr, please check out this BETA build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.3.0_Fix_Breakpoint_Abort.dmg The investigation shows that the client tries to re-connect to Proxyman after we hit Abort -> Show the breakpoint twice. I fixed it by return 503 errors and close the connection immediately, like another app. Thus, no more breakpoint appears twice anymore 👍 Please check out and inform me that if it works for you. Thank you in advance 🎉
Author
Owner

@bobspryn commented on GitHub (Jul 29, 2020):

Thanks for the quick turnaround. It fixed it for request breakpoints, but I still see the same symptom for response ones. Obviously if you are intending to abort it for testing purposes it makes more sense to do it on a request breakpoint, but you probably want the same behavior on the response breakpoint.

<!-- gh-comment-id:665893456 --> @bobspryn commented on GitHub (Jul 29, 2020): Thanks for the quick turnaround. It fixed it for request breakpoints, but I still see the same symptom for response ones. Obviously if you are intending to abort it for testing purposes it makes more sense to do it on a request breakpoint, but you probably want the same behavior on the response breakpoint.
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 30, 2020):

Totally sorry about the bug on the response 🙀 I'm fixing it now

<!-- gh-comment-id:666035345 --> @NghiaTranUIT commented on GitHub (Jul 30, 2020): Totally sorry about the bug on the response 🙀 I'm fixing it now
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 30, 2020):

@sprynmr, let check out this build https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.3.0_Fix_Abort_Response.dmg

Same Abort Behavior on both Request and response 🎉

Thank you so much for reporting the bug 🌮

<!-- gh-comment-id:666063287 --> @NghiaTranUIT commented on GitHub (Jul 30, 2020): @sprynmr, let check out this build https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.3.0_Fix_Abort_Response.dmg Same Abort Behavior on both Request and response 🎉 Thank you so much for reporting the bug 🌮
Author
Owner

@bobspryn commented on GitHub (Aug 5, 2020):

Can confirm Response works as well now!

<!-- gh-comment-id:669526520 --> @bobspryn commented on GitHub (Aug 5, 2020): Can confirm Response works as well now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#561
No description provided.