mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 17:15:49 +03:00
[GH-ISSUE #1333] Requests from WKWebview invisible? #1327
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1327
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 @fuggly on GitHub (Aug 17, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1333
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman 3.8.0
Mac Monterey 12.5
I apologise if this has been answered somewhere before, but I couldn't really find anything, so I will ask here:
I cannot see any requests from WKWebView. Funny enough, I can see all other requests that we make with our iOS app (outside WKWebview). But those that come from a WKWebView, including the first loading request, but also all other links that are clicked inside, are not visible in Proxyman. We use Atlantis as well and have it running not he debug builds, but regardless of Atlantis included, running or not, WKWebView requests are invisible.
Is there anything we can do to make them visible? Or something we can troubleshoot?
@NghiaTranUIT commented on GitHub (Aug 17, 2022):
By default, all traffic from WKWebView doesn't go through the HTTP Proxy from your iPhone, so Proxyman could not capture it.
Ref: https://developer.apple.com/forums/thread/110312
So, from what I experience, there is no way to capture traffic from WKWebview on iOS devices.
@NghiaTranUIT commented on GitHub (Aug 17, 2022):
and here: https://stackoverflow.com/a/55541462/3127477
@NghiaTranUIT commented on GitHub (Aug 17, 2022):
if you use Proxyman for iOS, I believe that the traffic from WKWebview can be captured because "Proxyman for iOS" uses the VPN, instead of a local proxy server.
@fuggly commented on GitHub (Aug 17, 2022):
Oh cool thanks, using the VPN I can see the traffic on my device. Cool, thanks!
@Carrione commented on GitHub (Oct 2, 2023):
Thanks, good to know.
@Eddcapone commented on GitHub (Jan 9, 2024):
So I need to install proxyman on a MAC book?
@NghiaTranUIT commented on GitHub (Jan 9, 2024):
@Eddcapone yes, it's. Websocket is a features from the Macbook/Windows version 👍
@Eddcapone commented on GitHub (Jan 10, 2024):
@NghiaTranUIT Thx, I can confirm that it works on a MAC book. But your wrote Websocket is a feature from Macbook/Windows version, then why does it not work on windows?
@NghiaTranUIT commented on GitHub (Jan 11, 2024):
@Eddcapone it should work on Windows and Linux too.
@Eddcapone commented on GitHub (Jan 16, 2024):
@NghiaTranUIT It works, but it does not catch all requests on windows. If I use the mac book, then it catches everything.
@NghiaTranUIT commented on GitHub (Jan 17, 2024):
@Eddcapone then, it's not a bug from Proxyman. Some Windows apps don't respect the System HTTP Proxy. Their requests go directly to the Internet. So, Proxyman can't capture it.
You might find the Proxy Setting in your Windows app, to see if we can override it.
@Eddcapone commented on GitHub (Jan 19, 2024):
@NghiaTranUIT It has nothing to do with windows itself, I just host proxyman on a windows machine. I connected from an iphone to proxyman and it did not capture most of the requests.
@esteluk commented on GitHub (Aug 28, 2024):
On the original point, it's now possible (iOS 17+) to show WKWebView traffic in Proxyman if you manually configure the webview's proxy configuration: https://developer.apple.com/documentation/webkit/wkwebsitedatastore/4264546-proxyconfigurations
@NghiaTranUIT commented on GitHub (Aug 28, 2024):
@esteluk does it work with fetch/axios on WKWebView ?
@NghiaTranUIT commented on GitHub (Aug 29, 2024):
Thanks @esteluk . Confirmed that Proxyman can capture traffic from WKWebView
Here is the sample code: