Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Autodiscover not working #165

Closed
sealand210 opened this issue Mar 28, 2015 · 6 comments
Closed

Autodiscover not working #165

sealand210 opened this issue Mar 28, 2015 · 6 comments
Labels

Comments

@sealand210
Copy link

  1. if browse via web goes straight into z-push info page without authentication
  2. if try create a account on iPhone, it will indicate unable to verify account information
  3. no error logs in apache and no error logs in z-push

certificate and domain record all ok, tested with a pre-configured autodiscover.xml

@fmbiete
Copy link
Owner

fmbiete commented Mar 30, 2015

Hi @sealand210 ,

At the moment I don't use the autodiscover functionality, so I cannot help you so much with it.
Just to tick tasks, does z-push work with manual configuration?

@t3chguy
Copy link

t3chguy commented Mar 31, 2015

if iOS uses autodiscover then it is working fine on my iPad. I am routing any request containing (case insensitive) /autodiscover to the autodiscover.php and all other requests to the index.php for z-push-contrib

@chises
Copy link

chises commented Apr 1, 2015

@sealand210
can you verfiy autodiscovery with this:
https://testconnectivity.microsoft.com/

for me it is working.
nginx version: nginx/1.6.2
PHP 5.4.39-0+deb7u1

@t3chguy
Copy link

t3chguy commented Apr 1, 2015

if it helps,
Nginx Ver: 1.6.2
PHP ver: PHP 5.6.7-1+deb.sury.org~trusty+1
are also working totally fine

Hmm just tried the testconnectivity tool and it gets stuck in a loop, as if the Autodiscover is redirecting it back to itself.

01/04/2015 08:26:04 [31128] [ERROR] Unable to complete autodiscover incorrect request: 'Unauthorized'
01/04/2015 08:26:04 [16752] [FATAL] FatalException: Invalid input XML: not a mobilesync responseschema. - code: 0 - file: /var/www/z-push-contrib/autodiscover/autodiscover.php:178
01/04/2015 08:26:04 [16752] [ERROR] Unable to complete autodiscover because of ZPushException. Error: Invalid input XML: not a mobilesync responseschema.

Does your z-push log have anything relevant for when you try and use AutoDiscover?

@sealand210
Copy link
Author

Thanks for your reply!

I have got it working now. I just need to change the server address in the config file from localhost to FQDN. I've also noticed Z-push is not authenticating with SHA512, I have to change the password schema back to MD5.

Thanks again! this is a really awesome project!

@fmbiete
Copy link
Owner

fmbiete commented Apr 3, 2015

Happy that you found the solution 😆

The server address with the full fqdn in the config is a nasty bit... I cannot use the same code with multiples fqdn.

@fmbiete fmbiete closed this as completed Apr 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants