Home  >  Article  >  Backend Development  >  phprpc will throw an exception "Number":1,"Message":"Illegal HTTP server.", please fix it?

phprpc will throw an exception "Number":1,"Message":"Illegal HTTP server.", please fix it?

WBOY
WBOYOriginal
2016-07-06 13:51:451401browse

When using phprpc in ThinkPHP, an exception "Number":1,"Message":"Illegal HTTP server." will appear. Please solve it?

It will appear about 10 times out of 1000 requests. Can this be solved? Can this issue be ignored?

nginx log of rpc service during exception: 192.168.10.10 - - [02/Jul/2016:07:25:09 0000] "POST / HTTP/1.1" 499 0 "-" "PHPRPC Client 3.0 for PHP" - unix:/run/php/php5.6-fpm.sock - 5.006

Reply content:

When using phprpc in ThinkPHP, an exception "Number":1,"Message":"Illegal HTTP server." will appear. Please solve it?

It will appear about 10 times out of 1000 requests. Can this be solved? Can this issue be ignored?

nginx log of rpc service during exception: 192.168.10.10 - - [02/Jul/2016:07:25:09 0000] "POST / HTTP/1.1" 499 0 "-" "PHPRPC Client 3.0 for PHP" - unix:/run/php/php5.6-fpm.sock - 5.006

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn