<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									AutoDiscovery is not working - ZxMobile				            </title>
            <link>https://community.zextras.com/forum/zxmobile/autodiscovery-is-not-working/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 20 May 2026 01:11:39 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>AutoDiscovery is not working</title>
                        <link>https://community.zextras.com/forum/zxmobile/autodiscovery-is-not-working/#post-933</link>
                        <pubDate>Sun, 05 Oct 2014 23:17:17 +0000</pubDate>
                        <description><![CDATA[Hi ZeXtras,I&#039;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:Release 8.0.0.GA.5434.UBUNTU12.64 UBUNTU12_...]]></description>
                        <content:encoded><![CDATA[Hi ZeXtras,<br><br>I've been trying to get AutoDiscovery to work on my test VM but it fails to return valid xml. Here is my environment:<br><br>zmcontrol -v:<br>Release 8.0.0.GA.5434.UBUNTU12.64 UBUNTU12_64 FOSS edition.<br><br>zxsuite core getVersion:<br>        zextras_version                                     1.8.18<br>zextras_target                                      8.0.0<br>zextras_commit                                      3059c6f79b2810b3bec750378cc1ea78a2e5f5e0<br>zextras_lib_version                                 1.0.0<br>zextras_lib_commit                                  3f5febe98cc757c290650e6a9601977f1c96e18e<br><br>DNS Configuration:<br><br>SRV Record:
Service:_autodiscover
Protocol:_tcp
Name:domain.com
Priority:10
Weight:2
Port:443
Target:mail.domain.com</pre>

I've used this too to test Exchange AutoDiscovery among with an Android 4.4.4 device: <a class="go2wpf-bbcode" rel="nofollow" target="_blank" href="https://testconnectivity.microsoft.com/">https://testconnectivity.microsoft.com/</a>. It fails at:
<pre>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.</pre>

Extract from /opt/zimbra/log/sync.log:
<pre>2014-10-06 00:59:57,086 INFO   [] sync - Handling autodiscover request...
2014-10-06 00:59:57,235 WARN   [] sync - No basic auth header in the request
2014-10-06 00:59:57,235 WARN   [] sync - HTTP/1.1 401 Unauthorized
2014-10-06 00:59:57,418 INFO   [] sync - Handling autodiscover request...
2014-10-06 00:59:57,574 INFO    sync - Cached auth NOT found for admin@domain.com
2014-10-06 00:59:57,610 INFO   [] sync - sending autodiscover response...</pre>

zxsuite core getproperty ZxCore_LogLevel:
<pre>ZxCore_LogLevel                                             0 (1)</pre>

cat /etc/lsb-release:
<pre>DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"</pre>

uname -a:
<pre>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</pre>

I've even tried adding a debug logger for the <a href="mailto:admin@domain.com">admin@domain.com</a> but it only logged this: (command used was: zxsuite mobile doAddAccountLogger <a href="mailto:admin@domain.com">admin@domain.com</a> debug /opt/zimbra/log/admin_debug.log)
<pre>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre>

I've inputed the following fields in the test wizard: 
<pre>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>SRV Record:<br>Service:_autodiscover<br>Protocol:_tcp<br>Name:domain.com<br>Priority:10<br>Weight:2<br>Port:443<br>Target:mail.domain.com</pre><br><br>I've used this too to test Exchange AutoDiscovery among with an Android 4.4.4 device: <a href="https://testconnectivity.microsoft.com/" class="bbcode_url">https://testconnectivity.microsoft.com/</a>. It fails at:<br>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.</pre>

Extract from /opt/zimbra/log/sync.log:
<pre>2014-10-06 00:59:57,086 INFO   [] sync - Handling autodiscover request...
2014-10-06 00:59:57,235 WARN   [] sync - No basic auth header in the request
2014-10-06 00:59:57,235 WARN   [] sync - HTTP/1.1 401 Unauthorized
2014-10-06 00:59:57,418 INFO   [] sync - Handling autodiscover request...
2014-10-06 00:59:57,574 INFO    sync - Cached auth NOT found for admin@domain.com
2014-10-06 00:59:57,610 INFO   [] sync - sending autodiscover response...</pre>

zxsuite core getproperty ZxCore_LogLevel:
<pre>ZxCore_LogLevel                                             0 (1)</pre>

cat /etc/lsb-release:
<pre>DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"</pre>

uname -a:
<pre>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</pre>

I've even tried adding a debug logger for the <a href="mailto:admin@domain.com">admin@domain.com</a> but it only logged this: (command used was: zxsuite mobile doAddAccountLogger <a href="mailto:admin@domain.com">admin@domain.com</a> debug /opt/zimbra/log/admin_debug.log)
<pre>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre>

I've inputed the following fields in the test wizard: 
<pre>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>Attempting to send an Autodiscover POST request to potential Autodiscover URLs.<br>Autodiscover settings weren't obtained when the Autodiscover POST request was sent.<br><br>Additional Details<br><br>Test Steps<br><br>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.<br>The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response.<br><br>Additional Details<br><br>The Response element in the payload was null.<br><br><br>HTTP Response Headers:<br>Content-Length: 613<br>Content-Type: text/xml<br>Date: Sun, 05 Oct 2014 23:04:51 GMT<br>Elapsed Time: 1415 ms.</pre><br><br>Extract from /opt/zimbra/log/sync.log:<br>2014-10-06 00:59:57,086 INFO   [] sync - Handling autodiscover request...
2014-10-06 00:59:57,235 WARN   [] sync - No basic auth header in the request
2014-10-06 00:59:57,235 WARN   [] sync - HTTP/1.1 401 Unauthorized
2014-10-06 00:59:57,418 INFO   [] sync - Handling autodiscover request...
2014-10-06 00:59:57,574 INFO    sync - Cached auth NOT found for admin@domain.com
2014-10-06 00:59:57,610 INFO   [] sync - sending autodiscover response...</pre>

zxsuite core getproperty ZxCore_LogLevel:
<pre>ZxCore_LogLevel                                             0 (1)</pre>

cat /etc/lsb-release:
<pre>DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"</pre>

uname -a:
<pre>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</pre>

I've even tried adding a debug logger for the <a href="mailto:admin@domain.com">admin@domain.com</a> but it only logged this: (command used was: zxsuite mobile doAddAccountLogger <a href="mailto:admin@domain.com">admin@domain.com</a> debug /opt/zimbra/log/admin_debug.log)
<pre>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre>

I've inputed the following fields in the test wizard: 
<pre>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>2014-10-06 00:59:57,086 INFO   [] sync - Handling autodiscover request...<br>2014-10-06 00:59:57,235 WARN   [] sync - No basic auth header in the request<br>2014-10-06 00:59:57,235 WARN   [] sync - HTTP/1.1 401 Unauthorized<br>2014-10-06 00:59:57,418 INFO   [] sync - Handling autodiscover request...<br>2014-10-06 00:59:57,574 INFO    sync - Cached auth NOT found for admin@domain.com<br>2014-10-06 00:59:57,610 INFO   [] sync - sending autodiscover response...</pre><br><br>zxsuite core getproperty ZxCore_LogLevel:<br>ZxCore_LogLevel                                             0 (1)</pre>

cat /etc/lsb-release:
<pre>DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"</pre>

uname -a:
<pre>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</pre>

I've even tried adding a debug logger for the <a href="mailto:admin@domain.com">admin@domain.com</a> but it only logged this: (command used was: zxsuite mobile doAddAccountLogger <a href="mailto:admin@domain.com">admin@domain.com</a> debug /opt/zimbra/log/admin_debug.log)
<pre>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre>

I've inputed the following fields in the test wizard: 
<pre>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>ZxCore_LogLevel                                             0 (1)</pre><br><br>cat /etc/lsb-release:<br>DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"</pre>

uname -a:
<pre>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</pre>

I've even tried adding a debug logger for the <a href="mailto:admin@domain.com">admin@domain.com</a> but it only logged this: (command used was: zxsuite mobile doAddAccountLogger <a href="mailto:admin@domain.com">admin@domain.com</a> debug /opt/zimbra/log/admin_debug.log)
<pre>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre>

I've inputed the following fields in the test wizard: 
<pre>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>DISTRIB_ID=Ubuntu<br>DISTRIB_RELEASE=12.04<br>DISTRIB_CODENAME=precise<br>DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"</pre><br><br>uname -a:<br>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</pre>

I've even tried adding a debug logger for the <a href="mailto:admin@domain.com">admin@domain.com</a> but it only logged this: (command used was: zxsuite mobile doAddAccountLogger <a href="mailto:admin@domain.com">admin@domain.com</a> debug /opt/zimbra/log/admin_debug.log)
<pre>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre>

I've inputed the following fields in the test wizard: 
<pre>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>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</pre><br><br>I've even tried adding a debug logger for the <a href="mailto:admin@domain.com" class="bbcode_email">admin@domain.com</a> but it only logged this: (command used was: zxsuite mobile doAddAccountLogger <a href="mailto:admin@domain.com" class="bbcode_email">admin@domain.com</a> debug /opt/zimbra/log/admin_debug.log)<br>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre>

I've inputed the following fields in the test wizard: 
<pre>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>2014-10-06 00:58:51,287  info Logging admin@domain.com</pre><br><br>I've inputed the following fields in the test wizard:<br>Email Address: admin@domain.com
DomainUserName: admin@domain.com
Password: 
Confirm Password: 
Ignore SSL: No
I understand: Yes</pre>

Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:
<pre>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>Email Address: admin@domain.com<br>DomainUserName: admin@domain.com<br>Password: <br>Confirm Password: <br>Ignore SSL: No<br>I understand: Yes</pre><br><br>Here is my /opt/zimbra/jetty/etc/jetty.xml.in relevant extract:<br>    
      
        true
        false
        requestedPath
        
        <!-- map convenience URLs to the webapp that handles them -->
        
            
                
                    /Microsoft-Server-ActiveSync/*
                    /service/extension/zimbrasync
                
            
        
        
            
                
                    /autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /Autodiscover/*
                    /service/extension/autodiscover
                
            
        
        
            
                
                    /AutoDiscover/*
                    /service/extension/autodiscover
                
            
        
</pre>

Any ideas what I did wrong?

Thanks,
Paul<pre>    <br><br>true<br>false<br>requestedPath<br><br><!-- map convenience URLs to the webapp that handles them --><br><br><br><br>/Microsoft-Server-ActiveSync/*<br>/service/extension/zimbrasync<br><br><br><br><br><br><br>/autodiscover/*<br>/service/extension/autodiscover<br><br><br><br><br><br><br>/Autodiscover/*<br>/service/extension/autodiscover<br><br><br><br><br><br><br>/AutoDiscover/*<br>/service/extension/autodiscover<br><br><br><br></pre><br><br>Any ideas what I did wrong?<br><br>Thanks,<br>Paul]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/zxmobile/">ZxMobile</category>                        <dc:creator>iamcypher</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/zxmobile/autodiscovery-is-not-working/#post-933</guid>
                    </item>
							        </channel>
        </rss>
		