• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Cannot issue Let's Encrypt

cipcip

Basic Pleskian
Hi guys,

I have just purchased a domain today and want to add a certificate for it in my plesk. The other ones work fine, renew fine.
Issue is when adding new ones.

I got the error below:

Could not issue an SSL/TLS certificate for imigi.xyz
Details
Could not install mail certificate: PHP Warning: Error while sending QUERY packet. PID=8954; File: /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php, Line: 307

PHP Warning: Error while sending QUERY packet. PID=8954 in /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php on line 307
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Please help me in troubleshooting this.

EDIT: It seems that despite the warning, the certificate was added. What was the cause here ?!

Thanks,
Cristian
 
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Usually, it is caused by insufficient 'max_connections' value for mysql. Try to fix it with following steps:

Back up /etc/my.cnf file and open it with a text editor:

# cp -p /etc/my.cnf{,.backup}
# vi /etc/my.cnf

Increase the parameter value under [mysqld] section, for example:

max_connections = 600

Restart MySQL:

# systemctl restart mysql || systemctl restart mysqld || systemctl restart mariadb
 
Back
Top