Report this

What is the reason for this report?

Uploading Plugin/Theme in WP results in Secure Connection Failed

Posted on September 20, 2017

I am using Ubuntu 16.4 nginx as a reverse proxy and Apache php-fpm with varnish for caching. SSL traffic is being routed through nginx and any non ssl traffic is being redirect to https in the varnish config.

When I try to upload a plugin that is over 2M I get various errors relating to the server

In firefox I consistently get Secure Connection Failed

In Chrome I get…

This site can’t be reached

The webpage at https://domain.com/wp-admin/update.php?action=upload-theme might be temporarily down or it may have moved permanently to a new web address. ERR_FAILED

If I try to upload something to the media library I get http error if the file is large if the file is not over 2M it uploads fine.

I have increased my limits in my php.ini file and it is reflected everywhere…

Maximum upload file size: 128 MB.

the post size also…

Anyone have any insight?

Thanks!!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.