Many 508 server errors caused by trp-ajax.php
-
Hi,
We receive tens of 508 server errors, of kind you see below, when our site loads, with consequent exsausting of server resources and problem with our Host.
2021-11-22 07:55:45 Error 94.66.59.109 508 POST /wp-content/plugins/translatepress-multilingual/includes/trp-ajax.php HTTP/1.0 https://banjo-show.com/el/ Mozilla/5.0 (Windows NT 6.3; rv:93.0) Gecko/20100101 Firefox/93.0 787 Apache SSL/TLS access
2021-11-22 07:55:45 Error 94.66.59.109 508 POST /wp-admin/admin-ajax.php HTTP/1.0 https://banjo-show.com/el/ Mozilla/5.0 (Windows NT 6.3; rv:93.0) Gecko/20100101 Firefox/93.0 787 Apache SSL/TLS access
2021-11-22 07:55:46 Error 94.66.59.109 508 POST /wp-content/plugins/translatepress-multilingual/includes/trp-ajax.php HTTP/1.0 https://banjo-show.com/el/ Mozilla/5.0 (Windows NT 6.3; rv:93.0) Gecko/20100101 Firefox/93.0 787 Apache SSL/TLS access
2021-11-22 07:55:46 Error 94.66.59.109 508 POST /wp-admin/admin-ajax.php HTTP/1.0 https://banjo-show.com/el/ Mozilla/5.0 (Windows NT 6.3; rv:93.0) Gecko/20100101 Firefox/93.0 787 Apache SSL/TLS access
After doing some debugging and reading some support texts here, around the problem, we managed to see that the problem is created when translatepress is trying to translate cookie banner scripts from english to greek.
When we deactivate the cookie banner (complianz plugin ) the problem stops.
Also it stops, when we check “Disable dynamic translation” from your plugin settings.
But when we activate cookie banner again, the problem arises again.
We can’t let the cookie banner disabled cause we need it in the website, and we need it to be translated properly.
After making some contact with our Host support, they told us that there is no security restriction or soever in server configuration around the specific process, but they noticed that during the page loading the plugin fails to connect to the database.
AH01071: Got error ‘PHP message: PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user ‘roman_wp_tikke’@’::1′ (using password: YES) in /var/www/vhosts/banjo-show.com/httpdocs/WPSite/wp-content/plugins/translatepress-multilingual/includes/trp-ajax.php on line 108′, referer: https://banjo-show.com/el/
What is the workaround for this please?
How can we solve it?
The site is live so you can check the issue by your self in http://www.banjo-show.com/el
Wordpress 5.6.6
Translatepress Version 2.1.5
PHP 7.4.25Thank you
The page I need help with: [log in to see the link]
The topic ‘Many 508 server errors caused by trp-ajax.php’ is closed to new replies.