I am trying to use Server Sent Events with pocketbase and triggering the correct api from PocketBase. I have already tested this API via Postman and it works as expected
What is the error message (if any)?
The SSE trigger node in n8n runs continuously and never returns an output
Please share your workflow
Share the output returned by the last node
The output is never generated but should look something like this:
and then used http://localhost:1234/ as the url in my workflow, and it seems to work just as expected.
Can you please try running this test server, and see if the node still fails for you?
Apologies I think I have misunderstood how this node trigger because I still don’t see it working. I tried running the script exactly like you have shared with the same js file.
This is the node after the trigger node and it creates a simple table. It never triggers and does not show up in executions. I added a timeout after 15 seconds which is why we see the error on the bottom right (which means 0 successful executions)
Still unable to reproduce this.
I ran the SSE server using the code I posted above, and then used your workflow, and got a successful execution immediately.