• Resolved cloverleaffarm

    (@cloverleaffarm)


    When warming the cache, I receive the error Cache warmed for 0 languages (2 skipped). Warnings: Error for nl: HTTP 403, Error for es: HTTP 403, Error for da: HTTP 403 and 15 more

    Languages don’t appear to be working reliably on the site. There are credits available in the api account.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gerard Kanters

    (@gkanters)

    There can be an number of reasons why you would get a 403 error. It means that access is denied by your site to the language URL. Either translations cannot be done because outbound traffic is not allowed or the security configuration does not allow the URL

    – In the AI translate plugin general tab. Validate API setting to check API key and model
    – Do you have accidentally enabled ” Stop translations ” in the plugin settings ?
    – Do you have a firewall installed. Please check the rules
    – Do you use WAF or cloudflare ? Check the settings
    – Do you use modsecurity. Try disabling it for testing
    – Check .htacess and the apache or nginx config.

    Thread Starter cloverleaffarm

    (@cloverleaffarm)

    I’ve already done the first two items and am not using Cloudflare. I really don’t want to open security holes just to get this to work. I do have a comment from server support that may help.

    Basically, if they can tell us where the connection is going, we can track it down in the logs and see if we can make an exception just for those requests.

    Plugin Author Gerard Kanters

    (@gkanters)

    That depends on what API provider you have chosen. This is the list

    Openai https://api.openai.com/
    Deepseek https://api.deepseek.com/
    Openrouter https://openrouter.ai/
    Groq https://api.groq.com/openai/
    Deepinfra https://api.deepinfra.com/
    Custom API (the URL you added yourself)

    But honestly there is not much risk in opening outbound traffic from your own server. Most servers have no specific outbound rules and even if they do, they generally always allow outbound port 443 (which suffies for all API providers)

    Thread Starter cloverleaffarm

    (@cloverleaffarm)

    We are using Openrouter.

    Plugin Author Gerard Kanters

    (@gkanters)

    Then ask the support desk of your system to allow https://openrouter.ai/ outbound traffic.

    Thread Starter cloverleaffarm

    (@cloverleaffarm)

    I’ve also found the plugin interferes with other plugins like Breakdance. It’s not worth the trouble. Too bad as it looks like a nice plugin.

    Plugin Author Gerard Kanters

    (@gkanters)

    I tried the Breakdance (2.6.1) plugin and it works fine with me with the AI translate plugin. I really need more details to be able to help you further. In general it seems like security measures blocking the plugin to acces the translation API.

    Sorry that I cannot help you further. Good luck with your site.

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

You must be logged in to reply to this topic.