Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Authentication Failed #233

Closed
rdueck opened this issue Jul 14, 2014 · 57 comments
Closed

Authentication Failed #233

rdueck opened this issue Jul 14, 2014 · 57 comments

Comments

@rdueck
Copy link

rdueck commented Jul 14, 2014

When trying to login to Rainloop, I receive the message 'Authentication Failed' As a result, I tried re-installing Rainloop, but got the same problem. I confirmed that the password is correct. I discovered the 'log' files and the result is below...

--- cuted ---

@RainLoop
Copy link
Owner

Your mail server does not accept the authentication data.

[05:37:14.452] IMAP[NOTE]: Start connection to "darrenjacklin.com:143"
[05:37:14.454] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.\r\n
[05:37:14.455] IMAP[SECURE]: > TAG1 LOGIN "[email protected]" "*******"\r\n
[05:37:19.460] IMAP[DATA]: < TAG1 NO Login failed.\r\n

@rdueck
Copy link
Author

rdueck commented Jul 14, 2014

I've verified that the password is correct. I also have another client
Using Rainloop on the same server that has the same problem.

Randy

RainLoop Team mailto:[email protected]
July 14, 2014 at 12:45 AM

Your mail server does not accept the authentication data.

|[05:37:14.452] IMAP[NOTE]: Start connection to "darrenjacklin.com:143"
[05:37:14.454] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 UIDPLUS
CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA
IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011
Double Precision, Inc. See COPYING for distribution information.\r\n
[05:37:14.455] IMAP[SECURE]: > TAG1 LOGIN "[email protected]"
"*******"\r\n
[05:37:19.460] IMAP[DATA]: < TAG1 NO Login failed.\r\n
|


Reply to this email directly or view it on GitHub
#233 (comment).

Randy Dueck
Office: (604) 435-6677
Cell: (604) 619-7055
[email protected] mailto:[email protected]
http://streetsmartcreative.ca

@rdueck
Copy link
Author

rdueck commented Jul 14, 2014

After looking at the CPanel log files, it appears that it's an issue as to how the password is being sent to be authenticated as I've restarted the authentication service on the server, and am able to login to the other webmail apps such as Horde without difficulty.

@rdueck
Copy link
Author

rdueck commented Jul 16, 2014

I've installed nginx on the server, but the problem still persists. If you feel that this is a server issue, can you please provide some direction as to where to look? I REALLY need to get this working. Please help me.

@RainLoop
Copy link
Owner

nginx is not a mail server :)
"Authentication Failed" error occurred with mail server (Courier-IMAP).

@rdueck
Copy link
Author

rdueck commented Jul 16, 2014

Thank you for your reply.

I can understand that it appears to be a server issue. However, My
server support says it's a software issue, So I'm stuck in the middle
here trying to get it to work. I have the Dovcot mail server installed
as well. Do you have any other recommendations?

I really love Rainloop and would like to stick with it. My clients love
it as well, I can't find an alternative to match.

Randy

RainLoop Team mailto:[email protected]
July 16, 2014 at 1:35 PM

nginx is not a mail server :)
"Authentication Failed" error occurred with mail server (Courier-IMAP).


Reply to this email directly or view it on GitHub
#233 (comment).

Randy Dueck
Office: (604) 435-6677
Cell: (604) 619-7055
[email protected] mailto:[email protected]
http://streetsmartcreative.ca

@rdueck
Copy link
Author

rdueck commented Jul 16, 2014

If I use social integration, should it not authenticate against my
social media account such as facebook? It should theoretically allow me
to login correct?

RainLoop Team mailto:[email protected]
July 16, 2014 at 1:35 PM

nginx is not a mail server :)
"Authentication Failed" error occurred with mail server (Courier-IMAP).


Reply to this email directly or view it on GitHub
#233 (comment).

Randy Dueck
Office: (604) 435-6677
Cell: (604) 619-7055
[email protected] mailto:[email protected]
http://streetsmartcreative.ca

@rdueck
Copy link
Author

rdueck commented Jul 17, 2014

If it's an authentication problem with the Courier-IMAP, then why does using Roundcube, Squirrel Mail, and Horde all work fine?

@RainLoop
Copy link
Owner

Try to enable STARTTLS in the domain settings.

@rdueck
Copy link
Author

rdueck commented Jul 17, 2014

I tried using TLS in the settings, it didn't like it but SSL settings
are verified in the rainloop domain settings. However, I still have the
same error message.

Randy

RainLoop Team mailto:[email protected]
July 17, 2014 at 1:47 AM

Try to enable STARTTLS in the domain settings.


Reply to this email directly or view it on GitHub
#233 (comment).

Randy Dueck
Office: (604) 435-6677
Cell: (604) 619-7055
[email protected] mailto:[email protected]
http://streetsmartcreative.ca

@mungle
Copy link

mungle commented Jul 18, 2014

login in the admin panel, in Default Domain write darrenjacklin.com wait a second until it saves. Try to login in RainLoop with darren (without @darrenjacklin.com) as username and your password.

@rdueck
Copy link
Author

rdueck commented Jul 18, 2014

unfortunately, that didn't work. If you like I can provide you a
username and password so that you can play and test it directly.

Randy

mungle mailto:[email protected]
July 18, 2014 at 5:08 AM

login in the admin panel, in Default Domain write darrenjacklin.com
wait a second until it saves. Try to login in RainLoop with darren
(without @darrenjacklin.com) as username and your password.


Reply to this email directly or view it on GitHub
#233 (comment).

Randy Dueck
Office: (604) 435-6677
Cell: (604) 619-7055
[email protected] mailto:[email protected]
http://streetsmartcreative.ca

@RainLoop
Copy link
Owner

Is this issue still relevant?

@rdueck
Copy link
Author

rdueck commented Aug 14, 2014

I removed nginx from the server, and installed an earlier version of
Rainloop, and it¹s working fine now. However, if I do a new install with a
newer version, it doesn¹t load. Details are in the ticket.

Randy

