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

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:“Requests_Utility_CaseInsensitiveDictionary”:1:{s:7:”" while reading response header from upstream, client:, server:, request: “GET /wp-admin/options-general.php?page=xc_woo_cloud_settings HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “”, referrer: “

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


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.