AutoDiscovery is no...
 
Notifications
Clear all

AutoDiscovery is not working

1 Posts
1 Users
0 Likes
651 Views
(@iamcypher)
Posts: 12
Topic starter
 

Hi ZeXtras,

I've been trying to get AutoDiscovery to work on my test VM but it fails to return valid xml. Here is my environment:

zmcontrol -v:
[HTML]Release 8.0.0.GA.5434.UBUNTU12.64 UBUNTU12_64 FOSS edition.[/HTML]

zxsuite core getVersion:
[HTML] zextras_version 1.8.18
zextras_target 8.0.0
zextras_commit 3059c6f79b2810b3bec750378cc1ea78a2e5f5e0
zextras_lib_version 1.0.0
zextras_lib_commit 3f5febe98cc757c290650e6a9601977f1c96e18e[/HTML]

DNS Configuration:

SRV Record:
Service:_autodiscover
Protocol:_tcp
Name:domain.com
Priority:10
Weight:2
Port:443
Target:mail.domain.com

I've used this too to test Exchange AutoDiscovery among with an Android 4.4.4 device: https://testconnectivity.microsoft.com/ . It fails at:

Attempting to send an Autodiscover POST request to potential Autodiscover URLs.
 	Autodiscover settings weren't obtained when the Autodiscover POST request was sent.
 	
	Additional Details
 	
	Test Steps
 	
	The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL  https://mail.domain.com:443/Autodiscover/Autodiscover.xml  for user admin@domain.com.
 	The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response.
 	
	Additional Details
 	
The Response element in the payload was null. 


HTTP Response Headers:
Content-Length: 613
Content-Type: text/xml
Date: Sun, 05 Oct 2014 23:04:51 GMT
Elapsed Time: 1415 ms.

Extract from /opt/zimbra/log/sync.log:

2014-10-06 00:59:57,086 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,235 WARN  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - No basic auth header in the request
2014-10-06 00:59:57,235 WARN  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - HTTP/1.1 401 Unauthorized
2014-10-06 00:59:57,418 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,574 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [name=admin@domain.com;tid=107;] sync - Cached auth NOT found for admin@domain.com
2014-10-06 00:59:57,610 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - sending autodiscover response...

zxsuite core getproperty ZxCore_LogLevel:

ZxCore_LogLevel                                             0 (1)

cat /etc/lsb-release:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

uname -a:

Linux pcmonitor 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've even tried adding a debug logger for the admin@domain.com but it only logged this: (command used was: zxsuite mobile doAddAccountLogger admin@domain.com debug /opt/zimbra/log/admin_debug.log)

2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

SRV Record:
Service:_autodiscover
Protocol:_tcp
Name:domain.com
Priority:10
Weight:2
Port:443
Target:mail.domain.com

I've used this too to test Exchange AutoDiscovery among with an Android 4.4.4 device: https://testconnectivity.microsoft.com/ . It fails at:
Attempting to send an Autodiscover POST request to potential Autodiscover URLs.
Autodiscover settings weren't obtained when the Autodiscover POST request was sent.

Additional Details

Test Steps

The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://mail.domain.com:443/Autodiscover/Autodiscover.xml for user admin@domain.com.
The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response.

Additional Details

The Response element in the payload was null.

HTTP Response Headers:
Content-Length: 613
Content-Type: text/xml
Date: Sun, 05 Oct 2014 23:04:51 GMT
Elapsed Time: 1415 ms.

Extract from /opt/zimbra/log/sync.log:

2014-10-06 00:59:57,086 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,235 WARN  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - No basic auth header in the request
2014-10-06 00:59:57,235 WARN  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - HTTP/1.1 401 Unauthorized
2014-10-06 00:59:57,418 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,574 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [name=admin@domain.com;tid=107;] sync - Cached auth NOT found for admin@domain.com
2014-10-06 00:59:57,610 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - sending autodiscover response...

zxsuite core getproperty ZxCore_LogLevel:

ZxCore_LogLevel                                             0 (1)

cat /etc/lsb-release:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

uname -a:

Linux pcmonitor 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've even tried adding a debug logger for the admin@domain.com but it only logged this: (command used was: zxsuite mobile doAddAccountLogger admin@domain.com debug /opt/zimbra/log/admin_debug.log)

2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

