upstream prematurely closed connection while reading upstream 错误

2015/12/03 16:07:50 [error] 6597#0: *10627335 upstream prematurely closed connection while reading upstream, client: 27.38.35.212, server: iface2.iqiyi.com, request: "POST /php/xyz/iface/?key=10020202ddf238a3ed4b7fbac0e1c989&device_id=867075026990477&network=1&ua=3007&os=4.4.4&version=4.9.1&category_id=7&f_ps=10&s=5&ps=30&pn=1&pcat=2&hwd=0&udid=55ebae904953fa2&openudid=55ebae904953fa2&uniqid=97b66685bcc4e4f6459c853fb6b22061&ppid= HTTP/1.1", upstream: "http://10.77.43.104:80/php/xyz/iface/?key=10020202ddf238a3ed4b7fbac0e1c989&device_id=867075026990477&network=1&ua=3007&os=4.4.4&version=4.9.1&category_id=7&f_ps=10&s=5&ps=30&pn=1&pcat=2&hwd=0&udid=55ebae904953fa2&openudid=55ebae904953fa2&uniqid=97b66685bcc4e4f6459c853fb6b22061&ppid=", host: "iface2.iqiyi.com"



解决办法: 将下边这个header 去掉

header('Content-length: ' . strlen($reply));

你可能感兴趣的:(upstream prematurely closed connection while reading upstream 错误)