[GH-ISSUE #1214] [BUG] Could not repeat the WS/WSS Request #1209

Open
opened 2026-03-03 19:49:18 +03:00 by kerem · 9 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Apr 25, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1214

Originally assigned to: @NghiaTranUIT on GitHub.

Description

Proxyman could not repeat the WS or WSS request.

Acceptance Criteria

  • Support Repeat the WS/WSS request.
  • Re-sent all WS message if possible
Originally created by @NghiaTranUIT on GitHub (Apr 25, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1214 Originally assigned to: @NghiaTranUIT on GitHub. ### Description Proxyman could not repeat the WS or WSS request. ### Acceptance Criteria - Support Repeat the WS/WSS request. - Re-sent all WS message if possible
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 27, 2022):

Done: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.4.0_Repeat_websocket.dmg

<!-- gh-comment-id:1110987593 --> @NghiaTranUIT commented on GitHub (Apr 27, 2022): Done: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.4.0_Repeat_websocket.dmg
Author
Owner

@VolodymyrPavlyshenOnseo commented on GitHub (Apr 28, 2022):

Not working correct for me, previously it terminate connection and app establish new one, currently it makes connection copy, which returns error each time
Screenshot 2022-04-28 at 10 16 16

<!-- gh-comment-id:1111835475 --> @VolodymyrPavlyshenOnseo commented on GitHub (Apr 28, 2022): Not working correct for me, previously it terminate connection and app establish new one, currently it makes connection copy, which returns error each time <img width="499" alt="Screenshot 2022-04-28 at 10 16 16" src="https://user-images.githubusercontent.com/82367816/165698076-99ecdc1d-549b-49e9-b91a-60996a59d9e5.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 28, 2022):

Just wondering: what library that you make a WebSocket connection? Is it URLSessionWebSocketTask ?

<!-- gh-comment-id:1111837997 --> @NghiaTranUIT commented on GitHub (Apr 28, 2022): Just wondering: what library that you make a WebSocket connection? Is it URLSessionWebSocketTask ?
Author
Owner

@VolodymyrPavlyshenOnseo commented on GitHub (Apr 28, 2022):

Sorry, I dont have such details, just know that previous version it works differently (close connection so app must create new one and that was fine for me) currently it works like all other http/s requests repeat (or repeat with edit) maybe currently it works as designed and it is possible to add termination feature separately?

<!-- gh-comment-id:1111842844 --> @VolodymyrPavlyshenOnseo commented on GitHub (Apr 28, 2022): Sorry, I dont have such details, just know that previous version it works differently (close connection so app must create new one and that was fine for me) currently it works like all other http/s requests repeat (or repeat with edit) maybe currently it works as designed and it is possible to add termination feature separately?
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 29, 2022):

It seems that I have to disable the WS repeat. It causes many unexpected trouble because Proxyman uses URLSessionWebsocketTask to perform the WS connection.

It's incompatible with some WS backend, such as SocketIO, ...

I suppose that I will display the Error request, which show that WS is not supported 👍

<!-- gh-comment-id:1112870782 --> @NghiaTranUIT commented on GitHub (Apr 29, 2022): It seems that I have to disable the WS repeat. It causes many unexpected trouble because Proxyman uses URLSessionWebsocketTask to perform the WS connection. It's incompatible with some WS backend, such as SocketIO, ... I suppose that I will display the Error request, which show that WS is not supported 👍
Author
Owner

@VolodymyrPavlyshenOnseo commented on GitHub (Apr 29, 2022):

but it works fine in 3.3.0?

<!-- gh-comment-id:1112927736 --> @VolodymyrPavlyshenOnseo commented on GitHub (Apr 29, 2022): but it works fine in 3.3.0?
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 29, 2022):

It doesn't work on 3.3.0, if you repeat a ws or wss request, Proxyman doesn't show anything.

<!-- gh-comment-id:1112946228 --> @NghiaTranUIT commented on GitHub (Apr 29, 2022): It doesn't work on 3.3.0, if you repeat a ws or wss request, Proxyman doesn't show anything.
Author
Owner

@VolodymyrPavlyshenOnseo commented on GitHub (Apr 29, 2022):

It doesn't work on 3.3.0, if you repeat a ws or wss request, Proxyman doesn't show anything.

strange, for me it close previous connection, and app establish new one, work as terminate (previously I used charles proxy, and it called "terminate" there)

https://user-images.githubusercontent.com/82367816/165903987-b460464c-4056-4a00-8cb1-646b695e59f7.mov

<!-- gh-comment-id:1112973214 --> @VolodymyrPavlyshenOnseo commented on GitHub (Apr 29, 2022): > It doesn't work on 3.3.0, if you repeat a ws or wss request, Proxyman doesn't show anything. strange, for me it close previous connection, and app establish new one, work as terminate (previously I used charles proxy, and it called "terminate" there) https://user-images.githubusercontent.com/82367816/165903987-b460464c-4056-4a00-8cb1-646b695e59f7.mov
Author
Owner

@VolodymyrPavlyshenOnseo commented on GitHub (May 5, 2022):

just realised that clear option do all what I need from repeat (terminate connection) so issue is not relevant for me now) thanks

<!-- gh-comment-id:1118272907 --> @VolodymyrPavlyshenOnseo commented on GitHub (May 5, 2022): just realised that clear option do all what I need from repeat (terminate connection) so issue is not relevant for me now) thanks
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#1209
No description provided.