Attempting to send an Autodiscover POST request to potential Autodiscover URLs.
Autodiscover settings weren't obtained when the Autodiscover POST request was sent.

Additional Details

Test Steps

The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://mail.domain.com:443/Autodiscover/Autodiscover.xml for user admin@domain.com.
The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response.

Additional Details

The Response element in the payload was null.


HTTP Response Headers:
Content-Length: 613
Content-Type: text/xml
Date: Sun, 05 Oct 2014 23:04:51 GMT
Elapsed Time: 1415 ms.

Extract from /opt/zimbra/log/sync.log:
2014-10-06 00:59:57,086 INFO [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,235 WARN [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - No basic auth header in the request
2014-10-06 00:59:57,235 WARN [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - HTTP/1.1 401 Unauthorized
2014-10-06 00:59:57,418 INFO [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,574 INFO [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [name=admin@domain.com;tid=107;] sync - Cached auth NOT found for admin@domain.com
2014-10-06 00:59:57,610 INFO [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - sending autodiscover response...

zxsuite core getproperty ZxCore_LogLevel:

ZxCore_LogLevel                                             0 (1)

cat /etc/lsb-release:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

uname -a:

Linux pcmonitor 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've even tried adding a debug logger for the admin@domain.com but it only logged this: (command used was: zxsuite mobile doAddAccountLogger admin@domain.com debug /opt/zimbra/log/admin_debug.log)

2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

2014-10-06 00:59:57,086 INFO  [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,235 WARN [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - No basic auth header in the request
2014-10-06 00:59:57,235 WARN [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - HTTP/1.1 401 Unauthorized
2014-10-06 00:59:57,418 INFO [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - Handling autodiscover request...
2014-10-06 00:59:57,574 INFO [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [name=admin@domain.com;tid=107;] sync - Cached auth NOT found for admin@domain.com
2014-10-06 00:59:57,610 INFO [qtp345520345-107: https://192.168.1.56:443/Autodiscover/Autodiscover.xml ] [] sync - sending autodiscover response...

zxsuite core getproperty ZxCore_LogLevel:
ZxCore_LogLevel 0 (1)

cat /etc/lsb-release:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

uname -a:

Linux pcmonitor 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've even tried adding a debug logger for the admin@domain.com but it only logged this: (command used was: zxsuite mobile doAddAccountLogger admin@domain.com debug /opt/zimbra/log/admin_debug.log)

2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

ZxCore_LogLevel                                             0 (1)

cat /etc/lsb-release:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

uname -a:

Linux pcmonitor 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've even tried adding a debug logger for the admin@domain.com but it only logged this: (command used was: zxsuite mobile doAddAccountLogger admin@domain.com debug /opt/zimbra/log/admin_debug.log)

2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

uname -a:
Linux pcmonitor 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've even tried adding a debug logger for the admin@domain.com but it only logged this: (command used was: zxsuite mobile doAddAccountLogger admin@domain.com debug /opt/zimbra/log/admin_debug.log)

2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

Linux pcmonitor 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've even tried adding a debug logger for the admin@domain.com but it only logged this: (command used was: zxsuite mobile doAddAccountLogger admin@domain.com debug /opt/zimbra/log/admin_debug.log)
2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

2014-10-06 00:58:51,287 [ZxLink Handler Thread] info Logging admin@domain.com

I've inputed the following fields in the test wizard:
Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password:
Confirm Password:
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

    
      
        true
        false
        requestedPath
        
        
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        

Any ideas what I did wrong?

Thanks,
Paul

Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password:
Confirm Password:
Ignore SSL: No
I understand: Yes

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:

true
false
requestedPath

/Microsoft-Server-ActiveSync/*
/service/extension/zimbrasync

/autodiscover/*
/service/extension/autodiscover

/Autodiscover/*
/service/extension/autodiscover

/AutoDiscover/*
/service/extension/autodiscover

Any ideas what I did wrong?

Thanks,
Paul

    

true
false
requestedPath





/Microsoft-Server-ActiveSync/*
/service/extension/zimbrasync






/autodiscover/*
/service/extension/autodiscover






/Autodiscover/*
/service/extension/autodiscover






/AutoDiscover/*
/service/extension/autodiscover



Any ideas what I did wrong?

Thanks,
Paul

 
Posted : 10/06/2014 01:17