Charles Proxy和Interceptor在Ubuntu中未跟踪任何HTTP请求 [英] Charles Proxy and Interceptor are not tracking any http request in Ubuntu
问题描述
在Ubuntu中,与HTTP/代理请求相关的任何事情似乎都未显示任何活动.
I can't seem to get any activity showing on anything relating to HTTP/proxy requests in Ubuntu.
我先下载了Charles Proxy,将其打开,但什么也没显示.然后我尝试了Interceptor(Chrome扩展程序),也没有.
I downloaded Charles Proxy first, opened it, but shows nothing. Then I tried Interceptor (Chrome extension), also nothing.
看看我的Ubuntu设置,完全有可能我应该在这里配置一些东西,以支持这些选项,但是根本没有记录.
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.
我该如何去侦听网络请求,拦截它们并在发生其他/模拟json时提供服务?
推荐答案
您必须配置Chrome(或您使用的任何浏览器)以使用Charles Proxy的代理(据我所记得: localhost:8888
).由于此代理仅在打开CharlesProxy时才运行,因此您可能不想在系统范围内对其进行定义.
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.
最佳选择是使用代理交换机浏览器扩展程序,例如Switchy Omega(
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.
这篇关于Charles Proxy和Interceptor在Ubuntu中未跟踪任何HTTP请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!