• Resolved Panos Web

    (@siteworks)


    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.25

    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Panos Web

    (@siteworks)

    Hi,
    Is there anyone available here please to support us about it?
    Thanks

    Hello there,

    Thanks for reaching out about your issue.

    One approach would be to exclude your cookie banner from dynamic translation, more info here:https://translatepress.com/docs/settings/advanced-settings/#excludedynamic.

    However this should not be happening, would you mind telling me in what manner did you add the cookie banner so I can replicate your issue on my instance?

    Looking forward to your reply.

    Best Regards,

    Thread Starter Panos Web

    (@siteworks)

    Hi,

    One approach would be to exclude your cookie banner from dynamic translation, more info here:https://translatepress.com/docs/settings/advanced-settings/#excludedynamic.

    Yes, this is the approach we temporary use, but it’s not the suitable one, cause we need the banner to be translated, and by that approach it can’t happen.

    However this should not be happening, would you mind telling me in what manner did you add the cookie banner so I can replicate your issue on my instance?

    We use Complianz wordpress plugin to have the cookie banner in the site.

    We also inform you that we use “Fix front-end translation over-detection” and “Front-end translation using admin-ajax” plugins, to smooth the problem.
    We had some improvement in the number of calls that cause 508 errors, but it still remain problematic for the site performance.

    We would appreciate your support.

    Thanks

    Thread Starter Panos Web

    (@siteworks)

    Hi,
    Did you please manage to take a look at the problem?

    Thanks

    Hello there,

    I am sorry for the long waiting time that you have been experiencing.

    There has been a great load on our support team in the past few days, but such a long reply time is very uncommon.

    Please open a ticket here, and mention this conversation, so we can have a better look at your issue.

    Best Regards

    • This reply was modified 4 years, 6 months ago by Andrei.
    Thread Starter Panos Web

    (@siteworks)

    Ok, done.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Many 508 server errors caused by trp-ajax.php’ is closed to new replies.