Results 1 to 8 of 8

Thread: [SOLVED] Error Synchronizing

  1. #1
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    7

    Default [SOLVED] Error Synchronizing

    I have just tried to setup a smartphone to sync wirelessly but cannot solve this error.

    Zimbra version is 5.0.6_GA_2313, the phone is a Samsung i325 running windows mobile 6. I'm not using SSL at this stage to remove the self-signed cert issue.

    The sync.log file does show a 401 Unauthorized message which from previous posts I've seen is normal, it then continues on to show the folder hierachy in XML but the phone just displays the error synchronizing message for a few seconds then back to the blank email screen.

    Any help is appreciated thanks.

  2. #2
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    7

    Default If this helps - sync.log extract

    2008-09-08 12:50:54,971 INFO [btpool0-3569] [] sync - POST Microsoft-Server-ActiveSync?User=user@domain.com&DeviceId=81C6EA0F7 D10CBD2E296E3FF5524C67C&DeviceType=SmartPhone&Cmd= GetHierarchy
    2008-09-08 12:50:54,974 INFO [btpool0-3569] [] sync - HTTP/1.1 401 Unauthorized
    2008-09-08 12:50:55,451 INFO [btpool0-3571] [] sync - POST Microsoft-Server-ActiveSync?User=user@domain.com&DeviceId=81C6EA0F7 D10CBD2E296E3FF5524C67C&DeviceType=SmartPhone&Cmd= GetHierarchy
    2008-09-08 12:50:55,595 DEBUG [btpool0-3571] [name=user@domain.com;mid=14;DeviceId=81C6EA0F7D10C BD2E296E3FF5524C67C;DeviceType=SmartPhone;SyncCmd= GetHierarchy;] sync - SyncState: statesaved; insync; version=1; modseq=18785; filter=0; cutoff=-1; clientsize=51
    2008-09-08 12:50:55,595 DEBUG [btpool0-3571] [name=user@domain.com;mid=14;DeviceId=81C6EA0F7D10C BD2E296E3FF5524C67C;DeviceType=SmartPhone;SyncCmd= GetHierarchy;] sync -
    <?xml version="1.0" encoding="utf-8"?>
    <GetHierarchy xmlns="FolderHierarchy">
    <Status>1</Status>
    <SyncKey>{FEDC8A90-514C-3353-B878-C8DAE58E7A5C}1</SyncKey>
    <Changes>
    <Count>51</Count>
    <Add>
    <ServerId>15</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Tasks</DisplayName>
    <Type>7</Type>
    </Add>
    <Add>
    <ServerId>315</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>RSS Feeds</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>16</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Briefcase</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>313</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Notes</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>3237</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Junk E-mail</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>314</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Outbox</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>3</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Trash</DisplayName>
    <Type>4</Type>
    </Add>
    <Add>
    <ServerId>2</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Inbox</DisplayName>
    <Type>2</Type>
    </Add>
    <Add>
    <ServerId>304</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Security</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>309</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Temp</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>283</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>iPOS</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>287</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>POS rewrite</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>286</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Ordering</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>285</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Item deletion\rundown</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>297</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Upgrade</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>298</ServerId>
    <ParentId>297</ParentId>
    <DisplayName>Tickets</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>299</ServerId>
    <ParentId>298</ParentId>
    <DisplayName>Delayed</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>300</ServerId>
    <ParentId>298</ParentId>
    <DisplayName>Fixed</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>288</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Pricing</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>290</ServerId>
    <ParentId>288</ParentId>
    <DisplayName>Taranaki</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>291</ServerId>
    <ParentId>288</ParentId>
    <DisplayName>To Action</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>289</ServerId>
    <ParentId>288</ParentId>
    <DisplayName>East Central</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>293</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Purchasing</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>284</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Data transfer</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>294</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Rebate process</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>296</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Requests</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>295</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Replication</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>292</ServerId>
    <ParentId>283</ParentId>
    <DisplayName>Priorities</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>8056</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Zimbra</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>303</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>New Stores</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>279</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>DPS</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>277</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Copack</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>305</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Supplier Data Transfer</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>310</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Undeliverable</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>278</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Datatalk</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>280</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Eftpos</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>282</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Hardware</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>306</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Telecommunications</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>307</ServerId>
    <ParentId>306</ParentId>
    <DisplayName>Telstra Clear</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>308</ServerId>
    <ParentId>306</ParentId>
    <DisplayName>Vodafone</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>281</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Gen-i</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>311</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Website</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>302</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Monthly report</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>301</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Miscellaneous</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>276</ServerId>
    <ParentId>2</ParentId>
    <DisplayName>Audit</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>7</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Contacts</DisplayName>
    <Type>9</Type>
    </Add>
    <Add>
    <ServerId>6</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Drafts</DisplayName>
    <Type>3</Type>
    </Add>
    <Add>
    <ServerId>4</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Junk</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>312</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Journal</DisplayName>
    <Type>12</Type>
    </Add>
    <Add>
    <ServerId>10</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Calendar</DisplayName>
    <Type>8</Type>
    </Add>
    <Add>
    <ServerId>5</ServerId>
    <ParentId>0</ParentId>
    <DisplayName>Sent</DisplayName>
    <Type>5</Type>
    </Add>
    </Changes>
    </GetHierarchy>

    2008-09-08 12:50:55,596 INFO [btpool0-3571] [name=user@domain.com;mid=14;DeviceId=81C6EA0F7D10C BD2E296E3FF5524C67C;DeviceType=SmartPhone;SyncCmd= GetHierarchy;] sync - HTTP/1.1 200 OK
    Last edited by b0bing; 09-08-2008 at 10:18 PM.

  3. #3
    Join Date
    Jan 2007
    Posts
    1,688
    Rep Power
    11

    Default

    the 401 is normal.

  4. #4
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    7

    Default

    Quote Originally Posted by jjzhuang View Post
    the 401 is normal.
    Yes I understand that as stated.

    The sync.log it then goes on to provide the hierachy XML but the folders do not appear on the phone - instead it stops with an error "Error Synchronizing" which is my actual problem.

  5. #5
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    7

    Default Solved

    OK solved - the phone had to be synced initially by connecting to a PC running activesync via a USB cable. Once that was done it would sync ok via the cellular network.

  6. #6
    Join Date
    Jan 2007
    Posts
    1,688
    Rep Power
    11

    Default

    Quote Originally Posted by b0bing View Post
    OK solved - the phone had to be synced initially by connecting to a PC running activesync via a USB cable. Once that was done it would sync ok via the cellular network.
    That's wrong, and I would strongly advise against doing that. Usually you get into more trouble by mixing the two modes.

  7. #7
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    7

    Default Can't be wrong if it worked ;-)

    I didn't mix the mode, it was still set to sync to the zimbra server - but by connecting it to the PC it used the PC's own network link to talk to the zimbra server and successfully perform the initial sync.

    I'm guessing by "mixing the two modes" you're suggesting that I synced it to Outlook rather than direct to the server however this is not the case.

    I've been using it for two days and it is syncing nicely via the cellular network.

    Hope this makes sense to anyone who is having the same issue.

  8. #8
    Join Date
    Jan 2007
    Posts
    1,688
    Rep Power
    11

    Default

    OK I see what you are saying now. It sounds like you don't have a reliable data connection. Initial sync does take more bandwidth, so that could explain what you are experiencing.

Posting Permissions

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