[GH-ISSUE #903] Response codes not shown when running in background #898

Open
opened 2026-03-03 19:22:48 +03:00 by kerem · 7 comments
Owner

Originally created by @anthumchris on GitHub (Jun 1, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/903

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

2.26.0

macOS Version? (Ex. mac 10.14)

10.15.7

Steps to reproduce

  1. Run Proxyman in background while capturing browser requests.
  2. Issue browser requests that return HTTP response code 400
  3. Proxyman does not update the HTTP response values until clicked and running in foreground.

Expected behavior

Proxyman should update the request list and show the response code

Screenshots (optional)

https://user-images.githubusercontent.com/10064176/120359333-8cbdbe80-c2d5-11eb-8aa2-7bf243ba698a.mov

Originally created by @anthumchris on GitHub (Jun 1, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/903 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 2.26.0 ### macOS Version? (Ex. mac 10.14) 10.15.7 ### Steps to reproduce 1. Run Proxyman in background while capturing browser requests. 2. Issue browser requests that return HTTP response code `400` 3. Proxyman does not update the HTTP response values until clicked and running in foreground. ### Expected behavior Proxyman should update the request list and show the response code ### Screenshots (optional) https://user-images.githubusercontent.com/10064176/120359333-8cbdbe80-c2d5-11eb-8aa2-7bf243ba698a.mov
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 2, 2021):

Thanks for the video 👍 It's definitely a bug 🐛

I'm fixing it now 🙌

<!-- gh-comment-id:852601077 --> @NghiaTranUIT commented on GitHub (Jun 2, 2021): Thanks for the video 👍 It's definitely a bug 🐛 I'm fixing it now 🙌
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 2, 2021):

Look like this bug has only happened on Catalina on 10.15.7 because I could not reproduce this bug on Big Sur 11.4

  • Insomnia app is in the foreground and Proxyman in is Background, but the data is still updated properly.

https://user-images.githubusercontent.com/5878421/120407213-e0ccaf80-c376-11eb-9524-9cb7dac999f8.mov

I will try to reproduce it on Catalina on my Parallels app 👍

<!-- gh-comment-id:852616456 --> @NghiaTranUIT commented on GitHub (Jun 2, 2021): Look like this bug has only happened on Catalina on 10.15.7 because I could not reproduce this bug on Big Sur 11.4 - Insomnia app is in the foreground and Proxyman in is Background, but the data is still updated properly. https://user-images.githubusercontent.com/5878421/120407213-e0ccaf80-c376-11eb-9524-9cb7dac999f8.mov I will try to reproduce it on Catalina on my Parallels app 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 2, 2021):

Sorry but I could not reproduce this bug on Catalina 10.15.7 too 🤔

As you can see on the video (Dropbox link):

  • Proxyman is in the background
  • Terminal / Google Chrome is in the foreground (Focus)

=> When I make a request, Proxyman still updates the request/response properly without focusing on it.

https://www.dropbox.com/s/rppqbwzq3gbomgy/1.mov?dl=0


Just wondering: Does it happen all the time?

Can you test again with this scenario:

  1. Open Proxyman and put it in the background as your screenshot
  2. Open Terminal and run
curl -x 'https://httpbin.org/get' --proxy http://localhost:9090
  1. Enable SSL Proxying on this domain
  2. Run the script again and see whether or not Proxyman updates the data

Thank you in advance 👍

<!-- gh-comment-id:852676597 --> @NghiaTranUIT commented on GitHub (Jun 2, 2021): Sorry but I could not reproduce this bug on Catalina 10.15.7 too 🤔 As you can see on the video (Dropbox link): - Proxyman is in the background - Terminal / Google Chrome is in the foreground (Focus) => When I make a request, Proxyman still updates the request/response properly without focusing on it. https://www.dropbox.com/s/rppqbwzq3gbomgy/1.mov?dl=0 ------------------------- Just wondering: Does it happen all the time? Can you test again with this scenario: 1. Open Proxyman and put it in the background as your screenshot 2. Open Terminal and run ```bash curl -x 'https://httpbin.org/get' --proxy http://localhost:9090 ``` 3. Enable SSL Proxying on this domain 4. Run the script again and see whether or not Proxyman updates the data Thank you in advance 👍
Author
Owner

@crankygeek commented on GitHub (Jun 9, 2021):

@NghiaTranUIT I saw this ticket and had a few minutes, so figured I'd give it a try since I'm on 10.15.7. I wasn't able to reproduce the issue using your test steps.

I had to change the command to curl -x 'http://localhost:9090' 'https://httpbin.org/get'. Running yours kept giving me an error: "curl: no URL specified!"

Also, OP mentioned it was when getting 400 response codes, so I also tried curl -x 'http://localhost:9090' 'https://httpbin.org/status/400' which still worked as expected. I also tried both breakpoints and scripting to force the response to 400, but it still updated normally.

<!-- gh-comment-id:858151640 --> @crankygeek commented on GitHub (Jun 9, 2021): @NghiaTranUIT I saw this ticket and had a few minutes, so figured I'd give it a try since I'm on 10.15.7. I wasn't able to reproduce the issue using your test steps. I had to change the command to `curl -x 'http://localhost:9090' 'https://httpbin.org/get'`. Running yours kept giving me an error: "curl: no URL specified!" Also, OP mentioned it was when getting `400` response codes, so I also tried `curl -x 'http://localhost:9090' 'https://httpbin.org/status/400'` which still worked as expected. I also tried both breakpoints and scripting to force the response to `400`, but it still updated normally.
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 10, 2021):

Thanks for your support @crankygeek 🌮

I'm unable to reproduce the bug with a different scenario too. I guess we have to wait for the response from @AnthumChris 👍

<!-- gh-comment-id:858212875 --> @NghiaTranUIT commented on GitHub (Jun 10, 2021): Thanks for your support @crankygeek 🌮 I'm unable to reproduce the bug with a different scenario too. I guess we have to wait for the response from @AnthumChris 👍
Author
Owner

@anthumchris commented on GitHub (Jun 10, 2021):

Hi everyone, thanks for looking into this. I'm not sure what may have caused this, and it hasn't been affecting my workflow anymore. I've gotten into the habit of closing Proxyman before initiating my corporate VPN, so perhaps there was an issue with the VPN not playing nicely with others.

I'm happy to close this since it's not easily reproducible.

<!-- gh-comment-id:859131146 --> @anthumchris commented on GitHub (Jun 10, 2021): Hi everyone, thanks for looking into this. I'm not sure what may have caused this, and it hasn't been affecting my workflow anymore. I've gotten into the habit of closing Proxyman before initiating my corporate VPN, so perhaps there was an issue with the VPN not playing nicely with others. I'm happy to close this since it's not easily reproducible.
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 11, 2021):

Thanks for getting back. Feel free to keep this ticket open for other users, who might encounter this issue 👍

<!-- gh-comment-id:859205512 --> @NghiaTranUIT commented on GitHub (Jun 11, 2021): Thanks for getting back. Feel free to keep this ticket open for other users, who might encounter this issue 👍
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#898
No description provided.