[Resolved] Problem connecting to automatic translation
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an error message with WPML stating: 'There is a problem connecting to automatic translation. Please check your internet connection and try again in a few minutes. If you continue to see this message, please contact our support team.' Solution: We recommend contacting your hosting provider and asking them to whitelist the following domains:
wpml.org
cdn.wpml.org
api.wpml.org
api.toolset.com
cloudfront.net
ams.wpml.org
After these domains have been whitelisted, check if the error persists.
If the solution provided here is not relevant to your situation, either because it's outdated or not applicable to your case, we encourage you to open a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please reach out to us on the WPML support forum.
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.
I'm trying to use WPML and receiving this error message for days: There is a problem connecting to automatic translation. Please check your internet connection and try again in a few minutes. If you continue to see this message, please contact our support team.
Please share with me the credentials to log in to your live site. Please note that I will not be logging in to your live site, but will need them to access the test site now that it has migrated. If you are using a login page other than wp-login.php, please let me know that as well in the private fields below. Thank you.
Normally you can access it via the wp-login.php but when I try that on the test site, I get a Page Not Found, which is why I was wondering if you had a custom login page. See here: hidden link
The FTP details are in the private reply where I sent the migration instructions, so you can connect that way as well.
This migration doesn't work if the website is installed in a different folder..
I fixed a couple of things but others need to be done in the database. Can you fix the paths?
We changed the files that control the path of the application, moved the files from the root, update htaccess, and deleted cache.
I need you to update the paths on the database for the website and the application. The installation should use "application".
While Lauren is away I would like to help you with this ticket.
Unforutnately I cannot access the staging environment created, is it possible to provide us with access to your current environment as well so we can take a look.
I have enabled the private field reply for your next reply to share access.
I tried changing the pathways in the database but the then the site showed redirect errors. I also tried moving the files to the main folder, but that threw errors as well.
Can you have your hosting provider set up a copy of your site so that we can test further? I'm thinking the issue has to do with how your site is set up.
If not, I will move the site out of the /application folder and have you change the pathways that you changed back so that we can confirm if the site works in the main root folder. If so, then we will know the issue lies with the path due to the site being in the application folder.
I believe the WPML issue reported is not related to paths. As I mentioned other websites do use the same structure and work fine.
Not quite sure what you changed since I'm not seeing redirects, but you are free to set it up on the root folder in your environment. But at the same time, this will not be a replica of our environment.
I would just suggest debugging the admin error, it should be doable and easier for your dev team.
This is precisely what I am trying to do, to debug the admin error. I'm not able to access the cloudways site that I set up. As I mentioned previously, I tried changing the database to add the /application/ but that did not allow me to access the site.
At this point, if you are not able to set up a copy of your site through your hosting provider, we will either need access to your site to see the admin error, or you can try sending a Duplicator snapshot of your site and we can attempt a copy from that.
Once we have access to the site or a copy of it where we can see the admin error, we will be able to troubleshoot it.
I tried updating the site URL and the home url in the wp_options table.
I have marked the next fields as private. Please let me know if I have your permission to test registering a new site key, one that I can create from my end, as I'd like to test different variations of the URL and see if the connection message changes at all.