[GH-ISSUE #947] Some macOS apps do not show traffic #943

Open
opened 2026-03-03 19:23:13 +03:00 by kerem · 2 comments
Owner

Originally created by @onikishov on GitHub (Jul 30, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/947

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version?

Version 2.30.0

macOS Version?

10.15.7

Steps to reproduce

I downloaded desktop app for Clubhouse called Clubdeck. When I logged in, Proxyman showed a lot of traffic, but there were no Clubhouse API requests.
Screen Shot 2021-07-30 at 20 03 07

I tried again and opened profiles, img requests were shown, clubhouseapi.com requests were missing.
Screen Shot 2021-07-30 at 20 06 43
Screen Shot 2021-07-30 at 20 05 24

Wireshark confirms that clubhouseapi.com requests were made by the app:
Screen Shot 2021-07-30 at 20 09 34

Originally created by @onikishov on GitHub (Jul 30, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/947 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? Version 2.30.0 ### macOS Version? 10.15.7 ### Steps to reproduce I downloaded desktop app for Clubhouse called Clubdeck. When I logged in, Proxyman showed a lot of traffic, but there were no Clubhouse API requests. <img width="1440" alt="Screen Shot 2021-07-30 at 20 03 07" src="https://user-images.githubusercontent.com/11440372/127687539-29738756-02fd-406b-9ebb-4bcc8ab13de1.png"> I tried again and opened profiles, img requests were shown, clubhouseapi.com requests were missing. <img width="1439" alt="Screen Shot 2021-07-30 at 20 06 43" src="https://user-images.githubusercontent.com/11440372/127687951-6fa5d803-b4a9-48bb-9e46-9dfbc336975b.png"> <img width="1440" alt="Screen Shot 2021-07-30 at 20 05 24" src="https://user-images.githubusercontent.com/11440372/127687991-f0b51a61-778f-4ff8-be5f-fde27315d801.png"> Wireshark confirms that clubhouseapi.com requests were made by the app: <img width="1440" alt="Screen Shot 2021-07-30 at 20 09 34" src="https://user-images.githubusercontent.com/11440372/127688162-5f40b3fe-1ca0-4e51-9fcb-57e5186e3fa6.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 1, 2021):

Hi @onikishov, I've downloaded Clubdeck app and investigate your issue:

It turns out that some Clubdeck traffic doesn't go through System HTTP Proxy (IP 127.0.0.1, port 9090), so Proxyman could not capture it.

I tested again on Charles Proxy and Fiddler too, and they could not capture it. However, Wireshark is able since it works in lower level => Which means it can capture all incoming/outgoing traffic (HTTP, HTTPS, TCP, or UDP).

Regarding the reason why Proxyman can capture Image Request, but not API. From my experience, Clubdeck app is an electron-based app, API traffic might not respect the System HTTP Proxy Config by default.

For instance, the app can use axios to make a request, and it will straight to the Internet without going to Proxyman. For image requests, it might use a built-in <img> tag, and the electron app will use a default networking library, which goes through HTTP Proxy. Therefore, Proxyman can capture image requests.


To fix it, I suppose there is no way to force Electron-based apps to use HTTP Proxy unless you have a source code. This tutorial shows how to do it.

<!-- gh-comment-id:890433339 --> @NghiaTranUIT commented on GitHub (Aug 1, 2021): Hi @onikishov, I've downloaded Clubdeck app and investigate your issue: It turns out that some Clubdeck traffic doesn't go through System HTTP Proxy (IP 127.0.0.1, port 9090), so Proxyman could not capture it. I tested again on Charles Proxy and Fiddler too, and they **could not** capture it. However, Wireshark is able since it works in lower level => Which means it can capture all incoming/outgoing traffic (HTTP, HTTPS, TCP, or UDP). Regarding the reason why Proxyman can capture Image Request, but not API. From my experience, Clubdeck app is an electron-based app, API traffic might not respect the System HTTP Proxy Config by default. For instance, the app can use `axios` to make a request, and it will straight to the Internet without going to Proxyman. For image requests, it might use a built-in `<img>` tag, and the electron app will use a default networking library, which goes through HTTP Proxy. Therefore, Proxyman can capture image requests. ---------------- To fix it, I suppose there is no way to force Electron-based apps to use HTTP Proxy unless you have a source code. This [tutorial](https://evandontje.com/2020/04/02/automatic-system-proxy-configuration-for-electron-applications/) shows how to do it.
Author
Owner

@onikishov commented on GitHub (Aug 4, 2021):

@NghiaTranUIT Ok, I see. Many thanks for investigating the issue.

<!-- gh-comment-id:892527403 --> @onikishov commented on GitHub (Aug 4, 2021): @NghiaTranUIT Ok, I see. Many thanks for investigating the 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#943
No description provided.