Troubleshooting WooCommerce Connection Problems

Troubleshooting WooCommerce Connection Problems

# WooCommerce REST API Connection problems – Unable to Connect WooCommerce

If you’re having difficulty connecting your WooCommerce web store or syncing products/orders please review the below suggestions.

  1. Wordfence Firewall: Contact Kosmos support and add the eSync assigned IP under Firewall -> Manage Firewall -> Allowlisted IP addresses that bypass all rules. 
  2. Deactivate all of your security plug-ins and test. There are also known connecting problems with iThemes Security. Deactivate this plug-in white list of our Kosmos IPs and test a product sync after. If it fails, I suggest using a different plug-in like WordFence and white list our IP addresses.
    file
  3. Try deactivating all plug-ins except for WooCommerce. For example, the ‘Roles and Rules’ plug-in is known to cause connectivity problems.
  4. Apache Servers – See the discussion board and check your WooCommerce .htaccess file.
  5. NGNIX Servers – See the discussion board and review Nginx server blocks.
  6. Do you have Wordfence? Contact Kosmos Support (ask for your server ip addresses) and see Wordfence tutorial on how to whitelist your eSync server ip’s.
  7. GoDaddy Hosted WordPress is not supported. You will need to upgrade to GoDaddy Linux cPanel Hosting.
  8. Returning HTML instead of JSON when testing with Postman? Make sure permalinks are enabled.
  9. Getting started with WooCommerce REST API
  10. Fix common WooCommerce REST API Issues
  11. SSL Test Tool a. Compare your SSL to https://letsencrypt.kosmoscentral.com
  12. If you still have problems, please post a ticket under SUPPORT at the top of the page, and our team will assist you. Provide your domain URL and a test key and secret, and we’ll test with PostMan, as mentioned below.

# Test with PostMan

If you’re getting a ‘401 Unauthorized’ message with Postman then check your .htaccess file as mentioned above in step 5.

If you’re seeing html in your response instead of clean JSON then send to your hosting provider. Also post a Support ticket with your API Key and Secret and we can assist with verifying your findings.

# Hosting Recommendations

  • Were we still having problems? We recommended these top-rated Hosting providers: Blue Host or Hostgator.
Updated on September 26, 2024