New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

408 HTTP error

Started by mohdeek, April 24, 2020, 12:42:52 PM

Previous topic - Next topic

mohdeek

Hello,

I have installed SWP pro, and I am using on one of my sites wordpress. I have updated the PHP limits, so I can upload themes and big files.

When I try to upload a theme through wordpress, I receive 408 error. I'm not sure how I can fix it, I checked on my side and I have fast connection, so I don't think the issue is coming from my side.

Can you please help me solve this issue.

Thanks

rcschaff

It could be timing out because it can't write to the temp directory.  What size file are you trying to upload?
Google Hangouts:  rcschaff82@gmail.com

mohdeek

I am trying to upload file size 14MB

rcschaff

Then there should be no reason with a descent internet connection that it should fail.  Check your PHP log to see if there are write errors for anything.

CWP /usr/local/cwpsrv/log/error_log
Accts  /usr/local/apach/domlogs
Google Hangouts:  rcschaff82@gmail.com

mohdeek

I have emptied the log and I just checked again now and I found this error in (Accts  /usr/local/apach/domlogs)

95.91.213.140 - - [25/Apr/2020:12:14:36 -0400] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 47 "http://uxiology.com/wp-admin/theme-install.php?browse=featured" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36"

95.91.213.140 - - [25/Apr/2020:12:14:44 -0400] "POST /wp-admin/update.php?action=upload-theme HTTP/1.1" 408 221 "http://uxiology.com/wp-admin/theme-install.php?browse=featured" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36"


rcschaff

You don't happen to have modsecurity enabled by chance?
Google Hangouts:  rcschaff82@gmail.com

mohdeek

I have just uninstalled Modsecurity.

I tried again and I get this error in log:
95.91.213.140 - - [25/Apr/2020:14:19:51 -0400] "POST /wp-admin/update.php?action=upload-theme HTTP/1.1" 500 535 "http://uxiology.com/wp-admin/theme-install.php?browse=featured" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36"


rcschaff

Something is left over from ModSecurity.  I didn't necessarily want you to uninstall it, but there should be a log file or a debug file you could look at to see if it was stopping the upload.
Google Hangouts:  rcschaff82@gmail.com