Proxyman
Proxyman copied to clipboard
Uninstall ProxyMan completely
Description
I am stuck. If I close proxyman, I lose all internet connectivity. I need instructions on how to completely uninstall the app, including whatever modifications it has made that is causing nothing to work when the app is closed.
Hey @joeshub, sorry to hear that.
I believe that, for some reason, Proxyman could not revert the HTTP Proxy when it's closed, so you lost the Internet connection.
To fix it:
- Close Proxyuman -> Open System Preference (Setting) -> Wifi -> Your Wifi -> Detailed -> Proxies tab -> Disable the HTTP and HTTPS Proxy Toggle
By default, when you close the app, Proxyamn will automatically revert the proxy for you. Can you open Proxyman -> Preference -> Advanced Tab -> Verify that the Helper Tool is installed?
To remove the app, you just need to drag the app to the Trash Folder.
A couple of days after dragging the app to the trash this comes up:
Can you please let me know where to find & delete this? (and why install it when the App has been uninstalled?)
It's the old version Helper Tool
You can delete it from /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool
Whenever I close Proxyman, I can't run my Selenium tests that run in port 9090. Any ideas on how to fix it? This is Mac OS 12.6 and Proxyman 4.6.1 (46010).
# --- Caused by: ---
# Errno::ECONNREFUSED:
# Connection refused - connect(2) for [::1]:9090
# /Users/xxx/.rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.7.1/lib/selenium/webdriver/remote/http/default.rb:67:in `start'
@vhazbun Proxyman listens at port 9090, so it conflicts with your Selenium tests.
To fix it, you should completely quit Proxyman app (Close Proxyman is not enough).
Or you can change the listening port in Proxyman -> Setting (Preference) -> General Tab -> Change the Proxy Port to 9095 or anything 👍
@vhazbun Proxyman listens at port 9090, so it conflicts with your Selenium tests.
To fix it, you should completely quit Proxyman app (Close Proxyman is not enough).
Or you can change the listening port in Proxyman -> Setting (Preference) -> General Tab -> Change the Proxy Port to 9095 or anything 👍
I tried, does not works.
~~@NghiaTranUIT I would like to uninstall this tool completely and have my network setting working, however when I uninstall it (removing it from my apps MacOS Monterrey) I get this error while running my automated tests:~~
~~Connection refused - using proxy: http://localhost:9090 (Errno::ECONNREFUSED)
~~
Update:
Found these two lines in my ~/.zshrc - Not sure who/what added them in there.
export http_proxy=http://localhost:9090
export https_proxy=http://localhost:9090
Then I proceed to comment and unset them:
# export http_proxy=http://localhost:9090
# export https_proxy=http://localhost:9090
unset http_proxy
unset https_proxy
Now my capybara tests are passing without leaving ProxyMan open.
hm, not sure why there are env exist in your zshrc
file? I suppose that you manually add it sometime and forget it because Proxyman doesn't have any features that directly modify the zshrc
file.
There is an Automatic / Manual Setup, but it doesn't modify your system zshrc, instead, it loads the predefined env (includes the http_proxy and https_proxy
) in your current session Terminal. It doesn't save to file.
@NghiaTranUIT
Sorry to mention you here, I have a strange issue now and can not work it out.
I set breakpoints in Proxyman for some specific domains, and set SSL rules for some specific apps.
Now I find that even when I closed the Proxyman, I can not access the domains I set before in those apps I set in SSL rules. Even when I deleted all relative settings in the Proxyman, the case still be there.
I can access the domain ( GET request ) in Safari, but I can not request in Postman ( I set in SSL rules in Proxyman before ).
Now I really need your help to completely uninstall Proxyman to restore everything back.
Thank you so much if I could get help from you!!
@lumiasaki To completely remove Proxyman:
- Open Proxyman Settings -> Advanced Tab -> Uninstall the Helper Tool (I believe your problem is the Helper is not installed, so I can't revert the Proxy when you close the app -> Couldn't access the Internet)
- Quit app -> Drag and drop /Applications/Proxyman to the Trash bin
- Done
If you still encounter the problem, you should check your system Settings -> WiFi -> Your WiFi -> Details -> Proxies Tab -> Uncheck the HTTP & HTTPS.
@NghiaTranUIT
Thank you for your suggestion!
Unfortunately it still did not work. I think I have to restore my Mac to solve it now :(
@lumiasaki then, I believe your issue is caused by other apps. Can you check your active VPN or anti-virus app? Proxyman is completely removed, so it can't cause the problem anymore.
@NghiaTranUIT
Thank you for your steps! now the issues are disappear!
I am also experiencing the issue described where the internet connection on macOS does not work unless Proxyman is running. I tried running all the steps described here to uninstall and remove Proxyman and the helper tool with no success. The connection is only restored after installing and setting up Proxyman again and only for SSL domains that I trust through Proxyman, which is obviously not ideal. I have removed all VPN apps from my computer.
Looks like I will need to do a system restore...
@russellyeo if this happens, it means your Wifi still has an enabled HTTP/HTTPS Proxy. You should check your system Settings -> WiFi -> Your WiFi -> Details -> Proxies Tab -> Uncheck the HTTP & HTTPS. See my screenshot at this comment: https://github.com/ProxymanApp/Proxyman/issues/1579#issuecomment-1474536732
If we install the Helper Tool from Proxyman, it automatically reverts this config when closing the app. It prevents your issue 👍
@russellyeo May I ask if you're using any VPN or Anti Virus?
Hey @NghiaTranUIT, thanks for getting back to me.
I did indeed check the proxy settings for my network, I also those settings via networksetup (e.g. networksetup -getsecurewebproxy Wi-Fi
) and confirmed they were disabled. I also tried tethering to my iPhone's 4g connection and was not able to access the internet through there.
I had Private Internet Access VPN installed (but not running) originally but fully uninstalled it when troubleshooting this issue. No anti-virus or firewall set up.
I ended up reinstalling macOS Sonoma (without deleting my data on my hard-drive) and that solved the issue.
Perhaps there is a bug with networking in macOS Sonoma and the proxy helper tool?
I ended up reinstalling macOS Sonoma (without deleting my data on my hard-drive) and that solved the issue.
Doesn't Restart your Mac fix it?
If the Proxy Setting in your WiFi is off, I believe it's not a Proxyman bug, because it's a default setting.