Zimbra drive Nextcloud auth problem [Work around]
Posted: Mon Oct 09, 2017 9:54 am
Hello all,
I have the following setup:
A) Mail server, Centos 7 daily updated, running Zimbra Release 8.7.11_GA_1854.RHEL7_64_20170531151956 RHEL7_64 FOSS edition. Include Zimbra drive
B) Plesk 17.5, Centos 7 weekly updated, Virtualhost whit Nextcloud version 12.0.3, PHP 7.0 and 7.1 tested.
Both working separated as expected, but between the both off them, there is something wrong.
When I create a account om the mailserver side, the user can login at the mail page and browse the Nextcloud, Zimbra drive without any errors. Except uploading. At the client side the follow errors appeared: At the top off the page: Unknown status code, and a popup: Error when uploading file. At the javascript console appear: VM661:1 POST https://xx.xx.xx/service/extension/ZimbraDrive_Upload 401 (Unauthorized)
Mailbox.log: none errors. At the access_log.2017-10-09:
2017-10-09 09:26:02,349 INFO [qtp127618319-8514:https:https://xx.xx.ws/service/soap/BatchRequest] [ip=00.00.000.00;port=35644;] SoapEngine - Only BatchRequest does not have a handler mapped to it. Request: /service/soap/ BatchRequest, does not have a handler, log for future handling.
2017-10-09 09:26:0200.00.000.000 - - [09/Oct/2017:09:26:02 +0000] "POST https://mail.xx.xx:8443/service/extensi ... braBackend HTTP/1.1" 500 287 "-" "-" 3
At the same time owncloud.log: Warning core Login failed: 'hans@xxx.ws' (Remote IP: 00.00.000.000)
I did run zmprov md xxx.ws zimbraDriveOwnCloudURL https://xxx.xx.xx/index.php And added the mailserver as trusted on Nextcloud, but I don’t think this is the problem.
This is more concerning and i can’t find where to look for the problem: https://mail.xx.xx:8443/service/extensi ... braBackend error 500
At the side off Nexcloud, the user can’t login at all, meing full emailadres as username. When I install the Zimbradrive plugin and fill in the form whit the normal port 443 [FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 400 ) And port 8443 returns [OK] Zimbra Drive extension connection test : Zimbra Drive app can reach Zimbra Drive extension.
Edit 10-10-2017:
I knew there was an other error message, i found at the side off Nextcloud in the Virthualhost httpd.log:
2017-10-10 06:29:29 Error 00.00.000.000 401 POST /index.php/apps/zimbradrive/api/1.0/UploadFile HTTP/1.0
I have the following setup:
A) Mail server, Centos 7 daily updated, running Zimbra Release 8.7.11_GA_1854.RHEL7_64_20170531151956 RHEL7_64 FOSS edition. Include Zimbra drive
B) Plesk 17.5, Centos 7 weekly updated, Virtualhost whit Nextcloud version 12.0.3, PHP 7.0 and 7.1 tested.
Both working separated as expected, but between the both off them, there is something wrong.
When I create a account om the mailserver side, the user can login at the mail page and browse the Nextcloud, Zimbra drive without any errors. Except uploading. At the client side the follow errors appeared: At the top off the page: Unknown status code, and a popup: Error when uploading file. At the javascript console appear: VM661:1 POST https://xx.xx.xx/service/extension/ZimbraDrive_Upload 401 (Unauthorized)
Mailbox.log: none errors. At the access_log.2017-10-09:
2017-10-09 09:26:02,349 INFO [qtp127618319-8514:https:https://xx.xx.ws/service/soap/BatchRequest] [ip=00.00.000.00;port=35644;] SoapEngine - Only BatchRequest does not have a handler mapped to it. Request: /service/soap/ BatchRequest, does not have a handler, log for future handling.
2017-10-09 09:26:0200.00.000.000 - - [09/Oct/2017:09:26:02 +0000] "POST https://mail.xx.xx:8443/service/extensi ... braBackend HTTP/1.1" 500 287 "-" "-" 3
At the same time owncloud.log: Warning core Login failed: 'hans@xxx.ws' (Remote IP: 00.00.000.000)
I did run zmprov md xxx.ws zimbraDriveOwnCloudURL https://xxx.xx.xx/index.php And added the mailserver as trusted on Nextcloud, but I don’t think this is the problem.
This is more concerning and i can’t find where to look for the problem: https://mail.xx.xx:8443/service/extensi ... braBackend error 500
At the side off Nexcloud, the user can’t login at all, meing full emailadres as username. When I install the Zimbradrive plugin and fill in the form whit the normal port 443 [FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 400 ) And port 8443 returns [OK] Zimbra Drive extension connection test : Zimbra Drive app can reach Zimbra Drive extension.
Edit 10-10-2017:
I knew there was an other error message, i found at the side off Nextcloud in the Virthualhost httpd.log:
2017-10-10 06:29:29 Error 00.00.000.000 401 POST /index.php/apps/zimbradrive/api/1.0/UploadFile HTTP/1.0