Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS Lookup Failed #39

Closed
jazzhuang opened this issue Apr 26, 2017 · 4 comments
Closed

DNS Lookup Failed #39

jazzhuang opened this issue Apr 26, 2017 · 4 comments

Comments

@jazzhuang
Copy link

在mac下,设置网络https代理为127.0.0.1 8899后;
chrome访问,一起正常,抓包也没有问题;
但是使用chrome的插件postman工具发起相同的请求后,提示错误如下:
image

@avwo
Copy link
Owner

avwo commented Apr 26, 2017

用whistle抓包看下request的raw data

@jazzhuang
Copy link
Author

我找到原因了:
由于request中,header的Host设置为了null;
whistle会拿 这header属性进行发送请求,而不是拿url中的xxx.com作为目标请求地址。

@avwo
Copy link
Owner

avwo commented Apr 27, 2017

下个版fix

@avwo
Copy link
Owner

avwo commented May 4, 2017

怎么重现这个问题?

@avwo avwo closed this as completed Jan 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants