When trying to install jetpack on my wordpress website, I receive this message: The Jetpack server was unable to communicate with your site http://xx[IXR -32300: transport error: http_request_failed cURL error 28: Connection timed out after 10001 milliseconds]
What can I do to solve the issue?
Most of the time it's because of low resources on cheap shared hostings. Either navigate to your server C-panel / PHP options (on GoDaddy they are inside of "Select PHP version") and increase the following:
memory_limit
upload_max_size
post_max_size
upload_max_filesize
max_execution_time max_input_time
If this doesn't work or you don't have access to PHP options then contact your hosting provider and ask them to do it.
Related
In my wordpress when I trying to install any plugins it shows the error(Installation failed: Download failed. No working transports found).I enabled both curl and openssl in my server and also restarted server.But still the issue not resolved.I am using AWS server.Kindly help anyone.
Please add this to the Apache config file:
Below this line: #LoadModule xml2enc_module modules/mod_xml2enc.so
# load curl and open ssl libraries
LoadFile “C:\php\libeay32.dll”
LoadFile “C:\php\ssleay32.dll”
LoadFile “C:\php\libssh2.dll”
And above this line: <IfModule unixd_module>
Stop Apache server using : service httpd stop
Start Apache server using: service httpd start
This should help.
Today I have started to see in my website this message "Error establishing a database connection", so I was investigating and I saw this article related and I have tried to implement it but its not working for me I still getting the same issue and I have no clue why.
Below is what I have implemented from the article:
For Apache on Ubuntu 14.04, edit the configuration file with the following command:
sudo nano /etc/apache2/sites-available/000-default.conf
Add the highlighted lines below between the tags.
Apache VirtualHost Config
<VirtualHost>
…
<files xmlrpc.php>
order allow,deny
deny from all
</files>
</VirtualHost>
Save and close this file when you are finished.
Restart the web server to enable the changes:
sudo service apache2 restart
What is weird is when I restart the droplet the website works for a couple of seconds so.. I cant figure out how to fix it.
Droplet details: 512 MB Memory / 20 GB Disk / LON1 - Ubuntu WordPress
on 14.04
The error in your logs show MySQL battling to allocate memory
Fatal error: cannot allocate memory for the buffer pool
Here's something you can do to get past it.
Add a Swap file
dd if=/dev/zero of=/swap.dat bs=1024 count=512M
mkswap /swap.dat
swapon /swap.dat
Reduce the memory footprint of MySQL
Edit /etc/my.cnf, and add the following line under the [mysqld] heading.
[mysqld]
innodb_buffer_pool_size=64M
I am currently unable to post very large files using the Drupal FileField Source (remote url option) on a custom file field in drupal 7 (7.15). The file is uploading to the tmp directory successfully but failing when it attempts to post. The file size is 870Mb (A 510mb file has posted successfully.).
I receive the following error in access_log:
83.000.15.200 - - [02/Oct/2012:12:30:14 +0000] "POST /file/ajax/field_video_source/und/0/form-i6gTPc5LlZsQxKpgO43eaLGjh7dgWqHjQ6TPZD9SRmY HTTP/1.1" 500 413
I assume I am interpreting this error correctly as a 413 Request Entity Too Large
I have configured php.ini with the following settings:
post_max_size = 1800M
max_execution_time = 3600 (i know that's overkill)
memory_limit = 1750M
max_input_time = -1 (unlimited)
In addition I have attempted to set the LimitRequestBody value to 0 in php.conf using the following:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 0
</Files>
This didn't appear to help.
The server is running Centos 6.3, Apache/2.2.15, PHP 5.3.3 with 2GB Ram and 40GB disk.
I can't believe it should be struggling with that size file (~800mb) and those server settings?
Do you have access to the http.conf if so you could try this.
This has been the issue for me sometimes to upload with over 500mb. Although I strongly suggest you should try and get it working with
the setting SecRequestBodyAccess "On".
I had to edit the Apache config file (http.conf) and change
SecRequestBodyAccess On
to
SecRequestBodyAccess Off
EDIT:
IF i remember correctly you could try the following.
SET
SecRequestBodyNoFilesLimit , the maximum value is 1073741824 (1Gb)
I am using parallel plesk 11 , and there is service of nginx as reverse proxy server and i am using that , Whenever i try to upload the file size greater than 15MB it gives internal server error. I am not able to find out the problem that is causing this issue.
I am providing the php.ini settings. After checking do tell me any solution, its very urgent to know it is affecting my server services.
I am running php as fastcgi and
settings are
post_max_size 200M
upload_max_filesize 450M
memeory_limit 32M
safe_mode on
The error happened due to httpmaxrequest length error . Which was due to mod_fcgid of apache,
so i changed the fcgid.conf present in /etc/apache2/mods-available/fcgid.conf
Also this file has to be changed for proper working of uploading in parallel plesk.
MaxRequestLen in /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
And After that reconfigure the domain Reconfigure domains: /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Restart Both nginx and apache
service nginx restart
service apache2 restart
Than everything will work fine , Uploading this way can be done. And this is major problem which happens in ubuntu 10.10 running parallel plesk 11.
I'm running Wordpress on MAMP and for some reason I get an error on all of my RSS feeds saying
WP HTTP Error: couldn't connect to host
I think its a configuration problem in MAMP with cURL, but not sure how to fix it. I have cURL enabled.
Perhaps, the proxy settings aren't set.
Try to add this lines in your wp-config.php
define('WP_PROXY_HOST', 'proxy.example.com');
define('WP_PROXY_PORT', '8080');