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. Make sure you enabled permalinks under the custom structure area. See the example below.
  2. Wordfence Firewall: Contact Kosmos support and add the eSync assigned IP under Firewall -> Manage Firewall -> Allowlisted IP addresses that bypass all rules. 
  3. 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.
  4. Try deactivating all plug-ins except for WooCommerce. Then test to see if your connection is successful and add one plug-in at a time to locate the culbrit.
  5. Apache Servers – See the discussion board and check your WooCommerce .htaccess file.
  6. NGNIX Servers – See the discussion board and review Nginx server blocks.
  7. 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.
  8. GoDaddy Hosted WordPress is not supported. You will need to upgrade to GoDaddy Linux cPanel Hosting.
  9. Returning HTML instead of JSON when testing with Postman? Make sure permalinks are enabled.
  10. Getting started with WooCommerce REST API
  11. Fix common WooCommerce REST API Issues
  12. SSL Test Tool a. Compare your SSL to https://letsencrypt.kosmoscentral.com
  13. 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 March 28, 2025