[GH-ISSUE #182] Support websocket #178

Closed
opened 2026-03-03 19:15:58 +03:00 by kerem · 21 comments
Owner

Originally created by @yisiqi on GitHub (Jun 19, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/182

Originally assigned to: @NghiaTranUIT on GitHub.

I am developing a chat app using WebSocket. It would be helpful if this could support WebSocket.

Screen-Shot-2016-07-18-at-12 19 38-PM-1024x486
Originally created by @yisiqi on GitHub (Jun 19, 2019). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/182 Originally assigned to: @NghiaTranUIT on GitHub. I am developing a chat app using WebSocket. It would be helpful if this could support WebSocket. <img width="512" alt="Screen-Shot-2016-07-18-at-12 19 38-PM-1024x486" src="https://user-images.githubusercontent.com/1735804/59762965-0320ac00-92cb-11e9-8241-d9a45b1b6a1a.png">
kerem 2026-03-03 19:15:58 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 19, 2019):

Thank for the feature request. We're aware that there is large number of users, who requests this WebSocket debugging too.

It's in our roadmap. We will support it soon 👍 Stay tuned!

<!-- gh-comment-id:503569246 --> @NghiaTranUIT commented on GitHub (Jun 19, 2019): Thank for the feature request. We're aware that there is large number of users, who requests this WebSocket debugging too. It's in our roadmap. We will support it soon 👍 Stay tuned!
Author
Owner

@ConfusedVorlon commented on GitHub (Jun 29, 2019):

yup - that would be great. Specifically for me, I'd like to see websocket traffic on the local network (iOS device talking to TV - both connected to the mac via internet sharing)

<!-- gh-comment-id:506960520 --> @ConfusedVorlon commented on GitHub (Jun 29, 2019): yup - that would be great. Specifically for me, I'd like to see websocket traffic on the local network (iOS device talking to TV - both connected to the mac via internet sharing)
Author
Owner

@superandrew commented on GitHub (Aug 11, 2019):

I'm adding my self to the list of the supporters, because React Native Debugger won't work if proxyman is active when application starts. However, is there any known workaround for this?

<!-- gh-comment-id:520205613 --> @superandrew commented on GitHub (Aug 11, 2019): I'm adding my self to the list of the supporters, because React Native Debugger won't work if proxyman is active when application starts. However, is there any known workaround for this?
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 11, 2019):

Hey, sorry for this. From what I see that there is no workaround for this issue until I fix this bug. The React Native debugger seems open the URI "rndebugger://set-debugger-loc?host=localhost&port=8081" and Proxyman doesn't recognize it properly.

I will fix this bug separately and notify you in this week @superandrew 👍

<!-- gh-comment-id:520207188 --> @NghiaTranUIT commented on GitHub (Aug 11, 2019): Hey, sorry for this. From what I see that there is no workaround for this issue until I fix this bug. The React Native debugger seems open the URI `"rndebugger://set-debugger-loc?host=localhost&port=8081"` and Proxyman doesn't recognize it properly. I will fix this bug separately and notify you in this week @superandrew 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 11, 2019):

Bug #240

<!-- gh-comment-id:520207893 --> @NghiaTranUIT commented on GitHub (Aug 11, 2019): Bug #240
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 16, 2019):

All done 👍

Changelogs

  • Support Websocket previewer
  • Filter by All, Sent and Receive
  • Support Pretty message: JSON and TreeView
  • Filter Websocket on Filter Bar
  • Able to export websocket content
Screen Shot 2019-10-16 at 11 25 07

I will rollout the BETA soon 👍

<!-- gh-comment-id:542508035 --> @NghiaTranUIT commented on GitHub (Oct 16, 2019): All done 👍 ## Changelogs - [x] Support Websocket previewer - [x] Filter by All, Sent and Receive - [x] Support Pretty message: JSON and TreeView - [x] Filter Websocket on Filter Bar - [x] Able to export websocket content <img width="1792" alt="Screen Shot 2019-10-16 at 11 25 07" src="https://user-images.githubusercontent.com/5878421/66888247-feb19900-f007-11e9-8bf7-e79000abda13.png"> I will rollout the BETA soon 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 17, 2019):

Hey guys, Good news that here is the BETA build for the WebSocket debugger 🍺

https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.6.2_Websocket_Debugger.dmg