From: RainLoop Team [email protected]
Reply-To: RainLoop/rainloop-webmail
<reply+i-37760755-250adf2f48b060996f97aef0632b8725763dc1a1-8154618@reply.git
hub.com>
Date: Thursday, August 14, 2014 at 12:32 PM
To: RainLoop/rainloop-webmail [email protected]
Cc: Randy Dueck [email protected]
Subject: Re: [rainloop-webmail] Authentication Failed (#233)

Is this issue still relevant?


Reply to this email directly or view it on GitHub
<#233 (comment)
82> .

@cwiggs
Copy link

cwiggs commented Sep 18, 2014

I think i might also be having this issue. @rdueck what version worked for you?

FYI i have this problem with 1.6.2 and 1.6.9.

I don't have access to the mail server right now but I'll talk to the admin asap and have him watch the logs.

@cwiggs
Copy link

cwiggs commented Dec 29, 2014

Why was the ticket closed? Has this been fixed in a new version?

@RainLoop
Copy link
Owner

Sorry. Authentication error occurs for different reasons.
What is your domain configuration?

@RainLoop RainLoop reopened this Dec 31, 2014
@jeff-h
Copy link

jeff-h commented Jan 6, 2015

I also have this issue. I can authenticate fine against my mail server (IMAP and SMTP) in mail.app on the desktop, for example, but the same credentials in RainLoop always return the "Authentication failed" error. I've installed it seemingly fine, but have never been able to actually log in as a user.

I don't see anything inside data/data*/default/logs either.

@RainLoop
Copy link
Owner

RainLoop commented Jan 7, 2015

I don't see anything inside data/data*/default/logs either.

./data/xxxx/application.ini

[logs]
enable = On

@jeff-h
Copy link

jeff-h commented Jan 7, 2015

I checked my application.ini and logging was turned off, so I hand-modified the file to turn logging and debug mode on (are you supposed to hand-modify this file?)

Now I get logs; I've anonymised my log and attached it here, in the hopes it might provide some clues as to why we can't authenticate.

My IP replaced with 111.222.333.444
My mail server domain replaced with webmail.mymail.org
My test email account replaced with mailuser@
My OS X account username (I'm hosting this on an OS X server) replaced with macuser


[23:12:40.294][4fb59103] INFO[DATA]: [DATE:07.01.15][RL:1.7.2.220][PHP:5.4.10][IP:111.222.333.444][PID:34237][Apache][apache2handler]
[23:12:40.294][4fb59103] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:sqlite,pgsql,mysql][Streams:tcp,udp,unix,udg,ssl,sslv3,sslv2,tls]
[23:12:40.294][4fb59103] REQUEST[NOTE]: [GET] http://webmail.mymail.org/
[23:12:40.326][4fb59103] INFO[MEMORY]: Memory peak usage: 4.25MB
[23:12:40.326][4fb59103] INFO[TIME]: Time delta: 0.0896029472351

[23:12:41.016][b9902678] INFO[DATA]: [DATE:07.01.15][RL:1.7.2.220][PHP:5.4.10][IP:111.222.333.444][PID:34237][Apache][apache2handler]
[23:12:41.016][b9902678] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:sqlite,pgsql,mysql][Streams:tcp,udp,unix,udg,ssl,sslv3,sslv2,tls]
[23:12:41.016][b9902678] REQUEST[NOTE]: [GET] http://webmail.mymail.org/?/AppData/0/9235736618284136/
[23:12:41.028][b9902678] APPDATA[DATA]: window.rainloopAppData={"Version":"1.7.2.220","Auth":false,"AccountHash":"","StaticPrefix":"rainloop\/v\/1.7.2.220\/static\/","AccountSignMe":false,"AuthAccountHash":"","MailToEmail":"","Email":"","DevEmail":"","DevPassword":"","Title":"RainLoop Webmail","LoadingDescription":"RainLoop","LoadingDescriptionEsc":"RainLoop","LoginLogo":"","LoginDescription":"","LoginCss":"","LoginPowered":true,"Token":"3acd2118db17412ff9b1ddc3272e22d1","InIframe":false,"AllowAdminPanel":true,"AllowHtmlEditorSourceButton":false,"AllowHtmlEditorBitiButtons":false,"Allow\u0421trlEnterOnCompose":false,"UseRsaEncryption":false,"RsaPublicKey":"","HideDangerousActions":false,"CustomLoginLink":"","CustomLogoutLink":"","LoginDefaultDomain":"mymail.org","DetermineUserLanguage":true,"DetermineUserDomain":false,"ForgotPasswordLinkUrl":"","RegistrationLinkUrl":"","ContactsIsAllowed":false,"ChangePasswordIsAllowed":false,"JsHash":"e6b4b2d3f5f48d1dce7178132db256ce","UseSieve":false,"UseImapThread":true,"UseImapSubscribe":true,"AllowAppendMessage":false,"MaterialDesign":true,"PremType":false,"Capa":["ADDITIONAL_ACCOUNTS","ADDITIONAL_IDENTITIES","GRAVATAR","PREFETCH","THEMES"],"Plugins":[],"AllowGoogleSocial":false,"AllowGoogleSocialAuth":false,"AllowGoogleSocialDrive":false,"AllowGoogleSocialPreview":false,"GoogleClientID":"","GoogleApiKey":"","AllowFacebookSocial":false,"AllowTwitterSocial":false,"AllowDropboxSocial":false,"DropboxApiKey":"","SupportedFacebookSocial":true,"ProjectHash":"02c13e1035b9f2724d6f3887ddd2aec5","Themes":["Default","A","Blurred","Linen","Love","Snow","Squares","SquaresDark","Stripes","Wood","Xv","Clear"],"Languages":["en","bg","de","es","fr","hu","is","it","ja-jp","ko-kr","lt","lv","nl","no","pl","pt-br","pt-pt","ro","ru","sk","sv","tr","ua","zh-cn","zh-tw"],"AllowLanguagesOnSettings":true,"AllowLanguagesOnLogin":true,"AttachmentLimit":26214400,"SignMe":"DefaultOff","UseLocalProxyForExternalImages":false,"EditorDefaultType":"Html","ShowImages":false,"ContactsAutosave":true,"MPP":20,"DesktopNotifications":false,"UseThreads":false,"ReplySameFolder":false,"Layout":1,"UseCheckboxesInList":true,"DefaultIdentityID":"","DisplayName":"","ReplyTo":"","Signature":"","SignatureToAll":false,"EnableTwoFactor":false,"ParentEmail":"","InterfaceAnimation":"Normal","UserBackgroundName":"","UserBackgroundHash":"","Theme":"Default","NewThemeLink":".\/?\/Css\/0\/User\/-\/Default\/-\/02c13e1035b9f2724d6f3887ddd2aec5\/Hash\/-\/","Language":"en","UserLanguage":false,"LangLink":".\/?\/Lang\/0\/en\/02c13e1035b9f2724d6f3887ddd2aec5\/","TemplatesLink":".\/?\/Templates\/0\/App\/02c13e1035b9f2724d6f3887ddd2aec5\/","PluginsLink":""};if(window.__rlah_set){__rlah_set()};
[23:12:41.043][b9902678] INFO[MEMORY]: Memory peak usage: 4.25MB
[23:12:41.043][b9902678] INFO[TIME]: Time delta: 0.0759270191193

[23:13:16.492][e931d80d] INFO[DATA]: [DATE:07.01.15][RL:1.7.2.220][PHP:5.4.10][IP:111.222.333.444][PID:32959][Apache][apache2handler]
[23:13:16.493][e931d80d] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:sqlite,pgsql,mysql][Streams:tcp,udp,unix,udg,ssl,sslv3,sslv2,tls]
[23:13:16.493][e931d80d] REQUEST[NOTE]: [POST] http://webmail.mymail.org/?/Ajax/&s=/0/
[23:13:16.501][e931d80d] AJAX[NOTE]: Action: DoLogin
[23:13:16.502][e931d80d] POST[DATA]: {"Email":"[email protected]","Login":"","Password":"*******","Language":"","AdditionalCode":"","AdditionalCodeSignMe":"0","SignMe":"0","Action":"Login","XToken":"3acd2118db17412ff9b1ddc3272e22d1"}
[23:13:16.539][e931d80d] IMAP[NOTE]: Start connection to "tcp://mymail.org:143"
[23:13:16.631][e931d80d] IMAP[NOTE]: Connected (success)
[23:13:16.631][e931d80d] IMAP[TIME]: 0.0921740531921 (raw connection)
[23:13:16.638][e931d80d] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[23:13:16.639][e931d80d] IMAP[TIME]: 0.100733995438 (*)
[23:13:16.639][e931d80d] IMAP[SECURE]: > TAG1 LOGIN "[email protected]" "********"\r\n
[23:13:18.154][e931d80d] IMAP[DATA]: < TAG1 NO [AUTHENTICATIONFAILED] Authentication failed.\r\n
[23:13:18.155][e931d80d] IMAP[TIME]: 1.51539707184 (TAG1)
[23:13:18.158][e931d80d] IMAP[WARNING]: exception 'MailSo\Imap\Exceptions\NegativeResponseException' with message 'MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1727)' in /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php:1727
Stack trace:
#0 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(1804): MailSo\Imap\ImapClient->validateResponse(Array)
#1 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(1684): MailSo\Imap\ImapClient->parseResponseWithValidation(NULL, false)
#2 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(272): MailSo\Imap\ImapClient->SendRequestWithCheck('LOGIN', Array)
#3 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Mail/MailClient.php(90): MailSo\Imap\ImapClient->Login('[email protected]...', '*******', '', false)
#4 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Model/Account.php(378): MailSo\Mail\MailClient->Login('[email protected]...', '*******', '', false)
#5 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1516): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#6 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1697): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account))
#7 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1820): RainLoop\Actions->LoginProcess('[email protected]...', '*******', '', '', false)
#8 [internal function]: RainLoop\Actions->DoLogin()
#9 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#10 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#11 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(143): call_user_func(Array)
#12 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#13 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#14 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/handle.php(87): RainLoop\Service::Handle()
#15 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/index.php(191): include('/users/macuser/Sit...')
#16 /users/macuser/Sites/rainloop/index.php(12): include('/users/macuser/Sit...')
#17 {main}
[23:13:18.159][e931d80d] IMAP[NOTICE]: exception 'MailSo\Imap\Exceptions\NegativeResponseException' with message 'MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1727)' in /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php:1727
Stack trace:
#0 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(1804): MailSo\Imap\ImapClient->validateResponse(Array)
#1 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(1684): MailSo\Imap\ImapClient->parseResponseWithValidation(NULL, false)
#2 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(272): MailSo\Imap\ImapClient->SendRequestWithCheck('LOGIN', Array)
#3 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Mail/MailClient.php(90): MailSo\Imap\ImapClient->Login('[email protected]...', '*******', '', false)
#4 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Model/Account.php(378): MailSo\Mail\MailClient->Login('[email protected]...', '*******', '', false)
#5 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1516): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#6 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1697): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account))
#7 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1820): RainLoop\Actions->LoginProcess('[email protected]...', '*******', '', '', false)
#8 [internal function]: RainLoop\Actions->DoLogin()
#9 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#10 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#11 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(143): call_user_func(Array)
#12 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#13 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#14 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/handle.php(87): RainLoop\Service::Handle()
#15 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/index.php(191): include('/users/macuser/Sit...')
#16 /users/macuser/Sites/rainloop/index.php(12): include('/users/macuser/Sit...')
#17 {main}

Next exception 'MailSo\Imap\Exceptions\LoginBadCredentialsException' with message 'MailSo-Imap-Exceptions-LoginBadCredentialsException (ImapClient.php ~ 289)' in /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php:289
Stack trace:
#0 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Mail/MailClient.php(90): MailSo\Imap\ImapClient->Login('[email protected]...', '*******', '', false)
#1 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Model/Account.php(378): MailSo\Mail\MailClient->Login('[email protected]...', '*******', '', false)
#2 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1516): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#3 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1697): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account))
#4 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1820): RainLoop\Actions->LoginProcess('[email protected]...', '*******', '', '', false)
#5 [internal function]: RainLoop\Actions->DoLogin()
#6 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#7 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#8 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(143): call_user_func(Array)
#9 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#10 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#11 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/handle.php(87): RainLoop\Service::Handle()
#12 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/index.php(191): include('/users/macuser/Sit...')
#13 /users/macuser/Sites/rainloop/index.php(12): include('/users/macuser/Sit...')
#14 {main}
[23:13:19.162][e931d80d] INFO[ERROR]: exception 'MailSo\Imap\Exceptions\NegativeResponseException' with message 'MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1727)' in /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php:1727
Stack trace:
#0 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(1804): MailSo\Imap\ImapClient->validateResponse(Array)
#1 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(1684): MailSo\Imap\ImapClient->parseResponseWithValidation(NULL, false)
#2 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php(272): MailSo\Imap\ImapClient->SendRequestWithCheck('LOGIN', Array)
#3 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Mail/MailClient.php(90): MailSo\Imap\ImapClient->Login('[email protected]...', '*******', '', false)
#4 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Model/Account.php(378): MailSo\Mail\MailClient->Login('[email protected]...', '*******', '', false)
#5 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1516): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#6 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1697): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account))
#7 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1820): RainLoop\Actions->LoginProcess('[email protected]...', '*******', '', '', false)
#8 [internal function]: RainLoop\Actions->DoLogin()
#9 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#10 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#11 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(143): call_user_func(Array)
#12 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#13 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#14 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/handle.php(87): RainLoop\Service::Handle()
#15 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/index.php(191): include('/users/macuser/Sit...')
#16 /users/macuser/Sites/rainloop/index.php(12): include('/users/macuser/Sit...')
#17 {main}

Next exception 'MailSo\Imap\Exceptions\LoginBadCredentialsException' with message 'MailSo-Imap-Exceptions-LoginBadCredentialsException (ImapClient.php ~ 289)' in /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Imap/ImapClient.php:289
Stack trace:
#0 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/libraries/MailSo/Mail/MailClient.php(90): MailSo\Imap\ImapClient->Login('[email protected]...', '*******', '', false)
#1 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Model/Account.php(378): MailSo\Mail\MailClient->Login('[email protected]...', '*******', '', false)
#2 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1516): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#3 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1697): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account))
#4 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1820): RainLoop\Actions->LoginProcess('[email protected]...', '*******', '', '', false)
#5 [internal function]: RainLoop\Actions->DoLogin()
#6 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#7 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#8 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(143): call_user_func(Array)
#9 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#10 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#11 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/handle.php(87): RainLoop\Service::Handle()
#12 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/index.php(191): include('/users/macuser/Sit...')
#13 /users/macuser/Sites/rainloop/index.php(12): include('/users/macuser/Sit...')
#14 {main}

Next exception 'RainLoop\Exceptions\ClientException' with message 'AuthError[102]' in /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php:1528
Stack trace:
#0 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1697): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account))
#1 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Actions.php(1820): RainLoop\Actions->LoginProcess('[email protected]...', '*******', '', '', false)
#2 [internal function]: RainLoop\Actions->DoLogin()
#3 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#4 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#5 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(143): call_user_func(Array)
#6 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#7 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#8 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/app/handle.php(87): RainLoop\Service::Handle()
#9 /users/macuser/Sites/rainloop/rainloop/v/1.7.2.220/index.php(191): include('/users/macuser/Sit...')
#10 /users/macuser/Sites/rainloop/index.php(12): include('/users/macuser/Sit...')
#11 {main}
[23:13:19.162][e931d80d] AJAX[DATA]: {"Action":"Login","Result":false,"ErrorCode":102,"ErrorMessage":"","Time":2734}
[23:13:19.162][e931d80d] INFO[MEMORY]: Memory peak usage: 4.75MB
[23:13:19.162][e931d80d] INFO[TIME]: Time delta: 2.72958302498
[23:13:19.162][e931d80d] IMAP[NOTE]: Disconnected from "tcp://mymail.org:143" (success)
[23:13:19.163][e931d80d] IMAP[TIME]: 2.62372303009 (net session)

@RainLoop
Copy link
Owner

RainLoop commented Jan 7, 2015

As you can see your server did not accept the account's access credentials.

[23:13:16.639][e931d80d] IMAP[SECURE]: > TAG1 LOGIN "[email protected]" "********"\r\n
[23:13:18.154][e931d80d] IMAP[DATA]: < TAG1 NO [AUTHENTICATIONFAILED] Authentication failed.\r\n

@jeff-h
Copy link

jeff-h commented Jan 7, 2015

Yeah, I see this. The problem I have is that I'm using credentials which do work elsewhere. In other clients, I use just the username (in my case, that is mailuser) with its password. Neither that nor [email protected] work in my install of RainLoop.

@RainLoop
Copy link
Owner

RainLoop commented Jan 7, 2015

Ok, you need to enable "Use short login" setting in your domain configuration.

@jeff-h
Copy link

jeff-h commented Jan 8, 2015

Wow, it works! 💃

I was quite sure I'd tried that option, although I wasn't entirely sure what it meant. Thanks so much for your help.

Can the rest of you in this thread give this setting a try?

@cwiggs
Copy link

cwiggs commented Mar 5, 2015

I already had "Use short login" enabled Here are the logs when i try to login with "[email protected]":

[01:50:54.633][2365e0ff] INFO[DATA]: [DATE:05.03.15][RL:1.7.0.210][PHP:5.5.9-1ubuntu4.5][IP:192.168.1.32][PID:5702][Apache/2.4.7 (Ubuntu)][apache2handler]
[01:50:54.633][2365e0ff] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql,pgsql,sqlite][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[01:50:54.633][2365e0ff] REQUEST[NOTE]: [POST] http://192.168.1.3/rainloop/?/Ajax/&s=/0/
[01:50:54.633][2365e0ff] AJAX[NOTE]: Action: DoLogin
[01:50:54.633][2365e0ff] POST[DATA]: {"Email":"[email protected]","Login":"","Password":"*******","Language":"","AdditionalCode":"","AdditionalCodeSignMe":"0","SignMe":"0","Action":"Login","XToken":"2dd2227e820e8a1e41207eda4466f139"}
[01:50:55.635][2365e0ff] INFO[NOTICE]: exception 'RainLoop\Exceptions\ClientException' with message 'DomainNotAllowed[109]' in /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php:915
Stack trace:
#0 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php(1622): RainLoop\Actions->LoginProvide('wiggins@hyperio...', 'wiggins@hyperio...', '*******', '', true)
#1 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php(1819): RainLoop\Actions->LoginProcess('wiggins@hyperio...', '*******', '', '', false)
#2 [internal function]: RainLoop\Actions->DoLogin()
#3 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#4 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#5 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(143): call_user_func(Array)
#6 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#7 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#8 /var/www/rainloop/rainloop/v/1.7.0.210/app/handle.php(79): RainLoop\Service::Handle()
#9 /var/www/rainloop/rainloop/v/1.7.0.210/index.php(191): include('/var/www/rainlo...')
#10 /var/www/rainloop/index.php(12): include('/var/www/rainlo...')
#11 {main}
[01:50:55.635][2365e0ff] AJAX[DATA]: {"Action":"Login","Result":false,"ErrorCode":109,"ErrorMessage":"","Time":1004}
[01:50:55.635][2365e0ff] INFO[MEMORY]: Memory peak usage: 1024KB
[01:50:55.635][2365e0ff] INFO[TIME]: Time delta: 1.0042159557343

When i click the "test" button for my domain settings it is successful.

When i try to use "wiggins" as a username instead of "[email protected]" i get this:

[01:50:25.257][2f16aefe] INFO[DATA]: [DATE:05.03.15][RL:1.7.0.210][PHP:5.5.9-1ubuntu4.5][IP:192.168.1.32][PID:19530][Apache/2.4.7 (Ubuntu)][apache2handler]
[01:50:25.257][2f16aefe] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql,pgsql,sqlite][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[01:50:25.257][2f16aefe] REQUEST[NOTE]: [POST] http://192.168.1.3/rainloop/?/Ajax/&s=/0/
[01:50:25.257][2f16aefe] AJAX[NOTE]: Action: DoLogin
[01:50:25.257][2f16aefe] POST[DATA]: {"Email":"wiggins","Login":"","Password":"*******","Language":"","AdditionalCode":"","AdditionalCodeSignMe":"0","SignMe":"0","Action":"Login","XToken":"2dd2227e820e8a1e41207eda4466f139"}
[01:50:25.258][2f16aefe] LOGIN[DATA]: The email address "wiggins" is not complete
[01:50:26.258][2f16aefe] INFO[NOTICE]: exception 'RainLoop\Exceptions\ClientException' with message 'InvalidInputArgument[903]' in /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php:1608
Stack trace:
#0 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php(1819): RainLoop\Actions->LoginProcess('wiggins', '*******', '', '', false)
#1 [internal function]: RainLoop\Actions->DoLogin()
#2 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#3 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#4 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(143): call_user_func(Array)
#5 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#6 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#7 /var/www/rainloop/rainloop/v/1.7.0.210/app/handle.php(79): RainLoop\Service::Handle()
#8 /var/www/rainloop/rainloop/v/1.7.0.210/index.php(191): include('/var/www/rainlo...')
#9 /var/www/rainloop/index.php(12): include('/var/www/rainlo...')
#10 {main}
[01:50:26.258][2f16aefe] AJAX[DATA]: {"Action":"Login","Result":false,"ErrorCode":903,"ErrorMessage":"","Time":1002}
[01:50:26.258][2f16aefe] INFO[MEMORY]: Memory peak usage: 768KB
[01:50:26.258][2f16aefe] INFO[TIME]: Time delta: 1.003005027771

Which leads me to believe i just don't understand the "Use short login"

@RainLoop
Copy link
Owner

RainLoop commented Mar 5, 2015

with message 'DomainNotAllowed[109]

It means that RainLoop can't find "hyperionworks.com" domain.
Did you add "hyperionworks.com" domain in admin panel?
Can you give me a screenshot of settings.

When i try to use "wiggins" as a username instead of "[email protected]" i get this:

To do that you need to set "Default Domian" setting in Admin panel / Login.

@cwiggs
Copy link

cwiggs commented Mar 9, 2015

I changed the display name from "hyperionworks.com" to "mail.hyperionworks.com" in case that was the problem; however that didn't fix it. Below is a screenshot of domain.

rainloop-hw

@ghost
Copy link

ghost commented Mar 9, 2015

I had trouble authenticating the first time I installed RainLoop and what works for me is to enter domain.tld in the IMAP/SMTP settings (it's supposed to be email.domain.tld for both but it works without the subdomain) and disable Use short login on both.

Then, in the Login section, enter domain.tld in the Default Domain field (as suggested above) or just enable Try to determine user domain without filling in the domain.

This way, I can login with just user or [email protected].

@RainLoop
Copy link
Owner

RainLoop commented Mar 9, 2015

@cwiggs

I changed the display name from "hyperionworks.com" to "mail.hyperionworks.com" in case
that was the problem; however that didn't fix it. Below is a screenshot of domain.

In your case you shoud use "hyperionworks.com" as name for this domain.
and disable Use short login on both IMAP/SMTP.

@cwiggs
Copy link

cwiggs commented Mar 9, 2015

@MEGADR01D, i tried your suggestion but i still get "domain not allowed"

@RainLoop

The mailservers hostname is mail.hyperionworks.com. I tried to change it to hyperionworks.com in case that fixed it, but no luck. Any other ideas?

I tried to login while watching the logs and got this:

[16:48:15.520][4bf65369] INFO[DATA]: [DATE:09.03.15][RL:1.7.0.210][PHP:5.5.9-1ubuntu4.5][IP:192.168.1.32][PID:20011][Apache/2.4.7 (Ubuntu)][apache2handler]
[16:48:15.520][4bf65369] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql,pgsql,sqlite][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[16:48:15.520][4bf65369] REQUEST[NOTE]: [POST] http://192.168.1.3/rainloop/?/Ajax/&s=/0/
[16:48:15.520][4bf65369] AJAX[NOTE]: Action: DoLogin
[16:48:15.520][4bf65369] POST[DATA]: {"Email":"[email protected]","Login":"","Password":"*******","Language":"","AdditionalCode":"","AdditionalCodeSignMe":"0","SignMe":"0","Action":"Login","XToken":"2dd2227e820e8a1e41207eda4466f139"}
[16:48:16.521][4bf65369] INFO[NOTICE]: exception 'RainLoop\Exceptions\ClientException' with message 'DomainNotAllowed[109]' in /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php:915
Stack trace:
#0 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php(1622): RainLoop\Actions->LoginProvide('wiggins@hyperio...', 'wiggins@hyperio...', '*******', '', true)
#1 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Actions.php(1819): RainLoop\Actions->LoginProcess('wiggins@hyperio...', '*******', '', '', false)
#2 [internal function]: RainLoop\Actions->DoLogin()
#3 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/ServiceActions.php(164): call_user_func(Array)
#4 [internal function]: RainLoop\ServiceActions->ServiceAjax()
#5 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(143): call_user_func(Array)
#6 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#7 /var/www/rainloop/rainloop/v/1.7.0.210/app/src/RainLoop/Service.php(79): RainLoop\Service->__construct()
#8 /var/www/rainloop/rainloop/v/1.7.0.210/app/handle.php(79): RainLoop\Service::Handle()
#9 /var/www/rainloop/rainloop/v/1.7.0.210/index.php(191): include('/var/www/rainlo...')
#10 /var/www/rainloop/index.php(12): include('/var/www/rainlo...')
#11 {main}
[16:48:16.521][4bf65369] AJAX[DATA]: {"Action":"Login","Result":false,"ErrorCode":109,"ErrorMessage":"","Time":1003}
[16:48:16.522][4bf65369] INFO[MEMORY]: Memory peak usage: 1024KB
[16:48:16.522][4bf65369] INFO[TIME]: Time delta: 1.003494977951

@starlyth
Copy link

The issue for me were the black-list and white-list plugins. When enabled, I received the "authentication error" message. When disabled, everything worked fine.

@RainLoop
Copy link
Owner

@cwiggs Domain name shoud be "hyperionworks.com".
@starlyth Most likely you have configured them incorrectly.

@f3yisayo
Copy link

@MEGADR01D , thank you so much for posting your fix, it worked for me.

@ghost
Copy link

ghost commented Apr 14, 2015

@f3yisayo 👍

@opmat
Copy link

opmat commented Sep 8, 2015

I had the same issue of Authentication Error but it is resolved now. My issue was that I enabled the Whitelist and Blacklist plugin without adding anything to the whitelist so all my logins were blocked.

This might save someone some time.

@ssavinel
Copy link

@MEGADR01D Solution worked for me !

@ghost
Copy link

ghost commented Nov 16, 2015

@ssavinel 👍

@gigantium
Copy link

To solve this, you must re-enable Basic Authentication for Outlook in your Google Account Settings. This can be done via the “Allow less secure apps” page where you set it to “Enable”.

@ssavinel
Copy link

@gigantium Your solution is specific to Gmail, but I faced the same error with every mail server.

@nicleroy
Copy link

@MEGADR01D Solution worked for me too, thanks !

@tommylux
Copy link

tommylux commented Jun 9, 2016

Ok, you need to enable "Use short login" setting in your domain configuration.

This worked for me..

@cusco
Copy link

cusco commented Jun 20, 2016

Hi!

Since last update, smtp is failing authentication

i even set up smtp server in debug mode. RainLoop is not sending credentials

Here is the pertinent part from RainLoop logfile:

[12:10:18.592][9c59e4a6] SMTP[DATA]: < 220 TLS go ahead\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: > EHLO webmail2.domain.tld\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: < 250-domain.tld Hello e-mail [10.100.100.35]\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: < 250-SIZE 157286400\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: < 250-8BITMIME\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: < 250-PIPELINING\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: < 250-AUTH PLAIN LOGIN\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: < 250 HELP\r\n
[12:10:18.629][9c59e4a6] SMTP[DATA]: > AUTH PLAIN\r\n
[12:10:18.631][9c59e4a6] SMTP[DATA]: < 535 Incorrect authentication data\r\n
[12:10:18.632][9c59e4a6] SMTP[ERROR]: exception 'MailSo\Smtp\Exceptions\NegativeResponseException' with message '535 Incorrect authentication data' in /var/www/rainloop/rainloop/v/1.10.1.127/app/libraries/MailSo/Smtp/SmtpClient.php:789

I tried short login (even tho it doesn't make sense), without it, the default domain is the domain.tld being used..

I don't understand!

@chuchana
Copy link

For me, it only worked without Use short login being enabled.

@hurrrrricaaaaane
Copy link

hurrrrricaaaaane commented Jul 22, 2016

On my side it's also not working.
Tried:

  • short login / without logn
  • IMAP
  • Pressed "Test" Button with success
  • IMAP not secure
  • SMPT starttsl

Provider:

  • Own one from company

> Next RainLoop\Exceptions\ClientException: AuthError[102] in C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\libraries\RainLoop\Actions.php:2104
> Stack trace:
> #0 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\libraries\RainLoop\Actions.php(2326): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
> #1 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\libraries\RainLoop\Actions.php(2411): RainLoop\Actions->LoginProcess('blubb@blubb...', '*******', '', '', false)
> #2 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\libraries\RainLoop\ServiceActions.php(172): RainLoop\Actions->DoLogin()
> #3 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\libraries\RainLoop\Service.php(146): RainLoop\ServiceActions->ServiceAjax('')
> #4 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\libraries\RainLoop\Service.php(56): RainLoop\Service->localHandle()
> #5 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\libraries\RainLoop\Service.php(79): RainLoop\Service->__construct()
> #6 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\app\handle.php(94): RainLoop\Service::Handle()
> #7 C:\xampp\htdocs\rainloop\rainloop\v\1.10.2.145\include.php(225): include('C:\\xampp\\htdocs...')
> #8 C:\xampp\htdocs\rainloop\index.php(12): include('C:\\xampp\\htdocs...')
> #9 {main}
> [08:54:52.247][7d2a2753] AJAX[DATA]: {"Action":"Login","Result":false,"ErrorCode":102,"ErrorMessage":"","ErrorMessageAdditional":"","Time":5109}
> [08:54:52.254][7d2a2753] INFO[MEMORY]: Memory peak usage: 2MB
> [08:54:52.257][7d2a2753] INFO[TIME]: Time delta: 5.1152338981628
> [08:54:52.261][7d2a2753] IMAP[NOTE]: Disconnected from "tcp://mail.server.de:143" (success)
> 
> [08:54:52.425][0dbf7d03] INFO[DATA]: [DATE:22.07.16][RL:1.10.2.145][PHP:7.0.8][IP:::1][PID:21268][Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.8][apache2handler]
> [08:54:52.429][0dbf7d03] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql,sqlite][Streams:tcp,udp,ssl,sslv3,tls,tlsv1.0,tlsv1.1,tlsv1.2]
> [08:54:52.433][0dbf7d03] REQUEST[NOTE]: [GET] http://localhost:81/rainloop/
> [08:54:52.462][0dbf7d03] INFO[MEMORY]: Memory peak usage: 2MB
> [08:54:52.466][0dbf7d03] INFO[TIME]: Time delta: 0.067821025848389
> 
> [08:54:52.596][e41d0385] INFO[DATA]: [DATE:22.07.16][RL:1.10.2.145][PHP:7.0.8][IP:::1][PID:21268][Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.8][apache2handler]
> [08:54:52.600][e41d0385] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql,sqlite][Streams:tcp,udp,ssl,sslv3,tls,tlsv1.0,tlsv1.1,tlsv1.2]
> [08:54:52.603][e41d0385] REQUEST[NOTE]: [GET] http://localhost:81/rainloop/?/AppData@no-mobile-0/0/7011814371443095/
> [08:54:52.623][e41d0385] APPDATA[DATA]: if(window.__initAppData){window.__initAppData({"Auth":false,"AccountHash":"","AccountSignMe":false,"AuthAccountHash":"","MailToEmail":"","Email":"","DevEmail":"","DevPassword":"","Title":"RainLoop Webmail","LoadingDescription":"RainLoop","LoadingDescriptionEsc":"RainLoop","FaviconUrl":"","LoginDescription":"","LoginPowered":true,"LoginLogo":"","LoginBackground":"","LoginCss":"","UserLogo":"","UserLogoTitle":"","UserLogoMessage":"","UserCss":"","WelcomePageUrl":"","WelcomePageDisplay":"","IncludeCss":"","IncludeBackground":"","LoginDefaultDomain":"","DetermineUserLanguage":true,"DetermineUserDomain":true,"UseLoginWelcomePage":false,"StartupUrl":"","ContactsIsAllowed":false,"ChangePasswordIsAllowed":false,"RequireTwoFactor":false,"Community":true,"PremType":false,"Admin":[],"Capa":["FOLDERS","MESSAGELIST_ACTIONS","DANGEROUS_ACTIONS","RELOAD","QUOTA","SETTINGS","ADDITIONAL_ACCOUNTS","IDENTITIES","THEMES","FILTERS","HELP","ATTACHMENTS_ACTIONS","MESSAGE_ACTIONS","COMPOSER","CONTACTS","SEARCH","SEARCH_ADV","GRAVATAR","ATTACHMENT_THUMBNAILS","PREFETCH","AUTOLOGOUT"],"Plugins":[],"System":{"version":"1.10.2.145","mobile":false,"mobileDevice":false,"webPath":"","webVersionPath":"rainloop\/v\/1.10.2.145\/","token":"67aa3b5d9937b8fe019e90f10397c6ce","inIframe":false,"allowHtmlEditorSourceButton":false,"allowHtmlEditorBitiButtons":false,"allowCtrlEnterOnCompose":false,"customLoginLink":"","customLogoutLink":"","forgotPasswordLinkUrl":"","registrationLinkUrl":"","jsHash":"1cdbcc3fd38b311a8c40f911b5bfcc4b","useImapThread":true,"useImapSubscribe":true,"allowAppendMessage":false,"materialDesign":true,"folderSpecLimit":50,"faviconStatus":true,"useNativeScrollbars":false,"listPermanentFiltered":false,"themes":["Default","A","Blurred","DarkShine","Linen","Love","Snow","Squares","SquaresDark","Stripes","Wood","Xv","Clear"],"languages":["ar_SA","bg_BG","cs_CZ","de_DE","el_GR","en_GB","en_US","es_ES","et_EE","fr_FR","hu_HU","is_IS","it_IT","ja_JP","ko_KR","lt_LT","lv_LV","nb_NO","nl_NL","pl_PL","pt_BR","pt_PT","ro_RO","ru_RU","sk_SK","sl_SI","sv_SE","tr_TR","uk_UA","zh_CN","zh_TW"],"languagesAdmin":["cs_CZ","de_DE","en_US","es_ES","fr_FR","hu_HU","it_IT","ja_JP","lt_LT","nb_NO","nl_NL","pl_PL","pt_BR","ru_RU","sl_SI","zh_CN"],"attachmentsActions":["zip"],"rsaPublicKey":"","openpgpPublicKeyServer":""},"AdditionalLoginError":"","AllowGoogleSocial":false,"AllowGoogleSocialAuth":false,"AllowGoogleSocialAuthFast":false,"AllowGoogleSocialDrive":false,"AllowGoogleSocialPreview":false,"GoogleClientID":"","GoogleApiKey":"","AllowFacebookSocial":false,"AllowTwitterSocial":false,"AllowDropboxSocial":false,"DropboxApiKey":"","SupportedFacebookSocial":true,"ProjectHash":"96d90ac6f1d2c5a729f7206d8eeb450d","AllowLanguagesOnSettings":true,"AllowLanguagesOnLogin":true,"AttachmentLimit":26214400,"SignMe":"DefaultOff","UseLocalProxyForExternalImages":false,"ShowImages":false,"MPP":20,"SoundNotification":false,"DesktopNotifications":false,"Layout":1,"EditorDefaultType":"Html","UseCheckboxesInList":true,"AutoLogout":30,"UseThreads":false,"ReplySameFolder":false,"ContactsAutosave":true,"EnableTwoFactor":false,"ParentEmail":"","InterfaceAnimation":true,"UserBackgroundName":"","UserBackgroundHash":"","Theme":"Default","NewThemeLink":".\/?\/Css\/0\/User\/-\/Default\/-\/96d90ac6f1d2c5a729f7206d8eeb450d\/Hash\/-\/","Language":"de_DE","LanguageAdmin":"en_US","UserLanguageRaw":"de_DE","UserLanguage":"de_DE","UserLanguageAdmin":"de_DE","PluginsLink":"","LangLink":".\/?\/Lang\/0\/App\/de_DE\/96d90ac6f1d2c5a729f7206d8eeb450d\/","TemplatesLink":".\/?\/Templates\/0\/App\/96d90ac6f1d2c5a729f7206d8eeb450d\/","StaticLibJsLink":"rainloop\/v\/1.10.2.145\/static\/js\/min\/libs.js?community","StaticAppJsLink":"rainloop\/v\/1.10.2.145\/static\/js\/min\/app.js?community","StaticEditorJsLink":"rainloop\/v\/1.10.2.145\/static\/ckeditor\/ckeditor.js?community"});}
> [08:54:52.635][e41d0385] INFO[MEMORY]: Memory peak usage: 2MB
> [08:54:52.639][e41d0385] INFO[TIME]: Time delta: 0.080684900283813

@MadDenker
Copy link

Just an FYI, I also had issues logging in. When I set up a domain, I used capital letters in the domain name and had troubles logging in. When I eliminated the capital letters, it worked fine.

A simple note that the domain name is case sensitive would have quickly alleviated my problem.

@pepprim
Copy link

pepprim commented Aug 25, 2016

I was getting this authentication problem in an complete fresh install just today, with ssl credentials working in other clients and with successful testing within Rainloop. Hope this will help to other users. My problem was exactly what @starlyth commented a few months ago:

@starlyth said:

The issue for me were the black-list and white-list plugins. When enabled, I received the "authentication error" message. When disabled, everything worked fine.

Just to point that with these two plugins enabled, once you've added to the whitelist plugin the domain(s) you want to log in, it works fine.

PS: Thaks to the author of Rainloop for this great webmail client! :-)

