EWS crash after autodiscover

Ask your questions and get help with Zimbra's Outlook Connector.
Post Reply
shahbour
Posts: 6
Joined: Tue Sep 01, 2015 8:09 am

EWS crash after autodiscover

Post by shahbour »

Hello 

I am trying to enable ews activesync to new installed 8.6 zimbra , when i add the account to outlook i got the below 

 - - [01/Sep/2015:13:07:05 +0000] "POST /autodiscover/autodiscover.xml HTTP/1.0" 200 - "-" "MacOutlook/0.0.0.150807 (Intel Mac OS X Version 10.10.5 (Build 14F27))" 8
 - - [01/Sep/2015:13:07:06 +0000] "POST /ews/Exchange.asmx HTTP/1.1" 500 317 "-" "MacOutlook/0.0.0.150807 (Intel Mac OS X Version 10.10.5 (Build 14F27))" 2
 - - [01/Sep/2015:13:07:06 +0000] "POST /ews/Exchange.asmx HTTP/1.1" 500 317 "-" "MacOutlook/0.0.0.150807 (Intel Mac OS X Version 10.10.5 (Build 14F27))" 2
 - - [01/Sep/2015:13:07:06 +0000] "POST /ews/Exchange.asmx HTTP/1.1" 500 317 "-" "MacOutlook/0.0.0.150807 (Intel Mac OS X Version 10.10.5 (Build 14F27))" 2

As i think i am getting error 500 directly when posting to Exchange.asmx , nothing in ews.log file .
Any idea where to look more to see what is the problem ?

BR
Shahbour
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

EWS crash after autodiscover

Post by jorgedlcruz »

Hi shahbour,
Did you enable the EWS for that Account? You can see it here:

https://wiki.zimbra.com/wiki/Autodiscov ... nvironment

Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
shahbour
Posts: 6
Joined: Tue Sep 01, 2015 8:09 am

EWS crash after autodiscover

Post by shahbour »

Hello



Thanks for the reply yes i did that and autodiscover is working good



2015-09-03 14:55:49,947 INFO [qtp509886383-16118:https://X.x.x.x:8443/autodiscover/autodiscover.xml] [ip=x.x.x.x;] AutoDiscoverServlet - Handling autodiscover request...

2015-09-03 14:55:49,952 INFO [qtp509886383-16118:https://X.x.x.x:8443/autodiscover/autodiscover.xml] [ip=x.x.x.x;] AutoDiscoverServlet - Response: <?xml version="1.0"?>

<Autodiscover xmlns="http://schemas.microsoft.com/exchange/a ... chema/2006" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Response xmlns="http://schemas.microsoft.com/exchange/a ... hema/2006a">

<User>

<DisplayName>Ali Shahbour</DisplayName>

<EmailAddress>ali.shahbour@twigo.com</EmailAddress>

<DeploymentId>0f1ed851-2a39-44c6-a26d-6776def73134</DeploymentId>

</User>

<Account>

<AccountType>email</AccountType>

<Action>settings</Action>

<Protocol>

<Type>EXCH</Type>

<EwsUrl>https://mail.twigo.com:8443/ews/Exchange.asmx</EwsUrl>

</Protocol>

</Account>

</Response>

</Autodiscover>





but in access log i got the below



212.40.134.1 - - [03/Sep/2015:14:52:31 +0000] "POST /autodiscover/autodiscover.xml HTTP/1.0" 200 - "-" "MacOutlook/0.0.0.150807 (Intel Mac OS X Version 10.10.5 (Build 14F27))" 5

212.40.134.1 - - [03/Sep/2015:14:52:31 +0000] "POST /service/soap/WaitSetRequest HTTP/1.0" 200 360 "-" "Zimbra Desktop 7.2.7_12059_Mac" 1002

212.40.134.1 - - [03/Sep/2015:14:52:33 +0000] "POST /ews/Exchange.asmx HTTP/1.1" 500 317 "-" "MacOutlook/0.0.0.150807 (Intel Mac OS X Version 10.10.5 (Build 14F27))" 2



and don't know where to look for the ews error , ews.log is always empty .



Is it a licensed feature ?





BR

Shahbour
shahbour
Posts: 6
Joined: Tue Sep 01, 2015 8:09 am

EWS crash after autodiscover

Post by shahbour »

Any one facing same problem ?
shahbour
Posts: 6
Joined: Tue Sep 01, 2015 8:09 am

EWS crash after autodiscover

Post by shahbour »

It is not in the opensource package as this link shows https://files.zimbra.com/public/collate ... arison.pdf
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

EWS crash after autodiscover

Post by jorgedlcruz »

Hi shahbour,

Can you please share with us the result of the next command as zimbra user:

zmlicense -p | egrep -i 'touch|ews'



Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
shahbour
Posts: 6
Joined: Tue Sep 01, 2015 8:09 am

EWS crash after autodiscover

Post by shahbour »

hello



i am using the open source version



[zimbra@mail ~]$ zmlicense -p | egrep -i 'touch|ews'

-bash: zmlicense: command not found



BR

Shahbour
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

EWS crash after autodiscover

Post by jorgedlcruz »

Ok, thank you for your time, next time when you create a Thread, don't forget to attach the result of your Zimbra version using zmcontrol -v



We could helped you in a few seconds :)



Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
Post Reply