Sorry for delay 1 day since there was an issues on Socket IO (https://github.com/ProxymanApp/Proxyman/issues/303) 🌮

Some screenshot to visualize easier 😄

Screen_Shot_2019-10-17_at_10_08_56

I'm going to release in this week including with the Blog too 🍎

<!-- gh-comment-id:542988072 --> @NghiaTranUIT commented on GitHub (Oct 17, 2019): Hey guys, Good news that here is the BETA build for the WebSocket debugger 🍺 https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.6.2_Websocket_Debugger.dmg Sorry for delay 1 day since there was an issues on Socket IO (https://github.com/ProxymanApp/Proxyman/issues/303) 🌮 Some screenshot to visualize easier 😄 <img width="1023" alt="Screen_Shot_2019-10-17_at_10_08_56" src="https://user-images.githubusercontent.com/5878421/66976514-692c0d00-f0cc-11e9-9dca-597b0009a67e.png"> I'm going to release in this week including with the Blog too 🍎
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 18, 2019):

Hey @modestman, @endel, @drekka, @metabren, @ollitapa, and @yisiqi

Just friendly reminder that this Websocket feature has been done in the latest Proxyman 1.7.0 🎉

Let give it a try and feel free to report any bugs 🐞

Thank you guys in advance 💯

<!-- gh-comment-id:543853539 --> @NghiaTranUIT commented on GitHub (Oct 18, 2019): Hey @modestman, @endel, @drekka, @metabren, @ollitapa, and @yisiqi Just friendly reminder that this Websocket feature has been done in the latest Proxyman 1.7.0 🎉 - You can check out the tutorial at https://proxyman.io/blog/2019/10/WebSocket-Debugging.html - Changelogs at https://github.com/ProxymanApp/Proxyman/releases/tag/1.7.0 Let give it a try and feel free to report any bugs 🐞 Thank you guys in advance 💯
Author
Owner

@drekka commented on GitHub (Oct 20, 2019):

Awesome guys !

<!-- gh-comment-id:544305741 --> @drekka commented on GitHub (Oct 20, 2019): Awesome guys !
Author
Owner

@chilikasha commented on GitHub (Dec 30, 2019):

hey @NghiaTranUIT
maybe any advice: same app, but on android I see both wss and https traffic, on ios - only https. what could be the reason?

<!-- gh-comment-id:569731170 --> @chilikasha commented on GitHub (Dec 30, 2019): hey @NghiaTranUIT maybe any advice: same app, but on android I see both wss and https traffic, on ios - only https. what could be the reason?
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 31, 2019):

Can you try on the latest version 1.12.0, which we released yesterday?
Since I discovered a bug where some URLs don't appear on Proxyman app. You can update directly from Proxyman app.

Meanwhile, if it's still persisted, can you share me how the WSS URL look like? I would investigate it 👍

<!-- gh-comment-id:569854623 --> @NghiaTranUIT commented on GitHub (Dec 31, 2019): Can you try on the latest version 1.12.0, which we released yesterday? Since I discovered a bug where some URLs don't appear on Proxyman app. You can update directly from Proxyman app. Meanwhile, if it's still persisted, can you share me how the WSS URL look like? I would investigate it 👍
Author
Owner

@madneal commented on GitHub (Jun 29, 2020):

try to install as the tutorial, and I install slack app. But I can only see the https and http traffic, no websocket. @NghiaTranUIT

the proxyman version is 2.1.0

<!-- gh-comment-id:650868334 --> @madneal commented on GitHub (Jun 29, 2020): try to install as the tutorial, and I install slack app. But I can only see the https and http traffic, no websocket. @NghiaTranUIT the proxyman version is 2.1.0
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 29, 2020):

Hi @madneal, if you mean Slack app on macOS, we couldn't see it because the Slack app uses SocketIO, and it automatically fallbacks to HTTP/HTTPS request.

You can try Slack on iOS, you can see the domain wss-mobile.slack.com. Enable SSL-Proxying for this domain and you can see it 👍

<!-- gh-comment-id:650869448 --> @NghiaTranUIT commented on GitHub (Jun 29, 2020): Hi @madneal, if you mean Slack app on macOS, we couldn't see it because the Slack app uses SocketIO, and it automatically fallbacks to HTTP/HTTPS request. You can try Slack on iOS, you can see the domain `wss-mobile.slack.com`. Enable SSL-Proxying for this domain and you can see it 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 29, 2020):

You can test by visiting github.com, enable live.github.com, then you can see WS on wss://live.github.com

Screen_Shot_2020-06-29_at_09_36_37
<!-- gh-comment-id:650870182 --> @NghiaTranUIT commented on GitHub (Jun 29, 2020): You can test by visiting github.com, enable `live.github.com`, then you can see WS on `wss://live.github.com` <img width="1645" alt="Screen_Shot_2020-06-29_at_09_36_37" src="https://user-images.githubusercontent.com/5878421/85967206-20af4800-b9ec-11ea-8160-184601e11bc7.png">
Author
Owner

@madneal commented on GitHub (Jun 29, 2020):

@NghiaTranUIT Thanks for your quick reply. The app I installed is IOS, not for mac. And if I configured wss-mobile.slack.com in SSL proxying list, the status code was 999.
image
image

And the websocket is empty.
image

<!-- gh-comment-id:650889938 --> @madneal commented on GitHub (Jun 29, 2020): @NghiaTranUIT Thanks for your quick reply. The app I installed is IOS, not for mac. And if I configured wss-mobile.slack.com in SSL proxying list, the status code was 999. ![image](https://user-images.githubusercontent.com/12164075/85970933-71c83780-b9fe-11ea-8ae4-d5bd98565b29.png) ![image](https://user-images.githubusercontent.com/12164075/85970939-7a207280-b9fe-11ea-853e-502c543abcc8.png) And the websocket is empty. ![image](https://user-images.githubusercontent.com/12164075/85971051-c53a8580-b9fe-11ea-80e4-986284927798.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 29, 2020):

Just wondering @madneal, do you able to see HTTP/HTTPS requests/responses from the Slack iOS app? Just to confirm that you're installed Proxyman CA on your iPhone properly.

  • If NOT, please checkout Certificate Menu -> Install Proxyman CA on iOS Device and trust Proxyman CA (the last steps)
  • If YES, I will investigate it, since I tested on my machine and I'm able to see WSS from Slack iOS app
<!-- gh-comment-id:650891259 --> @NghiaTranUIT commented on GitHub (Jun 29, 2020): Just wondering @madneal, do you able to see HTTP/HTTPS requests/responses from the Slack iOS app? Just to confirm that you're installed Proxyman CA on your iPhone properly. - If NOT, please checkout Certificate Menu -> Install Proxyman CA on iOS Device and trust Proxyman CA (the last steps) - If YES, I will investigate it, since I tested on my machine and I'm able to see WSS from Slack iOS app
Author
Owner

@madneal commented on GitHub (Jun 29, 2020):

@NghiaTranUIT I was able to see HTTP/HTTPS requests/responses from the Slack IOS app if I did not configure SSL proxying list for the host. And I have installed the CA on my iphone.

<!-- gh-comment-id:650891710 --> @madneal commented on GitHub (Jun 29, 2020): @NghiaTranUIT I was able to see HTTP/HTTPS requests/responses from the Slack IOS app if I did not configure SSL proxying list for the host. And I have installed the CA on my iphone.
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 29, 2020):

Just check on the latest Slack iOS app and Proxyman 2.1.0 and it works. I'm able to see wss content.

Can you help me to reset all app by Help Menu -> Advanced -> Reset all and try again @madneal

Screen_Shot_2020-06-29_at_13_04_21
<!-- gh-comment-id:650943724 --> @NghiaTranUIT commented on GitHub (Jun 29, 2020): Just check on the latest Slack iOS app and Proxyman 2.1.0 and it works. I'm able to see wss content. Can you help me to reset all app by Help Menu -> Advanced -> Reset all and try again @madneal <img width="1645" alt="Screen_Shot_2020-06-29_at_13_04_21" src="https://user-images.githubusercontent.com/5878421/85979069-100dca80-ba0a-11ea-99be-850213925216.png">
Author
Owner

@madneal commented on GitHub (Jun 29, 2020):

The result is still same. The response code is 999 error if I config it in SSL proxying list. If I remove the host, the reponse code is 200. But I cannot see any websocket messages. I have reset all data.

image

Burp works for websocket.

image

<!-- gh-comment-id:650955796 --> @madneal commented on GitHub (Jun 29, 2020): The result is still same. The response code is 999 error if I config it in SSL proxying list. If I remove the host, the reponse code is 200. But I cannot see any websocket messages. I have reset all data. ![image](https://user-images.githubusercontent.com/12164075/85980212-8c0d1000-ba14-11ea-99a4-d3132d0a9a73.png) Burp works for websocket. ![image](https://user-images.githubusercontent.com/12164075/85981567-fde65900-ba16-11ea-8e76-46827489471b.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 29, 2020):

can you share with me the version of your Slack app and macOS? I would like to investigate it 👍

<!-- gh-comment-id:650979815 --> @NghiaTranUIT commented on GitHub (Jun 29, 2020): can you share with me the version of your Slack app and macOS? I would like to investigate it 👍
Author
Owner

@madneal commented on GitHub (Jun 29, 2020):

My mac version is 10.14.6. I think it has nothing to do with the Slack version. As it didn't work for live.github.com either.

<!-- gh-comment-id:650984577 --> @madneal commented on GitHub (Jun 29, 2020): My mac version is 10.14.6. I think it has nothing to do with the Slack version. As it didn't work for live.github.com either.
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#178
No description provided.