@cusco
Copy link

cusco commented Aug 26, 2016

Hi,

Just to let you know I changed in the conf the login type from 'login' to plain' and it works now :)

@bijanpiri
Copy link

For me these worked:

  1. Disable whitelist and blacklist plugins
  2. Disable Use short login for both IMAP and SMTP
    Thanks to @MEGADR01D @RainLoop @starlyth

@nozhikmayakovskogo
Copy link

I turned on the option "registration" in my config and put the link on the login page. How to create a new page Register using the built-in capabilities of RainLoop?

@jajaX
Copy link

jajaX commented Nov 23, 2016

Hi ! (sorry for my bad english !)

I'm using RainLoop with Owncloud.

I can't login user interface (admin panel works).

I can't find applications.ini in folder plugin for active log activity.

@jajaX
Copy link

jajaX commented Nov 29, 2016

Hi,

login to rainloop works with the password of my first email account !! ;)

@jashirouprotips
Copy link

@cwiggs

I changed the display name from "hyperionworks.com" to "mail.hyperionworks.com" in case
that was the problem; however that didn't fix it. Below is a screenshot of domain.

In your case you shoud use "hyperionworks.com" as name for this domain.
and disable Use short login on both IMAP/SMTP.

This worked for me, I let mail.mydomain.com unmodify and works fine, now I can access to my mail with and without typing the domain mail.

Thx.

Regards.

@iCodeDesigns
Copy link

@cwiggs

I changed the display name from "hyperionworks.com" to "mail.hyperionworks.com" in case
that was the problem; however that didn't fix it. Below is a screenshot of domain.

In your case you shoud use "hyperionworks.com" as name for this domain.
and disable Use short login on both IMAP/SMTP.

This work for me! you saved my day.
Thank you.

@SpiritusUmbrarum
Copy link

De - Activating Short Login, Worked For Me.

@isssfa
Copy link

isssfa commented Apr 16, 2022

Same "Authentication failed" Error.

I have freshly installed Cyberpanel to my server and using rainloop in it. When I executed "journalctl -f | grep dovecot" I got following results.

auth-worker(2701): Error: sql([email protected],127.0.0.1,): Invalid password in passdb: crypt() failed: Invalid argument
imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS, session=

How can I fix it?

@ahmedbenaw
Copy link

@isssfa same here!!!

@isssfa
Copy link

isssfa commented Apr 6, 2024

@isssfa same here!!!

@ahmedbenaw I finally fingered that thing out long back. I updated "Dovecot" to the latest version and it happens to work fine. Or you can install Ubuntu latest version then install again it'll work. It is problem with type of encryption.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests