Workspace seems stuck in restarting

Describe the problem/error/question

I created some webhooks, but they do not respond to a POST request. Even the simplest workflow with only a webhook node does not respond anymore. If I try a GET from the browser, it replies that GET is not configured. If I then change the Webhook to GET, the webhook doesn’t respond to GET anymore, just hangs. Also no response when using the webhook in Postman.

Tried to restart the workspace, but got an error on that call. Tried to update to beta release, but again an error. After selecting 1.119.2 again I the message came that the workspace needs restarting. After that no changes anymore for more than an hour. The restart workspace button is greyed out, stating “Currently in progress

Running version [email protected]

I am on the hosted platform.

Version 1.119.1

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hello @martin-innovacio a few things please.

  1. can you share the canvas so I can review this
  2. If it’s hanging - what is the HTTP Error Code? is the URL a localhost and if so are you calling the URL from the same server as the call is being made from? if youre calling it from a seperate machine you need to specify that machines local ip address. assuming you’re running this all locally.

If you share the Canvas I’ll try to replicate anbd check it out

Hello Jekylls,
I am running on the n8n cloud and I am calling the webhook from the same system. How to I share the canvas, seems like I can only share a complete project?

This is the JSON of a test webhook that does not react on the given URL. Also no recordings of executions in the workspace.

{
“nodes”: [
{
“parameters”: {
“httpMethod”: “POST”,
“path”: “test-webhook”,
“options”: {
“responseData”: “={{ $json[“query”][“validationToken”] || “No validationToken received” }}”,
“responseHeaders”: {
“entries”: [
{
“name”: “Content-Type”,
“value”: “text/plain”
}
]
}
}
},
“type”: “n8n-nodes-base.webhook”,
“typeVersion”: 2.1,
“position”: [
0,
0
],
“id”: “3a16b286-df04-42c1-bbdb-b65dac8228c2”,
“name”: “Webhook”,
“webhookId”: “9c9bd8d2-6726-401a-bf38-d7dda2d4ff22”
}
],
“connections”: {},
“pinData”: {},
“meta”: {
“instanceId”: “6eef372e30ccbb765d93a1fd0e2d428b6873cb2ef5e7f20e0530b203ee79e794”
}
}

The workspace has finally restarted and I am running 1.119.2 right now. But unfortunately no difference.

Seems to be related to the Response Data field. If I make that empty, the workflow reacts as normal.

You can’t use $json or $input in webhook node and access query parameters.

set Respond field of webhook node to Using ‘Respond to Webhook’ Node and then add a Respond to Webhook node and then you can use $json.query.name

i tried using $json in Webhook node and my workflow stuck until i refreshed the page

3 Likes

nice @ramin1 - seems you’ve found the culprit. hopefully that resolves your issue @martin-innovacio

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.