FastCGI sent in stderr: "PHP message: POST error: Unexpected response (code 411)

April 18, 2019 256 views
API Ubuntu 16.04

Hi I have used google cloud print to print order from customers I use WordPress and woocommerce for store my product I have to use a plugin to connect the printer with Google cloud printing but after put the API key is was an error with Authentication failed (411) header request I have sue Nginx server PHP 7.0 with default config have any idea for help or the topic for resole Thank you in advance for your help

error log

2019/04/18 09:10:55 [error] 2615#2615: *1297 FastCGI sent in stderr: "PHP message: POST error: Unexpected response (code 411): a:6:{s:7:"headers";O:42:"RequestsUtilityCaseInsensitiveDictionary":1:{s:7:"" while reading response header from upstream, client: xx.xxx.xxx.xxx, server: www.example.com, request: "GET /wp-admin/options-general.php?page=xcwoocloud_settings HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "www.www.example.com", referrer: "https://www.www.example.com/wp-admin/"

1 Answer

Greetings!

In this case it looks like you're getting a 411 error, which means that your application is not returning a Content- Length header. Fixing this is most likely going to require the developer of the plugin to weigh in.

Jarland

  • Hi jarland
    Thank you for your reply I have test plugin on my home live server is working but after upload to the digitalocean cloud server with the same config is was an error still confuse.

Have another answer? Share your knowledge.