wget dp-hue_nginx.company.com/hue
会返回400 BAD REQUEST, 而请求服务对应的ip:portwget 192.168.1.121:8005/hue
则没有问题。
继续找到问题来源,直接对某台hue webserver执行如下命令,发现上述问题可以复现,所以排除掉nginx的问题。
$ curl -I -H 'Host:dp-hue_nginx.corp.kuaishou.com' http://hue-webserver/accounts/login/?next=/
HTTP/1.1 400 BAD REQUEST
$ curl -I -H 'Host:127.0.0.1:8888' http://hue-webserver/accounts/login/?next=/
HTTP/1.1 200 OK
awesome post presented by you..your writing style is fabulous and keep update with your blogs Big data hadoop online course Hyderabad
ReplyDelete