mirror of
https://github.com/ProxymanApp/atlantis.git
synced 2026-04-26 08:26:04 +03:00
[GH-ISSUE #122] Doesn't see WebSocket traffic with SocketRocket library #75
Labels
No labels
Done
Done
Windows
bug
bug
bug
enhancement
enhancement
enhancement
good first issue
hacktoberfest
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/atlantis#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mmatiush on GitHub (Dec 17, 2022).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/122
Originally assigned to: @NghiaTranUIT on GitHub.
Hello,
I'm using SocketRocket library on my iOS client app. I've also installed Atlantis.
This way, on desktop Proxyman I can see all HTTPS requests made from my iOS app. However, I don't see any WebSocket requests, the tab is just empty in Proxyman.
I tried using URLSessionWebSocketTask and the WebSocket requests are correctly displayed in Proxyman.
Could you suggest what might be an issue with SocketRocket and how to fix it?
@NghiaTranUIT commented on GitHub (Dec 17, 2022):
Hey @mmatiush, SocketRocket uses
NSInputStreamandNSOutputSteamto perform the Websocket connection (Reference), so Atlantis doesn't capture it since Atlantis only supportsURLSessionWebSocketTask.I look around the source code, it might support HTTP Proxy. Here is the solution:
SRProxyConnectand provide a proxy toSocketRocket