{
"code": 404,
"message": "The requested webhook \"POST n8n\" is not registered.",
"hint": "The workflow must be active for a production URL to run successfully. You can activate the workflow using the toggle in the top-right of the editor. Note that unlike test URL calls, production URL calls aren't shown on the canvas (only in the executions list)",
"stack": "ResponseError: The requested webhook \"POST n8n\" is not registered.\n at ActiveWorkflowRunner.executeWebhook (/usr/lib/node_modules/n8n/dist/src/ActiveWorkflowRunner.js:94:23)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async /usr/lib/node_modules/n8n/dist/src/WebhookServer.js:62:24"
}
Hm, this doesn’t look like an error returned by n8n (which would be the "The requested webhook "GET foo" is not registered" error you have seen earlier).
So this could be a problem in a reverse proxy you might have set up in front of n8n. Is it correctly redirecting traffic send to your webhook endpoint to n8n? Are there any helpful log entries?
{"code":404,"message":"The requested webhook \"POST fsfr\" is not registered.","hint":"The workflow must be active for a production URL to run successfully. You can activate the workflow using the toggle in the top-right of the editor. Note that unlike test URL calls, production URL calls aren't shown on the canvas (only in the executions list)","stack":"ResponseError: The requested webhook \"POST fsfr\" is not registered.\n at ActiveWorkflowRunner.executeWebhook (/usr/lib/node_modules/n8n/dist/src/ActiveWorkflowRunner.js:94:23)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async /usr/lib/node_modules/n8n/dist/src/WebhookServer.js:62:24"}
This is what am getting let me configure log for this between can yo please suggest any workaround
i tried in version @0.220.0 and @0.221.0 both the same thing its like when i togle production webhook it just falls back to test url. I tried deleting the workflow hell i deleted the whole vm and install from scrap and it didn´t work
{“code”:404,“message”:“The requested webhook "GET facebook-teste11221" is not registered.”,“hint”:“The workflow must be active for a production URL to run successfully. You can activate the workflow using the toggle in the top-right of the editor. Note that unlike test URL calls, production URL calls aren’t shown on the canvas (only in the executions list)”,“stacktrace”:“ResponseError: The requested webhook "GET facebook-teste11221" is not registered.\n at ActiveWorkflowRunner.executeWebhook (/usr/lib/node_modules/n8n/src/ActiveWorkflowRunner.ts:223:11)\n at /usr/lib/node_modules/n8n/src/AbstractServer.ts:284:16”}
Even tho as shown in the picture the workflow is active
With test webhook i get:
{"code":404,"message":"The requested webhook \"GET e682084f-ea77-41ab-8d59-83c5c7bdded2\" is not registered.","hint":"Click the 'Execute workflow' button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)","stacktrace":"ResponseError: The requested webhook \"GET e682084f-ea77-41ab-8d59-83c5c7bdded2\" is not registered.\n at TestWebhooks.callTestWebhook (/usr/lib/node_modules/n8n/src/TestWebhooks.ts:72:11)\n at /usr/lib/node_modules/n8n/src/AbstractServer.ts:378:35\n at newFn (/usr/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:144:13)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:140:7)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:140:7)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:140:7)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:140:7)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:140:7)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:140:7)\n at Route.dispatch (/usr/lib/node_modules/n8n/node_modules/express/lib/router/route.js:114:3)\n at newFn (/usr/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:284:15\n at param (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:365:14)\n at param (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:376:14)\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:421:3)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:280:10)\n at refreshExpiringCookie (/usr/lib/node_modules/n8n/src/middlewares/auth.ts:61:2)\n at newFn (/usr/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:328:13)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:280:10)\n at /usr/lib/node_modules/n8n/src/middlewares/auth.ts:123:4\n at newFn (/usr/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:328:13)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:280:10)\n at /usr/lib/node_modules/n8n/src/middlewares/auth.ts:104:11\n at newFn (/usr/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:328:13)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:280:10)\n at initialize (/usr/lib/node_modules/n8n/node_modules/passport/lib/middleware/initialize.js:98:5)\n at newFn (/usr/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:328:13)\n at /usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/lib/node_modules/n8n/node_modules/express/lib/router/index.js:280:10)\n at cookieParser (/usr/lib/node_modules/n8n/node_modules/cookie-parser/index.js:46:14)\n at newFn (/usr/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n at Layer.handle [as handle_request] (/usr/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)"}
Can you update to 221.2 and let me know if you see the same issue? It would also be helpful to open a new thread as chances are your issue is new and not related to the one from last year.
But the problem wasn´t the version i rolled back to 220.0 and it work as well
IN my Env files there were some problems with configurations
Changing my HAproxy and running pointng everything to localhost and redirecting traffic throgh proxy did the trick