[Resolved] Subscription fetching failing and can't connect to wpml api
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with WPML updates failing due to the hosting server's inability to whitelist certain domains necessary for the updates. Solution: We recommended that the client ask their hosting provider to whitelist the domains: wpml.org, cdn.wpml.org, and api.wpml.org. Additionally, updating OpenSSL on the server might resolve the issue. If the hosting provider is unable to whitelist these domains, we suggested manually updating WPML by downloading the latest versions from https://wpml.org/account/downloads/ after creating a full website backup and removing the existing WPML plugins. Alternatively, changing the hosting provider could be considered.
If this solution does not apply to your situation, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket at WPML support forum for further assistance.
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.
Hi! As of 8/9/2021 the WPML updates were running fine and without any issues. On 9/9/2021 the updates began to fail with various errors. I've tried removing and then re-adding the website on my WPML site list, but this has not helped.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
- Please make a backup of the site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.
Thank you for providing the information for ACTO's hosting company. I just got off the phone with them and because the website is on a shared server, they are not able to whitelist any domains. They also checked OpenSSL (they didn't run an update) and said that it is current.
I'm going to suggest to ACTO that they make switching to a VPS server a priority. Please let me know if you have any other suggestions in the meantime.
I'm sorry to hear about this - unfortunately, we don't have control over how companies decide to offer their services so I'm sorry to hear that you need to make an upgrade.
Nothing else comes to mind at this point.
Please have them whitelist the domains that I mentioned and let's see if that fixes the issue.
Now, at the top, it says that the key is invalid and in the WPML connection log (hidden link) it is now stated clearly in the errors at the top that the site can't communicate with api.wpml.org.
Unfortunately, there's nothing that we can't do if the hosting is not able to whitelist the domains.
You can use WPML just as it is, without registering it, and manually update it when new updates are available by downloading the latest versions from here (https://wpml.org/account/downloads/) and then install + activate them on your site, only after you first created a full website backup + disabled and removed the existing WPML plugins.
Or you could change the hosting provider - it feels pretty weird to me that they can't whitelist the domains.
I agree that it's odd the host can't or won't whitelist domains. My client is speaking with the other board members this week about switching hosting companies. Until then, I'll run maual updates.
Thank you for your help and I hope you have a great weekend.