×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    6

    Funambol DM server, E62 and 9500 device manager app

    I am running the funambol dm server 3.5.2. I have successfully connected from the device manager app on both a Nokia E62 and 9500. The server's device management app is set for this device to "get device details".

    But the session ends with a "server not responding" message from the phone app. Using a network monitor, I can see the syncml going back and forth. However, the last transmission from the server does not have the "end of data" bit set in the TCP header, which I assume is causing the phone app to report "server not responding". I don't know if this is an error in the funambol dm server, or a result of some error in the device manager data handling on the phone.

    I haven't found any solutions in various user groups. Does anyone know how to resolve this problem? I'd really like to get the dm server working with the Nokia devices I'm testing with.



    Trace information from the funambol logs:

    FINEST: Starting process of canonization on input message
    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: Message to translate into the SyncML object:
    <SyncML><SyncHdr><VerDTD>1.1</VerDTD><VerProto>DM/1.1</VerProto><SessionID>1</SessionID><MsgID>1</MsgID><Target><LocURI>http://65.240.141.130:21018/funambol/dm</LocURI></Target><Source><LocURI>IMEI:354305002650898</LocURI><LocName>Funambol</LocName></Source><Cred><Meta><Format>b64</Format><Type>syncml:auth-md5</Type></Meta><Data>6U5ncWSkUdw2djUjujUKOA==</Data></Cred><Meta><MaxMsgSize>10000</MaxMsgSize><MaxObjSize>786432</MaxObjSize></Meta></SyncHdr><SyncBody><Alert><CmdID>1</CmdID><Data>1201</Data></Alert><Replace><CmdID>2</CmdID><Item><Source><LocURI>./DevInfo/Man</LocURI></Source><Meta><Format>chr</Format><Type>text/plain</Type></Meta><Data>NOKIA</Data></Item><Item><Source><LocURI>./DevInfo/Mod</LocURI></Source><Meta><Format>chr</Format><Type>text/plain</Type></Meta><Data>9500</Data></Item><Item><Source><LocURI>./DevInfo/DevId</LocURI></Source><Meta><Format>chr</Format><Type>text/plain</Type></Meta><Data>IMEI:354305002650898</Data></Item><Item><Source><LocURI>./DevInfo/Lang</LocURI></Source><Meta><Format>chr</Format><Type>text/plain</Type></Meta><Data>en</Data></Item><Item><Source><LocURI>./DevInfo/DmV</LocURI></Source><Meta><Format>chr</Format><Type>text/plain</Type></Meta><Data>1.0</Data></Item><Item><Source><LocURI>./DevInfo/Ext/ModDDF</LocURI></Source><Meta><Format>chr</Format><Type>text/plain</Type></Meta><Data>52171</Data></Item><Item><Source><LocURI>./DevInfo/Ext/ModDevDet</LocURI></Source><Meta><Format>chr</Format><Type>text/plain</Type></Meta><Data>65364</Data></Item></Replace><Final></Final></SyncBody></SyncML>
    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: Calling input pipeline
    Dec 19, 2007 9:39:58 AM com.funambol.framework.engine.pipeline.PipelineManager preProcessMessage
    FINEST: Starting preprocessing
    Dec 19, 2007 9:39:58 AM com.funambol.framework.engine.pipeline.PipelineManager preProcessMessage
    FINEST: Preprocessed message: <?xml version="1.0" encoding="UTF-8"?>
    <SyncML>
    <SyncHdr>
    <VerDTD>1.1</VerDTD>
    <VerProto>DM/1.1</VerProto>
    <SessionID>1</SessionID>
    <MsgID>1</MsgID>
    <Target>
    <LocURI>http://65.240.141.130:21018/funambol/dm</LocURI>
    </Target>
    <Source>
    <LocURI>IMEI:354305002650898</LocURI>
    <LocName>Funambol</LocName>
    </Source>
    <Cred>
    <Meta>
    <Format>b64</Format>
    <Type>syncml:auth-md5</Type>
    </Meta>
    <Data>6U5ncWSkUdw2djUjujUKOA==</Data>
    </Cred>
    <Meta>
    <MaxMsgSize>10000</MaxMsgSize>
    <MaxObjSize>786432</MaxObjSize>
    </Meta>
    </SyncHdr>
    <SyncBody>
    <Alert>
    <CmdID>1</CmdID>
    <Data>1201</Data>
    </Alert>
    <Replace>
    <CmdID>2</CmdID>
    <Item>
    <Source>
    <LocURI>./DevInfo/Man</LocURI>
    </Source>
    <Meta>
    <Format>chr</Format>
    <Type>text/plain</Type>
    </Meta>
    <Data>NOKIA</Data>
    </Item>
    <Item>
    <Source>
    <LocURI>./DevInfo/Mod</LocURI>
    </Source>
    <Meta>
    <Format>chr</Format>
    <Type>text/plain</Type>
    </Meta>
    <Data>9500</Data>
    </Item>
    <Item>
    <Source>
    <LocURI>./DevInfo/DevId</LocURI>
    </Source>
    <Meta>
    <Format>chr</Format>
    <Type>text/plain</Type>
    </Meta>
    <Data>IMEI:354305002650898</Data>
    </Item>
    <Item>
    <Source>
    <LocURI>./DevInfo/Lang</LocURI>
    </Source>
    <Meta>
    <Format>chr</Format>
    <Type>text/plain</Type>
    </Meta>
    <Data>en</Data>
    </Item>
    <Item>
    <Source>
    <LocURI>./DevInfo/DmV</LocURI>
    </Source>
    <Meta>
    <Format>chr</Format>
    <Type>text/plain</Type>
    </Meta>
    <Data>1.0</Data>
    </Item>
    <Item>
    <Source>
    <LocURI>./DevInfo/Ext/ModDDF</LocURI>
    </Source>
    <Meta>
    <Format>chr</Format>
    <Type>text/plain</Type>
    </Meta>
    <Data>52171</Data>
    </Item>
    <Item>
    <Source>
    <LocURI>./DevInfo/Ext/ModDevDet</LocURI>
    </Source>
    <Meta>
    <Format>chr</Format>
    <Type>text/plain</Type>
    </Meta>
    <Data>65364</Data>
    </Item>
    </Replace>
    <Final></Final>
    </SyncBody>
    </SyncML>

    Dec 19, 2007 9:39:58 AM com.funambol.server.session.ManagementSessionHandler processMessage
    FINEST: device id: IMEI:354305002650898
    Dec 19, 2007 9:39:58 AM com.funambol.server.session.ManagementSessionHandler processMessage
    FINEST: current state: STATE_START
    Dec 19, 2007 9:39:58 AM com.funambol.server.session.ManagementSessionHandler moveTo
    FINEST: moving to state STATE_INITIALIZATION_PROCESSING
    Dec 19, 2007 9:39:58 AM com.funambol.framework.security.DBOfficer authenticateMD5Credential
    FINEST: userDigest: G3TBy1/QA4/5KmjjAizy6A==
    Dec 19, 2007 9:39:58 AM com.funambol.framework.security.DBOfficer authenticateMD5Credential
    FINEST: serverDigestNonceB64: 4MM+IKN7/XJp7DDREyYE+w==
    Dec 19, 2007 9:39:58 AM com.funambol.framework.security.DBOfficer authenticateMD5Credential
    FINEST: msgDigestNonceB64: 6U5ncWSkUdw2djUjujUKOA==
    Dec 19, 2007 9:39:58 AM com.funambol.server.session.ManagementSessionHandler moveTo
    FINEST: moving to state STATE_UNKNOWN
    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: Calling output pipeline
    Dec 19, 2007 9:39:58 AM com.funambol.framework.engine.pipeline.PipelineManager postProcessMessage
    FINEST: Starting postprocessing
    Dec 19, 2007 9:39:58 AM com.funambol.framework.engine.pipeline.PipelineManager postProcessMessage
    FINEST: Returning message to process: <?xml version="1.0" encoding="UTF-8"?>
    <SyncML>
    <SyncHdr>
    <VerDTD>1.1</VerDTD>
    <VerProto>DM/1.1</VerProto>
    <SessionID>1</SessionID>
    <MsgID>1</MsgID>
    <Target>
    <LocURI>IMEI:354305002650898</LocURI>
    <LocName>Funambol</LocName>
    </Target>
    <Source>
    <LocURI>http://65.240.141.130:21018/funambol/dm</LocURI>
    </Source>
    <Cred>
    <Meta>
    <Format>b64</Format>
    <Type>syncml:auth-md5</Type>
    </Meta>
    <Data>Lx7CSZp0iHRedCEbryGJuw==</Data>
    </Cred>
    <Meta>
    <MaxMsgSize>10000</MaxMsgSize>
    <MaxObjSize>786432</MaxObjSize>
    </Meta>
    </SyncHdr>
    <SyncBody>
    <Status>
    <CmdID>1</CmdID>
    <MsgRef>1</MsgRef>
    <CmdRef>0</CmdRef>
    <Cmd>SyncHdr</Cmd>
    <TargetRef>http://65.240.141.130:21018/funambol/dm</TargetRef>
    <SourceRef>IMEI:354305002650898</SourceRef>
    <Chal>
    <Meta>
    <Format>b64</Format>
    <Type>syncml:auth-md5</Type>
    <NextNonce>XTJhOiIoVVtBLnxEWjFKTg==</NextNonce>
    </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>Replace</Cmd>
    <Data>401</Data>
    </Status>
    <Final></Final>
    </SyncBody>
    </SyncML>

    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: credOut.getFormat: b64
    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: credOut.getType: syncml:auth-md5
    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: credOut.getData: Lx7CSZp0iHRedCEbryGJuw==
    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: Outgoing message: <?xml version="1.0" encoding="UTF-8"?>
    <SyncML>
    <SyncHdr>
    <VerDTD>1.1</VerDTD>
    <VerProto>DM/1.1</VerProto>
    <SessionID>1</SessionID>
    <MsgID>1</MsgID>
    <Target>
    <LocURI>IMEI:354305002650898</LocURI>
    <LocName>Funambol</LocName>
    </Target>
    <Source>
    <LocURI>http://65.240.141.130:21018/funambol/dm</LocURI>
    </Source>
    <RespURI>//65.240.141.130:21018/funambol/dm?sid=W0JAMTIzOTc4MC0xMTk4MDc1MTk4MDYy</RespURI>
    <Cred>
    <Meta>
    <Format>b64</Format>
    <Type>syncml:auth-md5</Type>
    </Meta>
    <Data>Lx7CSZp0iHRedCEbryGJuw==</Data>
    </Cred>
    <Meta>
    <MaxMsgSize>10000</MaxMsgSize>
    <MaxObjSize>786432</MaxObjSize>
    </Meta>
    </SyncHdr>
    <SyncBody>
    <Status>
    <CmdID>1</CmdID>
    <MsgRef>1</MsgRef>
    <CmdRef>0</CmdRef>
    <Cmd>SyncHdr</Cmd>
    <TargetRef>http://65.240.141.130:21018/funambol/dm</TargetRef>
    <SourceRef>IMEI:354305002650898</SourceRef>
    <Chal>
    <Meta>
    <Format>b64</Format>
    <Type>syncml:auth-md5</Type>
    <NextNonce>XTJhOiIoVVtBLnxEWjFKTg==</NextNonce>
    </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>Replace</Cmd>
    <Data>401</Data>
    </Status>
    <Final></Final>
    </SyncBody>
    </SyncML>

    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter processMessage
    FINEST: The process is not complete
    Dec 19, 2007 9:39:58 AM com.funambol.server.engine.SyncAdapter getSyncResponse
    FINEST: Sending back WBXML
    Dec 19, 2007 9:39:58 AM com.funambol.server.SyncMLCanonizer canonizeOutputMessage
    FINEST: Starting process of canonization on output message
    Dec 19, 2007 9:39:58 AM com.funambol.transport.http.server.Sync4jServlet doPost
    FINEST: hmacHeader in response: null
    Dec 19, 2007 9:39:58 AM com.funambol.transport.http.server.Sync4jServlet doPost
    FINEST: Finally

  2. #2
    Registered User
    Join Date
    Feb 2008
    Posts
    3

    Re: Funambol DM server, E62 and 9500 device manager app

    Please see below link:
    http://groups.google.es/group/micros...6b70733ea52279

    The funambol server does not send <LocName> within <Source>, so the client can not authenticate the server because it does not know the server id.

    Young-Rae

Posting Permissions

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