Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Show all 6 items in the list
Tags used for linking issues. [ID: 1172495]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Description
Yesterday at 14:45 PT we started seeing intermittent auth errors returned by the Gmail server. The following log excerpt includes both our SMTP traffic and
nodemailer 6.7.8
logs. In this sequence, whereinnodemailer
attempts to acquire an access token using a refresh token, and receives an access token of 1000 characters. This token is not accepted by the Gmail server because it is too long, per RFC 5321 the maximum length is 512. Retries for the same account yield both short (~210 characters) and long (1000 character) access tokens, and the overall percentage of long tokens is well under 1%.Packages
node 20.11.0
nodemailer 6.7.8
googleapis/gmail 5.0.1