How solve I/O error on POST request for "{url}/webhook/{path}":Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

Describe the problem/error/question

I have a workflow that utilizes webhooks and HTTP. When a third party triggers the workflow by accessing the webhook path, an error occurs. However, upon checking the execution, it appears that the process doesn’t fail at all. I’m uncertain about where to begin resolving this issue. The error message is as follows:

What is the error message (if any)?

I/O error on POST request for "{url}/webhook/{path}": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out.

Information on your n8n setup

  • n8n version: 0.209.4
  • Database: PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via: Docker
  • Operating system: Linux

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@Aslam_Hafizuddin , your description of the problem is not very clear to me. Generally speaking, the timeout error indicate that either the request did not reach the destination or the destination did not reply in a timely manner. The latter also includes a condition when destination replied but the source of the initiation of this communication cannot understand the response.

The error itself does not provide the proper URL, namely {url}/webhook/{path}. This could be because the tags/expressions {url} and path} have not been substituted by the actual values. As a result the request went into “thin air” and surely no response was received back. Can you confirm that the URL gets composed properly at runtime?

If the URL is correct at runtime, does the service that provides this error expects any specific response? For example, it might be waiting for a specific status code (say, other than 200) or a specific message in a specific format (say, some XML ack response) confirming that the message was received? As the source does not receive it from the destination it reports “Read timed out”.

1 Like