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

Z-PUSH Access denied. Username or password incorrect #76

Open
FatalDaron opened this issue Sep 21, 2021 · 2 comments
Open

Z-PUSH Access denied. Username or password incorrect #76

FatalDaron opened this issue Sep 21, 2021 · 2 comments

Comments

@FatalDaron
Copy link

Hello,

I have a problem when synchronize Outllook 2016 (Contact/Calendar/Email) with Z-PUSH using ActiveSync.
The message error is «Connecting to the Exchange ActiveSync (EAS) mail server: Server not found»

I have tested IMAP, CardDav and CalDav with outlook and OutlookCalDavSynchronizer-4.1.0 and i have no error.

I have tested with a new installation a server yunohost and i have the same problem.

Server Yunohost :
Hardware : Virtualize (QEMU/KVM)
OS : Debian 10.10
YunoHost : 4.2.8.3 (stable)
z-push : 2.6.1ynh3
Baikal : 0.7.1
ynh2

Below all logs concerning nginx and z-push:
/etc/log/mail.info
Sep 21 09:25:01 domain-fr CRON[15906]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Sep 21 09:25:25 domain-fr dovecot: imap-login: Aborted login (auth failed, 1 attempts in 2 secs): user=[email protected], method=PLAIN, rip=::1, lip=::1, TLS, session=<2ib+THzMPOwAAAAAAAAAAAAAAAAAAAAB>

/var/log/z-push.log
No log

/var/log/z-push/autodiscover-error.log
21/09/2021 09:25:25 [15909] [WARN] [#unknown] /var/www/z-push/backend/imap/imap.php:127 imap_open(): Couldn't open stream {localhost:993/imap/ssl/novalidate-cert} (2)
21/09/2021 09:25:25 [15909] [ERROR] [#unknown] BackendIMAP->Logon(): can't connect as user '[email protected]' on '{localhost:993/imap/ssl/novalidate-cert}': Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed.
21/09/2021 09:25:25 [15909] [FATAL] [#unknown] Exception: (AuthenticationRequiredException) - Access denied. Username or password incorrect.
21/09/2021 09:25:25 [15909] [WARN] [#unknown] Unknown:0 Unknown: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed. (errflg=2) (8)

/var/log/z-push/autodiscover.log
21/09/2021 09:25:23 [15909] [DEBUG] [#unknown] -------- Start ZPushAutodiscover
21/09/2021 09:25:23 [15909] [ INFO] [#unknown] Z-Push version='GIT'
21/09/2021 09:25:23 [15909] [DEBUG] [#unknown] Including backend file: '/var/www/z-push/backend/imap/imap.php'
21/09/2021 09:25:23 [15909] [ INFO] [#unknown] BackendIMAP(): Using UTF-8 as Default Charset for Searches
21/09/2021 09:25:23 [15909] [DEBUG] [#unknown] Including backend file: '/var/www/z-push/backend/caldav/caldav.php'
21/09/2021 09:25:23 [15909] [DEBUG] [#unknown] Including backend file: '/var/www/z-push/backend/carddav/carddav.php'
21/09/2021 09:25:23 [15909] [DEBUG] [#unknown] Combined 3 backends loaded.
21/09/2021 09:25:23 [15909] [DEBUG] [#unknown] ZPushAutodiscover->login(): Using the complete email address for login: '[email protected]'
21/09/2021 09:25:23 [15909] [DEBUG] [#unknown] Combined->Logon('[email protected]', '',***))
21/09/2021 09:25:25 [15909] [WARN] [#unknown] /var/www/z-push/backend/imap/imap.php:127 imap_open(): Couldn't open stream {localhost:993/imap/ssl/novalidate-cert} (2)
21/09/2021 09:25:25 [15909] [ERROR] [#unknown] BackendIMAP->Logon(): can't connect as user '[email protected]' on '{localhost:993/imap/ssl/novalidate-cert}': Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed.
21/09/2021 09:25:25 [15909] [DEBUG] [#unknown] Combined->Logon() failed on BackendIMAP
21/09/2021 09:25:25 [15909] [ INFO] [#unknown] AuthenticationRequiredException: Access denied. Username or password incorrect. - code: 0 - file: /var/www/z-push/autodiscover/autodiscover.php:230
21/09/2021 09:25:25 [15909] [FATAL] [#unknown] Exception: (AuthenticationRequiredException) - Access denied. Username or password incorrect.
21/09/2021 09:25:25 [15909] [DEBUG] [#unknown] ZPushAutodiscover->sendResponse() sending response...
21/09/2021 09:25:25 [15909] [DEBUG] [#unknown] ZPushAutodiscover->sendResponse() response sent.
21/09/2021 09:25:25 [15909] [DEBUG] [#unknown] -------- End ZPushAutodiscover
21/09/2021 09:25:25 [15909] [WARN] [#unknown] Unknown:0 Unknown: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed. (errflg=2) (8)

Have you a idea concerning this problem .

Best Regards

@ashworksco
Copy link

ashworksco commented Aug 8, 2022

I am having a similar issue. Has this been addressed? I can't find any documentation or forum posts about how to fix the log-in issues with Z-Push.

@dbflexi
Copy link

dbflexi commented Aug 13, 2022

Same problem - Outlook tells me that the username or ppassword may be wrong. I tested it with a new account but it does not work.

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

No branches or pull requests

3 participants