I’m trying out n8n self hosted version using the docker compose to set it up (Docker Compose | n8n Docs)
I’m trying to read new rows from a Google sheet, I have successfully added credentials to the Google Sheets Trigger. I was able to also select the Document and the Sheet form the list with the credentials. So the credentials seem to be in order and the document in question is shared to those credentials. However when I press the Fetch Test Event button and add rows the the selected Google Sheet nothing happens in n8n.
It just says:
“Fetching event
This node is looking for an event in Google Sheets that is similar to the one you defined”
And also the stop fetching button doesn’t do anything.
What is the error message (if any)?
None.
Please share your workflow
Share the output returned by the last node
This is the first node
Information on your n8n setup
n8n version: 1.0.5
Database (default: SQLite): Whatever is used by the default docker compose setup
I just tested your example workflow on my end (after updating only the Document and Sheet fields), but was able to execute the trigger just fine.
In a first step I’d like to understand if this is a problem just with Google Sheets or a general problem.
Are you able to successfully execute any other workflows, including workflows not relying on the Google Sheets trigger node? Perhaps something simple not relying on any 3rd party services like below?
This just output some dummy data after running, like so:
Thanks for confirming @pete! At least we know it’s not a problem specific to Google Sheets
The behaviour you’re seeing typically means that your n8n instance can’t send any messages with execution status updates to your browser. Do you have any reverse proxy, load balancer or other component sitting between your n8n instance and your browser? Since version 1 n8n uses the websocket protocol for this, and some servers might need a little extra configuration to allow websockets.
I’m using the default docker compose setup from the official instructions so there is traefik in use, I have modified the setup only the get the ssl certificate using dns-01 challenge and rfc216 provider for it.
So i would assume if websockets is used the configuration for traefik takes this into account in the provided docker-compose.yml file
So I suspect the execution will also work fine if you use your browser, it’s just that the live status updates don’t reach your browser due to websockets trouble. Assuming you are storing execution data you should still see the finished executions in your executions list.
When using the SSH tunnel, can you try accessing n8n via your browser directly on port 5678 (and thus avoiding traefik), just to confirm whether it’s indeed traefik causing this problem?