Charles Proxy and Interceptor are not tracking any http request in Ubuntu

做~自己de王妃 提交于 2021-02-10 20:31:49

问题


I can't seem to get any activity showing on anything relating to HTTP/proxy requests in Ubuntu.

I downloaded Charles Proxy first, opened it, but shows nothing. Then I tried Interceptor (Chrome extension), also nothing.

Having a look at my Ubuntu settings, it's entirely possible I'm supposed to configure something in here, in support of these options, but it's not documented at all.

How I can go about listening to network requests, intercepting them and serving other/mock json when they happen?


回答1:


You have to configure Chrome (or whatever the browser you use) to use the Charles Proxy's proxy (as far as I remember: localhost:8888). As this proxy is only running when you have CharlesProxy opened, you probably won't want to define it system wide.

The best option is to use a proxy switch browser extension, such as Switchy Omega (chrome extension) to be able to rapidly toggle on/off the proxy used by the browser.



来源:https://stackoverflow.com/questions/58079618/charles-proxy-and-interceptor-are-not-tracking-any-http-request-in-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!