-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
🔍 TriageIssues that need assessment and prioritization.Issues that need assessment and prioritization.
Description
Error Message and Logs
I cannot configure Coolify to use Gmail and my Google Workspace, I keep getting an authentication error.
Failed to authenticate on SMTP server with username "devops@xxx" using the following authenticators: "LOGIN", "PLAIN", "XOAUTH2". Authenticator "LOGIN" returned "Expected response code "235" but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to
535 5.7.8 https://support.google.com/mail/?p=BadCredentials ffacd0b85a97d-42f7d22249esm27526348f8f.25 - gsmtp".". Authenticator "PLAIN" returned "Expected response code "235" but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to
535 5.7.8 https://support.google.com/mail/?p=BadCredentials ffacd0b85a97d-42f7d22249esm27526348f8f.25 - gsmtp".". Authenticator "XOAUTH2" returned "Expected response code "235" but got code "334", with message "334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==".".
The exact same credentials and configuration works in other software:
<< 220 smtp.gmail.com ESMTP d9443c01a7336-29dae49caafsm136411235ad.11 - gsmtp
>> EHLO [xxx]
<< 250-smtp.gmail.com at your service, [54.212.131.181]
<< 250-SIZE 35882577
<< 250-8BITMIME
<< 250-STARTTLS
<< 250-ENHANCEDSTATUSCODES
<< 250-PIPELINING
<< 250-CHUNKING
<< 250 SMTPUTF8
>> STARTTLS
<< 220 2.0.0 Ready to start TLS
>> EHLO [xxx]
<< 250-smtp.gmail.com at your service, [54.212.131.181]
<< 250-SIZE 35882577
<< 250-8BITMIME
<< 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
<< 250-ENHANCEDSTATUSCODES
<< 250-PIPELINING
<< 250-CHUNKING
<< 250 SMTPUTF8
>> AUTH PLAIN xxx
<< 235 2.7.0 Accepted
>> MAIL FROM:<xxx> SIZE=559
>> RCPT TO:<xxx>
<< 250 2.1.0 OK d9443c01a7336-29dae49caafsm136411235ad.11 - gsmtp
<< 250 2.1.5 OK d9443c01a7336-29dae49caafsm136411235ad.11 - gsmtp
>> DATA
<< 354 Go ahead d9443c01a7336-29dae49caafsm136411235ad.11 - gsmtp
>> From: xxx
>> Date: Mon, 08 Dec 2025 21:40:56 퍍
>> Subject: SMTP test from smtp.gmail.com
>> Message-Id: <Z1ODGZXIXRU4.GDCV9ZFHSST33@WIN-AUIR3RRGP88>
>> To: xxx
>> MIME-Version: 1.0
>> Content-Type: multipart/alternative; boundary="=-u5r59nGj3WuK0Cg4FurTxg=="
>>
>> --=-u5r59nGj3WuK0Cg4FurTxg==
>> Content-Type: text/plain; charset=utf-8
>>
>> Test message
>> --=-u5r59nGj3WuK0Cg4FurTxg==
>> Content-Type: text/html; charset=utf-8
>> Content-Id: <Z1ODGZXIXRU4.ON24RM5TDBIN3@WIN-AUIR3RRGP88>
>>
>> <b>Test message</b>
>> --=-u5r59nGj3WuK0Cg4FurTxg==--
>> .
<< 250 2.0.0 OK 1765230059 d9443c01a7336-29dae49caafsm136411235ad.11 - gsmtp
Steps to Reproduce
- Create app password in Google account
- Configure SMTP server with smtp.gmail.com on Port 587 and StartTLS or Port 465 and TLS/SSL, account email and app password generated in step 1
- Enable SMTP
- Send test email
Example Repository URL
No response
Coolify Version
v4.0.0-beta.452
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04
Additional Information
No response
coderabbitai
Metadata
Metadata
Assignees
Labels
🔍 TriageIssues that need assessment and prioritization.Issues that need assessment and prioritization.