Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmail Trigger' unable to trigger #13660

Open
fre2d0m opened this issue Mar 4, 2025 · 11 comments
Open

Gmail Trigger' unable to trigger #13660

fre2d0m opened this issue Mar 4, 2025 · 11 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@fre2d0m
Copy link

fre2d0m commented Mar 4, 2025

Bug Description

I created a Gmail Trigger to collect emails at regular intervals to execute the next workflow. It can be triggered normally when executing 'Test Workflow', but it cannot be automatically triggered at the agreed time. The console often shows this error:

There was a problem in 'Gmail Trigger' node in workflow 'TUxYHJZRxD6ncPyy': 'undefined'

Image

To Reproduce

none

Expected behavior

I expect Gmail Trigger to work properly

Operating System

Docker in macOS

n8n Version

1.73 ~ 1.80.5

Node.js Version

docker

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Mar 4, 2025

Hey @fre2d0m,

We have created an internal ticket to look into this which we will be tracking as "GHC-1040"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Mar 4, 2025
@Joffcom
Copy link
Member

Joffcom commented Mar 4, 2025

Hey @fre2d0m,

Is there more to the error and does the UI show any error in the execution log maybe?

@Joffcom Joffcom added the Needs Feedback Waiting for further input or clarification. label Mar 4, 2025
@fre2d0m
Copy link
Author

fre2d0m commented Mar 5, 2025

And this is the trigger triggered by another timer. I set the trigger at 9am, but I received the trigger execution at 16:02.
Image
The following figure shows the trigger record, which has never been executed at 9am.
Image

I don't think it's a problem with the time zone.

@Joffcom Joffcom removed the Needs Feedback Waiting for further input or clarification. label Mar 5, 2025
@fre2d0m
Copy link
Author

fre2d0m commented Mar 5, 2025

Hey @fre2d0m,

Is there more to the error and does the UI show any error in the execution log maybe?

UI show anything, no triggered

@Joffcom
Copy link
Member

Joffcom commented Mar 5, 2025

Hey @fre2d0m,

What do you have GENERIC_TIMEZONE and TZ set to?

@Joffcom Joffcom added the Needs Feedback Waiting for further input or clarification. label Mar 5, 2025
@fre2d0m
Copy link
Author

fre2d0m commented Mar 5, 2025

Hey @fre2d0m,

What do you have GENERIC_TIMEZONE and TZ set to?

"Env": [
"NODE_FUNCTION_ALLOW_BUILTIN=*",
"N8N_SECURE_COOKIE=false",
"GENERIC_TIMEZONE=Asia/Shanghai",
"TZ=Asia/Shanghai",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=20.18.3",
"YARN_VERSION=1.22.22",
"NODE_ICU_DATA=/usr/local/lib/node_modules/full-icu",
"N8N_VERSION=1.80.5",
"NODE_ENV=production",
"N8N_RELEASE_TYPE=stable",
"SHELL=/bin/sh"
],

@Joffcom Joffcom removed the Needs Feedback Waiting for further input or clarification. label Mar 5, 2025
@fre2d0m
Copy link
Author

fre2d0m commented Mar 5, 2025

I just tried sending a test email again expecting it to trigger Gmail and it worked, I don't know why. But another timer timing messed up issue. There are screenshots, right?

@Joffcom
Copy link
Member

Joffcom commented Mar 5, 2025

Hey @fre2d0m,

When you open a workflow and go to the settings does it show "Asia/Shanghai" as the timezone there?

@Joffcom Joffcom added the Needs Feedback Waiting for further input or clarification. label Mar 5, 2025
@fre2d0m
Copy link
Author

fre2d0m commented Mar 5, 2025

Hey @fre2d0m,

When you open a workflow and go to the settings does it show "Asia/Shanghai" as the timezone there?

Image

@Joffcom Joffcom removed the Needs Feedback Waiting for further input or clarification. label Mar 5, 2025
@Joffcom
Copy link
Member

Joffcom commented Mar 5, 2025

Can you deactivate and activate the workflow again?

@Joffcom Joffcom added the Needs Feedback Waiting for further input or clarification. label Mar 5, 2025
@fre2d0m
Copy link
Author

fre2d0m commented Mar 6, 2025

Can you deactivate and activate the workflow again?

It works, thank you. I don't know what happened

@Joffcom Joffcom removed the Needs Feedback Waiting for further input or clarification. label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants