Menu

code 3 = Client notauthenticated

Help
Mikeek
2010-07-31
2013-04-26
  • Mikeek

    Mikeek - 2010-07-31

    Group-office version: 3.5.14
    Funambol Outsync Client = 8.5.4
    PHP = 5.3.2-2

    Receive a code 3 from my Funambol client when trying to sync.

    Httpd error log reports:

    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 2941
    PHP Stack trace:
    PHP   1. {main}() /var/www/html/groupoffice/syncml.php:0
    PHP   2. require_once() /var/www/html/groupoffice/syncml.php:189
    PHP   3. require_once() /var/www/html/groupoffice/modules/syncml/classes/syncml_groupoffice_backend.class.php:3

    Fanambol Debug Log:
    11:58:34 GMT +0:00  - Writing configuration settings to the management tree
    11:58:51 GMT +0:00  -  StartSync begin
    11:58:51 GMT +0:00  -  Hide menu
    11:58:51 GMT +0:00  -  Starting the syncThread…
    11:58:51 GMT +0:00  - A new version (0) is available
    11:58:51 GMT +0:00  - newVersion=0
    11:58:51 GMT +0:00  - version=8.5.4
    11:58:51 GMT +0:00  - The available version is not an upgrade, ignore it
    11:58:51 GMT +0:00  - Starting the Sync process…
    11:58:51 GMT +0:00  - Set a lower priority to the process
    11:58:51 GMT +0:00  - Set listeners
    11:58:51 GMT +0:00  - Creating SyncSources…
    11:58:51 GMT +0:00  - Creating the sync-mutex ("fol-SyncInProgress-1280573931")
    11:58:51 GMT +0:00  - Start SyncClient::Sync() with 1 sources
    11:58:51 GMT +0:00  -
    ************************** BEGIN of Synchronization session **************************
    11:58:51 GMT +0:00  - Synchronization URL: http://192.168.80.119/groupoffice/syncml.php
    11:58:51 GMT +0:00  - Preparing synchronization of contact…
    11:58:51 GMT +0:00  - Checking devinfo…
    11:58:51 GMT +0:00  - devinfo hash: K+e1vhfNx6C9n77MSP5P0w==
    11:58:51 GMT +0:00  - devinfo changed, retransmit
    11:58:51 GMT +0:00  - Server capabilities are invalid (Server URL changed)
    11:58:51 GMT +0:00  - Initialization message:
    11:58:51 GMT +0:00  - User Agent = Funambol Outlook Sync Client v. 8.5.4
    11:58:51 GMT +0:00  - Initialization sent.
    11:58:51 GMT +0:00  - <?xml version="1.0" encoding="UTF-8"?>
    <SyncML>
    <SyncHdr><VerDTD>1.2</VerDTD>
    <VerProto>SyncML/1.2</VerProto>
    <SessionID>1280573931</SessionID>
    <MsgID>1</MsgID>
    <Target><LocURI>http://192.168.80.119/groupoffice/syncml.php</LocURI>
    </Target>
    <Source><LocURI>fol-TUlLRS1QQzphZG1pbmlzdHJhdG9y</LocURI>
    </Source>
    <Cred><Meta><Format xmlns="syncml:metinf">b64</Format>
    <Type xmlns="syncml:metinf">syncml:auth-basic</Type>
    </Meta>
    <Data>bWlrZTpmZHNh</Data>
    </Cred>
    <Meta><MaxMsgSize xmlns="syncml:metinf">125000</MaxMsgSize>
    </Meta>
    </SyncHdr>
    <SyncBody><Alert><CmdID>1</CmdID>
    <Data>200</Data>
    <Item><Target><LocURI>card</LocURI>
    </Target>
    <Source><LocURI>contact</LocURI>
    </Source>
    <Meta><Anchor xmlns="syncml:metinf"><Last>1280573460</Last>
    <Next>1280573931</Next>
    </Anchor>
    </Meta>
    </Item>
    </Alert>
    <Get><CmdID>2</CmdID>
    <Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type>
    </Meta>
    <Item><Target><LocURI>./devinf12</LocURI>
    </Target>
    </Item>
    </Get>
    <Put><CmdID>3</CmdID>
    <Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type>
    </Meta>
    <Item><Source><LocURI>./devinf12</LocURI>
    </Source>
    <Data><DevInf xmlns="syncml:devinf"><VerDTD>1.2</VerDTD>
    <Man>Funambol</Man>
    <Mod>Funambol Outlook Sync Client</Mod>
    <SwV>8.5.4</SwV>
    <DevID>fol-TUlLRS1QQzphZG1pbmlzdHJhdG9y</DevID>
    <DevTyp>workstation</DevTyp>
    <UTC/><SupportLargeObjs/><SupportNumberOfChanges/><DataStore><SourceRef>appointment</SourceRef>
    <Rx-Pref><CTType>text/x-s4j-sife</CTType>
    <VerCT>1.1</VerCT>
    </Rx-Pref>
    <Rx><CTType>text/x-s4j-sife</CTType>
    <VerCT>1.0</VerCT>
    </Rx>
    <Rx><CTType>text/x-vcalendar</CTType>
    <VerCT>1.0</VerCT>
    </Rx>
    <Tx-Pref><CTType>text/x-s4j-sife</CTType>
    <VerCT>1.1</VerCT>
    </Tx-Pref>
    <Tx><CTType>text/x-s4j-sife</CTType>
    <VerCT>1.0</VerCT>
    </Tx>
    <Tx><CTType>text/x-vcalendar</CTType>
    <VerCT>1.0</VerCT>
    </Tx>
    <SyncCap><SyncType>2</SyncType>
    <SyncType>1</SyncType>
    <SyncType>5</SyncType>
    <SyncType>3</SyncType>
    <SyncType>6</SyncType>
    <SyncType>4</SyncType>
    </SyncCap>
    </DataStore>
    <DataStore><SourceRef>contact</SourceRef>
    <Rx-Pref><CTType>text/x-vcard</CTType>
    <VerCT>2.1</VerCT>
    </Rx-Pref>
    <Rx><CTType>text/x-s4j-sifc</CTType>
    <VerCT>1.0</VerCT>
    </Rx>
    <Rx><CTType>text/x-vcard</CTType>
    <VerCT>2.1</VerCT>
    </Rx>
    <Tx-Pref><CTType>text/x-vcard</CTType>
    <VerCT>2.1</VerCT>
    </Tx-Pref>
    <Tx><CTType>text/x-s4j-sifc</CTType>
    <VerCT>1.0</VerCT>
    </Tx>
    <Tx><CTType>text/x-vcard</CTType>
    <VerCT>2.1</VerCT>
    </Tx>
    <SyncCap><SyncType>2</SyncType>
    <SyncType>1</SyncType>
    <SyncType>5</SyncType>
    <SyncType>3</SyncType>
    <SyncType>6</SyncType>
    <SyncType>4</SyncType>
    </SyncCap>
    </DataStore>
    <DataStore><SourceRef>note</SourceRef>
    <Rx-Pref><CTType>text/x-s4j-sifn</CTType>
    <VerCT>1.0</VerCT>
    </Rx-Pref>
    <Rx><CTType>text/x-s4j-sifn</CTType>
    <VerCT>1.0</VerCT>
    </Rx>
    <Rx><CTType>text/x-vnote</CTType>
    <VerCT>1.1</VerCT>
    </Rx>
    <Tx-Pref><CTType>text/x-s4j-sifn</CTType>
    <VerCT>1.0</VerCT>
    </Tx-Pref>
    <Tx><CTType>text/x-s4j-sifn</CTType>
    <VerCT>1.0</VerCT>
    </Tx>
    <Tx><CTType>text/x-vnote</CTType>
    <VerCT>1.1</VerCT>
    </Tx>
    <SyncCap><SyncType>2</SyncType>
    <SyncType>1</SyncType>
    <SyncType>5</SyncType>
    <SyncType>3</SyncType>
    <SyncType>6</SyncType>
    <SyncType>4</SyncType>
    </SyncCap>
    </DataStore>
    <DataStore><SourceRef>picture</SourceRef>
    <Rx-Pref><CTType>application/vnd.omads-file+xml</CTType>
    <VerCT></VerCT>
    </Rx-Pref>
    <Rx><CTType>application/vnd.omads-file+xml</CTType>
    <VerCT></VerCT>
    </Rx>
    <Rx><CTType>application/*</CTType>
    <VerCT></VerCT>
    </Rx>
    <Tx-Pref><CTType>application/vnd.omads-file+xml</CTType>
    <VerCT></VerCT>
    </Tx-Pref>
    <Tx><CTType>application/vnd.omads-file+xml</CTType>
    <VerCT></VerCT>
    </Tx>
    <Tx><CTType>application/*</CTType>
    <VerCT></VerCT>
    </Tx>
    <SyncCap><SyncType>2</SyncType>
    <SyncType>1</SyncType>
    <SyncType>5</SyncType>
    <SyncType>3</SyncType>
    <SyncType>6</SyncType>
    <SyncType>4</SyncType>
    </SyncCap>
    </DataStore>
    <DataStore><SourceRef>task</SourceRef>
    <Rx-Pref><CTType>text/x-s4j-sift</CTType>
    <VerCT>1.1</VerCT>
    </Rx-Pref>
    <Rx><CTType>text/x-s4j-sift</CTType>
    <VerCT>1.0</VerCT>
    </Rx>
    <Rx><CTType>text/x-vcalendar</CTType>
    <VerCT>1.0</VerCT>
    </Rx>
    <Tx-Pref><CTType>text/x-s4j-sift</CTType>
    <VerCT>1.1</VerCT>
    </Tx-Pref>
    <Tx><CTType>text/x-s4j-sift</CTType>
    <VerCT>1.0</VerCT>
    </Tx>
    <Tx><CTType>text/x-vcalendar</CTType>
    <VerCT>1.0</VerCT>
    </Tx>
    <SyncCap><SyncType>2</SyncType>
    <SyncType>1</SyncType>
    <SyncType>5</SyncType>
    <SyncType>3</SyncType>
    <SyncType>6</SyncType>
    <SyncType>4</SyncType>
    </SyncCap>
    </DataStore>
    </DevInf>
    </Data>
    </Item>
    </Put>
    <Final/></SyncBody>
    </SyncML>
    11:58:51 GMT +0:00  - Connecting to 192.168.80.119:80
    11:58:51 GMT +0:00  - Requesting resource /groupoffice/syncml.php
    11:58:51 GMT +0:00  - Sending data of size 4496…
    11:58:52 GMT +0:00  - Message sent
    11:58:52 GMT +0:00  - Finished sending data of size 4496.
    11:58:52 GMT +0:00  - Data sent successfully to server. Server responds OK
    11:58:52 GMT +0:00  - Header: HTTP/1.1 200 OK

    Date: Sat, 31 Jul 2010 10:58:52 GMT

    Server: Apache/2.2.15 (Fedora)

    X-Powered-By: PHP/5.3.2

    Set-Cookie: PHPSESSID=8f8139f5b9e7a06fd4e83e1de0df150b; path=/

    Expires: Thu, 19 Nov 1981 08:52:00 GMT

    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

    Pragma: no-cache

    Content-Length: 1178

    Connection: close

    Content-Type: application/vnd.syncml+xml

    11:58:52 GMT +0:00  - Reading response…
    11:58:52 GMT +0:00  - Content-length: 1178
    11:58:52 GMT +0:00  - Receiving data of size 1178…
    11:58:52 GMT +0:00  - Finished receiving data of size 1178.
    11:58:52 GMT +0:00  - Response read:
    <SyncML xmlns="syncml:syncml1.2"><SyncHdr><VerDTD>1.2</VerDTD><VerProto>SyncML/1.2</VerProto><SessionID>1280573931</SessionID><MsgID>1</MsgID><Target><LocURI>fol-TUlLRS1QQzphZG1pbmlzdHJhdG9y</LocURI></Target><Source><LocURI>http://192.168.80.119/groupoffice/syncml.php</LocURI></Source><Meta><MaxMsgSize xmlns="syncml:metinf">1000000000</MaxMsgSize><MaxObjSize xmlns="syncml:metinf">1000000000</MaxObjSize></Meta></SyncHdr><SyncBody><Status><CmdID>1</CmdID><MsgRef>1</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>http://192.168.80.119/groupoffice/syncml.php</TargetRef><SourceRef>fol-TUlLRS1QQzphZG1pbmlzdHJhdG9y</SourceRef><Chal><Meta><Type xmlns="syncml:metinf">syncml:auth-basic</Type><Format xmlns="syncml:metinf">b64</Format></Meta></Chal><Data>401</Data></Status><Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>1</CmdRef><Cmd>Alert</Cmd><Data>401</Data></Status><Status><CmdID>3</CmdID><MsgRef>1</MsgRef><CmdRef>2</CmdRef><Cmd>Get</Cmd><TargetRef>./devinf12</TargetRef><Data>200</Data></Status><Status><CmdID>4</CmdID><MsgRef>1</MsgRef><CmdRef>3</CmdRef><Cmd>Put</Cmd><SourceRef>./devinf12</SourceRef><Data>200</Data></Status><Final></Final></SyncBody></SyncML>
    11:58:52 GMT +0:00  - Error occurred in sync: code 3 = Client not authenticated
    11:58:52 GMT +0:00  - Error in preparing sync: Client not authenticated
    11:58:52 GMT +0:00  -
    ============================================================
    ================   SYNCHRONIZATION REPORT   ================
    ============================================================

    SYNCHRONIZATION COMPLETED WITH ERRORS

    Last error message = "Client not authenticated"
    Last error code    = 401

    Contacts:

        Not synced.

    11:58:52 GMT +0:00  - Saving configuration to winRegistry
    11:58:52 GMT +0:00  - Writing configuration settings to the management tree
    11:58:52 GMT +0:00  - saving dataStores…
    11:58:52 GMT +0:00  - dataStores saved
    11:58:52 GMT +0:00  - Releasing sync-mutex…
    11:58:52 GMT +0:00  - Sync-mutex released - closing handle.
    11:58:52 GMT +0:00  - Delete SyncSources…
    11:58:52 GMT +0:00  - Syncronization process completed with errors (code = 401).
    11:58:52 GMT +0:00  - Current time is: 1280573932
    11:58:52 GMT +0:00  - Next check time is: 1280578702
    11:58:52 GMT +0:00  - No new version available
    11:58:54 GMT +0:00  - Current Timezone = (UTC) Dublin, Edinburgh, Lisbon, London
    11:58:54 GMT +0:00  - Reading configuration settings from the management tree
    11:58:54 GMT +0:00  - Server DeviceConfig not found, create a default one.
    11:58:56 GMT +0:00  - Current Timezone = (UTC) Dublin, Edinburgh, Lisbon, London
    11:58:56 GMT +0:00  - Reading configuration settings from the management tree
    11:58:56 GMT +0:00  - Server DeviceConfig not found, create a default one.

    Does anyone have this module working? If so, which version of group-office, php etc are they using?

     
  • Mikeek

    Mikeek - 2010-07-31

    bypassed the password check in module, now my sync client think everything is working, but the httpd error log shows this, and I don't get any data sync'ed:

      PHP Stack trace:
      PHP   1. {main}() /var/www/html/groupoffice/syncml.php:0
      PHP   2. SyncML_ContentHandler->process() /var/www/html/groupoffice/syncml.php:203
      PHP   3. xml_parse() /var/www/html/groupoffice/modules/syncml/classes/lib_horde_framework/SyncML/SyncML.php:150
      PHP   4. SyncML_ContentHandler->_endElement() /var/www/html/groupoffice/modules/syncml/classes/lib_horde_framework/SyncML/SyncML.php:0
      PHP   5. SyncML_ContentHandler->endElement() /var/www/html/groupoffice/modules/syncml/classes/lib_horde_framework/SyncML/SyncML.php:242
      PHP   6. SyncML_ContentHandler->handleCommand() /var/www/html/groupoffice/modules/syncml/classes/lib_horde_framework/SyncML/SyncML.php:329
      PHP   7. SyncML_Command_Sync->handleCommand() /var/www/html/groupoffice/modules/syncml/classes/lib_horde_framework/SyncML/SyncML.php:461
      PHP   8. SyncML_Sync->handleClientSyncItem() /var/www/html/groupoffice/modules/syncml/classes/lib_horde_framework/SyncML/SyncML/Command/Sync.php:313
      PHP   9. syncml_groupoffice_backend->addEntry() /var/www/html/groupoffice/modules/syncml/classes/lib_horde_framework/SyncML/SyncML/Sync.php:325
      PHP  10. VCard::parseFromText() /var/www/html/groupoffice/modules/syncml/classes/syncml_groupoffice_backend.class.php:246
      PHP Notice:  Undefined index: TYPE in /var/www/html/groupoffice/modules/syncml/classes/class.vCard.inc.php on line 222

     
  • Timo

    Timo - 2010-08-24

    i'm sorry i don't check for notice messages. disable the notice report! may be in further versions i remove all of this kinds.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.