Results 1 to 9 of 9

Thread: Unable to Sync Email And Contacts with z-push however Cals can

  1. #1
    blason is offline Elite Member
    Join Date
    Sep 2011
    Posts
    255
    Rep Power
    3

    Default Unable to Sync Email And Contacts with z-push however Cals can

    Hi Folks,

    I have just now set up z-push on separate server and are able to sync the Calendar entry for account however i am not able to see any emails neither any contacts created on either i.e on Zimbra webmail neither on Android. At the same time I can sync the Folder created under different folders but again unable to see any emails under that folder.

    Any clue why? I have Android 2.2 and have configured Exchange ActiveSync account.

  2. #2
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    710
    Rep Power
    6

    Default

    What are you seeing in the debug log file?

    Lines beginning with "I" indicate incoming requests to the server from the phone
    Lines beginning with "O" indicate outgoing responses to the phone from the server
    Other lines are application debug lines.

    What are you seeing in your Apache log files? Any errors? And connection attempts?

    FYI: I never had a phone with an android version as low as 2.2 so it has not been tested with that release. First one tested was 2.2.1 which worked.

  3. #3
    blason is offline Elite Member
    Join Date
    Sep 2011
    Posts
    255
    Rep Power
    3

    Default

    Well I don't see any such logs starting from I or O, I see huge chunk of entries in debug.txt and not sure where to look for the error. Here are few entries which I suspect issue could be.

    10/18/11 04:38:40 [27022] [manish_isn@isn.net] SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1714">1714</session><change token="70"/></context></soap:Header><soap:Body><SyncResponse token="70" md="1318609700" xmlns="urn:zimbraMail"/></soap:Body></soap:Envelope>
    10/18/11 04:38:40 [27022] [manish_isn@isn.net] Found 0 message changes
    10/18/11 04:38:40 [27022] [manish_isn@isn.net] Initializing message diff engine
    10/18/11 04:38:40 [27022] [manish_isn@isn.net] 1 messages in state
    10/18/11 04:38:40 [27022] [manish_isn@isn.net] Found 0 message changes
    10/18/11 04:38:40 [27022] [manish_isn@isn.net] Initializing message diff engine
    10/18/11 04:38:40 [27022] [manish_isn@isn.net] 1 messages in state
    10/18/11 04:38:40 [27022] [manish_isn@isn.net] Found 0 message changes
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] Initializing message diff engine
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] 1 messages in state
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] Send SyncRequest
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header><context xmlns="urn:zimbra">
    <authToken>0_32871cc3405dc84fffe59010119a5bd011876 8d3_69643d33363a62626338323864352d303631312d346333 662d393631332d3163353566393266343232303b6578703d31 333a313331383738313238393930383b747970653d363a7a69 6d6272613b</authToken>
    <session id="1714"/>
    <account by="name">manish_isn@isn.net</account>
    </context></soap:Header>
    <soap:Body><SyncRequest token="70" xmlns="urn:zimbraMail"/></soap:Body>
    </soap:Envelope>
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1714">1714</session><change token="70"/></context></soap:Header><soap:Body><SyncResponse token="70" md="1318609705" xmlns="urn:zimbraMail"/></soap:Body></soap:Envelope>
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] Found 0 message changes
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] Initializing message diff engine
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] 1 messages in state
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] Found 0 message changes
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] Initializing message diff engine
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] 1 messages in state
    10/18/11 04:38:45 [27022] [manish_isn@isn.net] Found 0 message changes
    10/18/11 04:38:50 [27022] [manish_isn@isn.net] START Logoff
    10/18/11 04:38:50 [27022] [manish_isn@isn.net] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header><context xmlns="urn:zimbra">
    <authToken>0_32871cc3405dc84fffe59010119a5bd011876 8d3_69643d33363a62626338323864352d303631312d346333 662d393631332d3163353566393266343232303b6578703d31 333a313331383738313238393930383b747970653d363a7a69 6d6272613b</authToken>
    <session id="1714" />
    </context></soap:Header>
    <soap:Body><EndSessionRequest xmlns="urn:zimbraAccount"/></soap:Body>

  4. #4
    blason is offline Elite Member
    Join Date
    Sep 2011
    Posts
    255
    Rep Power
    3

    Default

    OOps..I pasted wrong logs ..here are the correct ones

    ####################

    10/18/11 04:41:31 [27023] [manish@isn.net] START Setup { userid = \manish@isn.net; devid = HTCAndc847edd0; protocolversion = 2.5; useragent = Android-EAS/0.1 }
    10/18/11 04:41:31 [27023] [manish@isn.net] No XML Profile File [/var/www/html/z-push/zimbra/manish.xml] Found For User - Default Rules Will Apply
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header><context xmlns="urn:zimbra">
    <authToken>0_cc0831220c3f15927804af1391aaca73e1486 733_69643d33363a61653139326263362d323235632d343533 322d396530662d3332363663343235646466383b6578703d31 333a313331383738323637303735313b747970653d363a7a69 6d6272613b</authToken>
    <session id="1740" />
    </context></soap:Header>
    <soap:Body><GetFolderRequest xmlns="urn:zimbraMail" visible="1">
    <folder/>
    </GetFolderRequest></soap:Body>
    </soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1740">1740</session><change token="396"/></context></soap:Header><soap:Body><GetFolderResponse xmlns="urn:zimbraMail"><folder id="1" rev="1" i4next="2" s="0" i4ms="1" ms="1" name="USER_ROOT" n="0" l="11"><folder id="16" rev="1" i4next="17" s="0" i4ms="1" ms="1" name="Briefcase" n="0" l="1" view="document"/><folder f="#" id="10" rev="1" i4next="324" s="0" i4ms="365" ms="1" name="Calendar" n="2" l="1" view="appointment"/><folder id="14" rev="1" i4next="314" s="1492" i4ms="256" ms="1" name="Chats" n="1" l="1" view="message"/><folder id="7" rev="1" i4next="313" s="0" i4ms="151" ms="1" name="Contacts" n="1" l="1" view="contact"/><folder id="6" rev="1" i4next="7" s="0" i4ms="1" ms="1" name="Drafts" n="0" l="1" view="message"/><folder id="13" rev="1" i4next="263" s="0" i4ms="9" ms="1" name="Emailed Contacts" n="2" l="1" view="contact"/><folder f="u" id="2" rev="1" u="6" i4next="332" s="26971" i4ms="385" ms="1" name="Inbox" n="12" l="1" view="message"><folder id="328" rev="374" i4next="330" s="1388" i4ms="377" ms="374" name="Guddu" n="1" l="2" view="message"/><folder id="327" rev="372" i4next="330" s="12700" i4ms="380" ms="372" name="Tanishka" n="2" l="2" view="message"/><folder id="330" rev="383" i4next="331" s="0" i4ms="383" ms="383" name="Test 1" n="0" l="2" view="message"/></folder><folder id="4" rev="1" i4next="5" s="0" i4ms="1" ms="1" name="Junk" n="0" l="1" view="message"/><folder id="5" rev="1" i4next="322" s="31404" i4ms="356" ms="1" name="Sent" n="12" l="1" view="message"/><folder f="#" id="15" rev="1" i4next="16" s="0" i4ms="1" ms="1" name="Tasks" n="0" l="1" view="task"/><folder id="3" rev="1" i4next="325" s="0" i4ms="371" ms="1" name="Trash" n="11" l="1"/></folder></GetFolderResponse></soap:Body></soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header><context xmlns="urn:zimbra">
    <authToken>0_cc0831220c3f15927804af1391aaca73e1486 733_69643d33363a61653139326263362d323235632d343533 322d396530662d3332363663343235646466383b6578703d31 333a313331383738323637303735313b747970653d363a7a69 6d6272613b</authToken>
    <session id="1740" />
    </context></soap:Header>
    <soap:Body><GetSearchFolderRequest xmlns="urn:zimbraMail"/></soap:Body>
    </soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1740">1740</session><change token="396"/></context></soap:Header><soap:Body><GetSearchFolderResponse xmlns="urn:zimbraMail"/></soap:Body></soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] [0] id=1; devid=f1; name=USER_ROOT; parentid=0; view=message; include=0; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=1; path=USER_ROOT
    10/18/11 04:41:31 [27023] [manish@isn.net] [1] id=16; devid=f16; name=Briefcase; parentid=0; view=document; include=0; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=1; path=Briefcase
    10/18/11 04:41:31 [27023] [manish@isn.net] [2] id=10; devid=f10; name=Calendar; parentid=0; view=appointment; include=1; virtual=0; primary=1; external=0; recursive=1; linkid=; search=; i4ms=365; path=Calendar
    10/18/11 04:41:31 [27023] [manish@isn.net] [3] id=14; devid=f14; name=Chats; parentid=0; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=256; path=Chats
    10/18/11 04:41:31 [27023] [manish@isn.net] [4] id=7; devid=f7; name=Contacts; parentid=0; view=contact; include=1; virtual=0; primary=1; external=0; recursive=1; linkid=; search=; i4ms=151; path=Contacts
    10/18/11 04:41:31 [27023] [manish@isn.net] [5] id=6; devid=f6; name=Drafts; parentid=0; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=1; path=Drafts
    10/18/11 04:41:31 [27023] [manish@isn.net] [6] id=13; devid=f13; name=Emailed Contacts; parentid=0; view=contact; include=0; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=9; path=Emailed Contacts
    10/18/11 04:41:31 [27023] [manish@isn.net] [7] id=2; devid=f2; name=Inbox; parentid=0; view=message; include=1; virtual=0; primary=1; external=0; recursive=1; linkid=; search=; i4ms=385; path=Inbox
    10/18/11 04:41:31 [27023] [manish@isn.net] [8] id=328; devid=f328; name=Test 2; parentid=f2; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=377; path=Inbox/Guddu
    10/18/11 04:41:31 [27023] [manish@isn.net] [9] id=327; devid=f327; name=Test 3; parentid=f2; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=380; path=Inbox/Tanishka
    10/18/11 04:41:31 [27023] [manish@isn.net] [10] id=330; devid=f330; name=Trupti; parentid=f2; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=383; path=Inbox/Trupti
    10/18/11 04:41:31 [27023] [manish@isn.net] [11] id=4; devid=f4; name=Junk; parentid=0; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=1; path=Junk
    10/18/11 04:41:31 [27023] [manish@isn.net] [12] id=5; devid=f5; name=Sent; parentid=0; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=356; path=Sent
    10/18/11 04:41:31 [27023] [manish@isn.net] [13] id=15; devid=f15; name=Tasks; parentid=0; view=task; include=1; virtual=0; primary=1; external=0; recursive=1; linkid=; search=; i4ms=1; path=Tasks
    10/18/11 04:41:31 [27023] [manish@isn.net] [14] id=3; devid=f3; name=Trash; parentid=0; view=message; include=1; virtual=0; primary=0; external=0; recursive=1; linkid=; search=; i4ms=371; path=Trash
    10/18/11 04:41:31 [27023] [manish@isn.net] [15] id=-1; devid=FakeOutbox; name=Outbox; parentid=0; view=message; include=1; virtual=0; primary=0; external=0; recursive=0; linkid=; search=; i4ms=; path=Outbox
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header><context xmlns="urn:zimbra">
    <authToken>0_cc0831220c3f15927804af1391aaca73e1486 733_69643d33363a61653139326263362d323235632d343533 322d396530662d3332363663343235646466383b6578703d31 333a313331383738323637303735313b747970653d363a7a69 6d6272613b</authToken>
    <session id="1740" />
    </context></soap:Header>
    <soap:Body><GetTagRequest xmlns="urn:zimbraMail"/></soap:Body>
    </soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1740">1740</session><change token="396"/></context></soap:Header><soap:Body><GetTagResponse xmlns="urn:zimbraMail"/></soap:Body></soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] END Setup { 16 Folders Loaded }
    10/18/11 04:41:31 [27023] [manish@isn.net] POST cmd: Sync
    10/18/11 04:41:31 [27023] [manish@isn.net] Sync folder:Email
    10/18/11 04:41:31 [27023] [manish@isn.net] Initializing message diff engine
    10/18/11 04:41:31 [27023] [manish@isn.net] 0 messages in state
    10/18/11 04:41:31 [27023] [manish@isn.net] START GetMessageList { folderid = f2; cutoffdate = 1318633891; virtual = 0; offset = 0 }
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header><context xmlns="urn:zimbra">
    <authToken>0_cc0831220c3f15927804af1391aaca73e1486 733_69643d33363a61653139326263362d323235632d343533 322d396530662d3332363663343235646466383b6578703d31 333a313331383738323637303735313b747970653d363a7a69 6d6272613b</authToken>
    <session id="1740" />
    </context></soap:Header>
    <soap:Body><SearchRequest xmlns="urn:zimbraMail" types="message" limit="100" offset="0">
    <query>inid:"2" AND after:"10/15/2011"</query>
    <locale>en_US</locale>
    </SearchRequest></soap:Body>
    </soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1740">1740</session><change token="396"/></context></soap:Header><soap:Body><SearchResponse more="0" sortBy="dateDesc" offset="0" xmlns="urn:zimbraMail"/></soap:Body></soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] END GetMessageList MESSAGES { count = 0 }
    10/18/11 04:41:31 [27023] [manish@isn.net] Found 0 message changes
    10/18/11 04:41:31 [27023] [manish@isn.net] START Logoff
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header><context xmlns="urn:zimbra">
    <authToken>0_cc0831220c3f15927804af1391aaca73e1486 733_69643d33363a61653139326263362d323235632d343533 322d396530662d3332363663343235646466383b6578703d31 333a313331383738323637303735313b747970653d363a7a69 6d6272613b</authToken>
    <session id="1740" />
    </context></soap:Header>
    <soap:Body><EndSessionRequest xmlns="urn:zimbraAccount"/></soap:Body>
    </soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><change token="396"/></context></soap:Header><soap:Body><EndSessionResponse xmlns="urn:zimbraAccount"/></soap:Body></soap:Envelope>
    10/18/11 04:41:31 [27023] [manish@isn.net] END Logoff
    10/18/11 04:41:31 [27023] [manish@isn.net] end
    10/18/11 04:41:31 [27023] [manish@isn.net] --------

    #####

  5. #5
    blason is offline Elite Member
    Join Date
    Sep 2011
    Posts
    255
    Rep Power
    3

    Default

    Well, I tried whatever I can to rectify the issue but it still persists and I am not able to sync the mails and Contact vice-versa however calendar can easily be pushed. Do yo think that can be version incompatibility then question arises why the cals are getting synched and why not emails and contacts?

  6. #6
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    710
    Rep Power
    6

    Default

    Quote Originally Posted by blason View Post
    OOps..I pasted wrong logs ..here are the correct ones

    <soap:Body><SearchRequest xmlns="urn:zimbraMail" types="message" limit="100" offset="0">
    <query>inid:"2" AND after:"10/15/2011"</query>
    <locale>en_US</locale>
    </SearchRequest></soap:Body>

    SOAP response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><session id="1740">1740</session><change token="396"/></context></soap:Header><soap:Body><SearchResponse more="0" sortBy="dateDesc" offset="0" xmlns="urn:zimbraMail"/></soap:Body></soap:Envelope>
    This response to the request for all messages in the Inbox newer than 10/15/2011 shows than no messages were found. Are you sure you have anything new in your Inbox ?

    The default setting when you set up a phone is to sync the last 3 days. You need to go and change that if you want more than 3 days.

  7. #7
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    5

    Default

    #1 did you accept security warning ioni android (zpush need the right to wipe your phone - dont worry it wont until you do via webinterface)

    do you get a security warning? (its often onyl for an blink of an eye on the bottom of your droid)


    If it stays that way please setup an imap account make the same settings as you got in exchange (days/size etc) and look if you see something in
    if yes but activesync still dont work do the following:

    delete the activesync/Exchange account
    go in settings/applications/manage

    look for the mailstorgae prover - go in delete data
    same you do with the calendar and adressbook (make a backup of everything bevore please)

    next one get "cache cleaner ng"
    wipe the hole cache

    turn the phone off
    remove battery

    start it agian and add the exchange account again - see if its working


    android - special 2.2 got many activesync issues
    which device exactly do you have / which firmware / kernel version?

    or if you can best way update to 2.3.4 or 2.3.5
    both work incredible now with active sync - with zpush and oss its everything instant there - perfectly

    if you dont get updates by your phoneprovider google for "xda developers"
    there you can get a lot of nice builds/stockfirmwares and updates you often dont get by your regular update software


    believe me you need an update - we got now about 35 androids running in test/half production - it was a real pain for a while /tablets/phones/....

    (really we need caldav working on droid to finally drop active sync - sorry liverpool nothing against your backend its working well - its just activesync itself thats so troubly

  8. #8
    blason is offline Elite Member
    Join Date
    Sep 2011
    Posts
    255
    Rep Power
    3

    Default

    liverpoolfcfan - Even I did try sending few emails and that didn't work however Cal entries are gettgin synched properly but no luck for Mails and Contact.

    bofh -: Thats an nice option provided and bad to know that particularity 2.2 is having serious complications with Z-push. However I was trying to upgrade my existing 2.2 Wildfire to 2.3 or 3.0 but not sure if I can do that and posted a query on xda developers. Lets see

    And Here are the details requested

    Android Version 2.2.1
    Kernel Version 2.6.32.21-g6c55e4 htc-kernel@and18-2#1

  9. #9
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    5

    Default

    just for the record.

    it does not have issues with z-push it does have issues with active sync protokoll

    i know at the bototm line its the same but dont blame zimbra backend from liverpool or z-push for that - those issues are same with microsoft exchange

    blame android AND microsoft for it because of that troubly activesync protokoll


    about your device - ok i dont use htc but just take a close look on
    Wildfire S Android Development - xda-developers
    this thread provides with roms you can use and also with tutorials how to do it


    however htc do not release so upen as samsung do so you dont get newst androids (sadly)


    btw: dont go on 3.0
    many people dont know android 3.0 IS NOT a later version of 2.3

    its a parallel development tree made for tablets in first place - so its very likly that a 2.3.3 works better then a 3.0 becuase its newer

    stick to 2.xx versions until 4.0 comes out (4.0 is next generation for phones and tablets) - try to get hands on 2.3.4 or 2.3.5

    hope i could help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. sync contacts to iPhone 4 from LDAP directory
    By mvestel in forum Mobility
    Replies: 1
    Last Post: 11-24-2010, 12:04 PM
  2. Exporting Zimbra Contacts and Email into Yahoo Account
    By FlamingoBear in forum General Questions
    Replies: 1
    Last Post: 11-12-2010, 05:08 PM
  3. Replies: 13
    Last Post: 11-20-2008, 12:42 PM
  4. Zimbra mobile sync to email suddently not working.
    By alextsa in forum Zimbra Mobile
    Replies: 11
    Last Post: 03-04-2008, 08:23 AM
  5. Active Sync vs. IMAP for Direct Push email
    By njw in forum Zimbra Mobile
    Replies: 3
    Last Post: 04-04-2007, 10:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •