This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | - |
- | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | - |
Supporter timezone: Europe/Madrid (GMT+02:00)
Tagged: ATE
This topic contains 0 replies, has 1 voice.
Last updated by Carlos Rojas 14 minutes ago.
Assisted by: Carlos Rojas.
Author | Posts |
---|---|
April 4, 2025 at 9:08 am | |
alexandreP-37 |
Background of the issue: Symptoms: Questions: |
April 4, 2025 at 10:47 am | |
April 7, 2025 at 11:02 am #16903753 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hello, I have checked your site on our servers, and it was blocked. I have unblocked the site, and I was able to save some translations, but the site is getting blocked. I have escalated this ticket to our 2nd tier of support for further investigation. In the meantime, please double-check by deactivating/activating plugins if the Rest API gets enabled, because this might be the cause of the problem. You can see here the error message related to the Rest API being disabled: hidden link Note: WPML needs the Rest API to be able to connect to our servers and send/receive translation jobs. Regards, |
April 7, 2025 at 11:17 am #16903837 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hello again, Please follow these steps to get more information about the cause of the issue: Looking forward to your message. |
April 10, 2025 at 7:28 am #16916887 | |
alexandreP-37 |
Indeed, the REST API is blocked in production because we use an httpasswd to prevent the site from being indexed or accessed by non authorized users. |
April 10, 2025 at 9:10 am #16917370 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, The Rest API must be enabled, however, you can whitelist our servers in the security directives. These are the domains to whitelist: |
April 10, 2025 at 9:25 am #16917508 | |
alexandreP-37 |
Thanks! Just to be clear: the Rest API is enabled, but external access is blocked via htpassword. I'm currently tweaking our ingress to fix that. If I may say so, it would be quite handy to be able to set the login/password via a settings option in the WPML Admin interface. |
April 10, 2025 at 11:07 am #16917979 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, That is a feature request I will create internally. |
April 10, 2025 at 5:12 pm #16920027 | |
alexandreP-37 |
OK, now the REST API is open to external requests and the WPML debug page confirms this. I still have issues on WPML AI connection, as the attached screen shows. Could you double-check once more that we are not blocked on your servers ? |
April 11, 2025 at 10:32 am #16922082 | |
alexandreP-37 |
The issue remains: I've translated the page in all languages use automatic translation with WPML AI, but the icon remains a cog and the jobs are stuck "in progress". I tried many times to use the troubleshooting buttons (clear cache, Synchronize local job ids with their ATE counterparts, etc). No dice. Please advise. |
April 11, 2025 at 10:35 am #16922169 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi there, I'm consulting my colleagues about this issue. I will get back to you as soon as I get more information. |
April 11, 2025 at 10:56 am #16922275 | |
alexandreP-37 |
Hoping I can help: when i look at the console, i see a request that returns 500 linked to the "Synchronization with the Professional Translation service has failed" warning message: { "success": false, "data": "Communication error Details: | url: `\/jobs.json?api_version=1.1&filter%5Bjob_ids%5D%5B%5D=2016168&filter%5Bjob_ids%5D%5B%5D=2016169&filter%5Bjob_ids%5D%5B%5D=2016170&filter%5Bjob_ids%5D%5B%5D=2016171&filter%5Bjob_ids%5D%5B%5D=1638987&filter%5Bjob_ids%5D%5B%5D=1638988&filter%5Bjob_ids%5D%5B%5D=1638989&filter%5Bjob_ids%5D%5B%5D=1639198&filter%5Bjob_ids%5D%5B%5D=1639199&filter%5Bjob_ids%5D%5B%5D=1639200&filter%5Barchived%5D=1` method: `GET` param: `{\"api_version\":1.1,\"filter\":{\"job_ids\":[2016168,2016169,2016170,2016171,1638987,1638988,1638989,1639198,1639199,1639200],\"archived\":1}}` response: `{\"headers\":{},\"body\":\"{\\\"status\\\":{\\\"code\\\":2,\\\"message\\\":\\\"Invalid params for project - expecting [:accesskey]\\\",\\\"debug\\\":\\\"\\\"},\\\"response\\\":null}\",\"response\":{\"code\":422,\"message\":\"Unprocessable Entity\"},\"cookies\":[{\"name\":\"_translation_proxy_session\",\"value\":\"L\\\/4t7JLQDm0P5REW\\\/kkeBEOCFghbQMAFc7Vh2lO7Acad3BI1W9mC5lR+QANl2GucrxJk8wo7Q944zCi4\\\/+gOhSUPUqioMauuJSyTHQpmQ9jMwYG9IUYT8YW\\\/5SwBzNtAOlFSiROqjV6i97bVg+z3PSGHkEC7ZKM47MDKeUAN5x1RtNtufQ7oYjagsGdZPg0AYDI=--3QRFhnyXkKsHFhBj--0\\\/ec+o\\\/QZDMGrD5BVg9D7w==\",\"expires\":null,\"path\":\"\\\/\",\"domain\":\"tp.wpml.org\",\"port\":null,\"host_only\":true}],\"filename\":null,\"http_response\":{\"data\":null,\"headers\":null,\"status\":null}}`" } |
April 11, 2025 at 11:06 am #16922321 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Thank you very much for sharing your findings. I gathered more information and updated our 2nd tier specialists who are taking a deeper look at this issue. |