mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #175] How to use with command line tools? #172
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#172
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 @andrewhavens on GitHub (Jun 12, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/175
Originally assigned to: @NghiaTranUIT on GitHub.
Which Proxyman version are you using? (Ex. Proxyman 0.5 (200))
Proxyman 1.4.1.1 (1411)
What OS Version are you using? (Ex. mac 10.13)
Mac 10.14.5
Steps to reproduce this issue
Trying to use Proxyman to inspect HTTPS requests being made from a command line tool. Requests weren't being logged automatically, so I manually configured the tool to use Proxyman as the proxy using a URL of
http://localhost:9090. However, it is failing on trusting the Proxyman Certificate. The tool allows for specifying a directory of CA certs, but I wasn't sure what directory that would be.@NghiaTranUIT commented on GitHub (Jun 13, 2019):
Hey @andrewhavens
curlor some command line tools doesn't often go through Proxyman at port9090, so we have to enable it explicitly. For example:curlrequire this param-x http://localhost:9090Can you help me to answer some questions, so I could investigate what is wrong
~/.proxyman. All you need are here, if you've installed CA properly.Let me know if you need some help ☕️
@andrewhavens commented on GitHub (Jun 13, 2019):
Thanks @NghiaTranUIT! I was able to specify the CA file that is located at
~/.proxyman/proxyman-ca.pemand it worked.@NghiaTranUIT commented on GitHub (Jun 14, 2019):
Glad to hear that 👍
@psimoneau22 commented on GitHub (Jul 25, 2019):
I have something similar. We have Application code written with C# and dotnet. When using the httpClient in the dotnet framework, requests do not go through the proxy. Is there anything that can be done without explicitly changing the application code's httpClient to use the proxy? On a windows machine using Fiddler, this just automatically works without having to change any application code. I can see all my requests going through the fiddler proxy.
Edit, I might be wrong about windows automatically doing it, but here is what the fiddler docs say https://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureDotNETApp
Btw great job so far, keep on going. I use fiddler extensively on windows and I am (and I know many other people who are) looking for the same basic functionality on Mac.
@NghiaTranUIT commented on GitHub (Jul 26, 2019):
Technically, when Proxyman launches, it will automatically override the HTTP/HTTPS Proxy in Network System (You can see in System Preference -> Network -> Wifi -> Advanced -> Proxy). Therefore, all requests are automatically proxying to Proxyman -> Appear on the app.
However, some apps don't respect that rule until we explicitly config in their apps. For instance:
curlrequire-v -x http://localhost:9090So, I guess there is two scenarios:
@psimoneau22 let me know what situation you're 🌮
Thank you in advance 😄
@psimoneau22 commented on GitHub (Aug 2, 2019):
situation #2
I am good, we will just have to add some code to our apps (conditionally) when we want to debug through proxyman. Thank you for your help.
@NghiaTranUIT commented on GitHub (Aug 2, 2019):
Glad to hear that @psimoneau22 👍 🌮 😄