NodeApiError: The connection timed out when connecting to WooCommerce

Describe the problem/error/question

I am running n8n on my VPS and using the WooCommerce node to connect to my store’s API. It was working fine before, but recently, I started encountering a timeout error when making API requests.

I have tested the WooCommerce API with Postman, and it responds with 200 OK
https://europarts247.com/wp-json/wc/v3

What is the error message (if any)?

NodeApiError: The connection timed out, consider setting the 'Retry on Fail' option in the node settings
    at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/request-helper-functions.js:991:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Information on your n8n setup

n8n version: 1.81.4

Running n8n via (Docker, npm, n8n cloud, desktop app): Docker

Operating system: Ubuntu 22.04

domain: n8n.europarts247.com

Hey @NickCao_1100
Timeouts indicate n8n is connecting and requesting data but the WooCommerce api doesn’t return a response for a long time.

Might be your n8n node is requesting huge amounts of data, might be just woocommerce is under high load or executing scheduled jobs or backups or something.

Looking into the wordpress/woocommerce logs around the same time is probably a good place to start to gain more insights.

Besides that you can enable the retry in the n8n node as the error suggests if you haven’t done that already.