[horde] ActiveSync failing on fresh install
Chris Flav
chris.flav at yahoo.ca
Thu Nov 10 00:05:06 UTC 2011
Hello,
I just installed a fresh H4 installation on Scientific Linux 6.1, and web-wise it works perfectly. IMP/Horde authentication and sendmail emails via HTTP works flawlessly.
What is not working is ActiveSync. I can add the account without error, and in the Horde administration I see the device under ActiveSync devices, however when I try and retrieve emails, the iPhone IOS5 reports "The Connection to the server failed", and a packet capture shows:
"Public Identifier (known): Unknown or missing Public Identifier (0x00000001)"
the ActiveSync log shows;
2011-11-09T18:58:06-05:00 DEBUG: I </FolderHierarchy:FolderSync>
2011-11-09T18:58:06-05:00 DEBUG: [Horde_ActiveSync::handleFolderSync] Preparing to send changes to PIM
2011-11-09T18:58:06-05:00 DEBUG: [Horde_ActiveSync::handleFolderSync] newSyncKey: {4ebb0d0c-01f8-4a01-8b8b-520442819013}2
2011-11-09T18:58:06-05:00 DEBUG: [Appl85045V5ZA4S] Initializing folder diff engine
2011-11-09T18:58:06-05:00 DEBUG: Horde::getFolderList()
2011-11-09T18:58:06-05:00 DEBUG: Horde::statFolder(Calendar)
2011-11-09T18:58:06-05:00 DEBUG: Horde::statFolder(Contacts)
2011-11-09T18:58:06-05:00 DEBUG: Horde::statFolder(Tasks)
2011-11-09T18:58:06-05:00 DEBUG: [Appl85045V5ZA4S] Found 0 folder changes
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:FolderSync>
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:Status>
2011-11-09T18:58:06-05:00 DEBUG: O 1
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:Status/>
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:SyncKey>
2011-11-09T18:58:06-05:00 DEBUG: O {4ebb0d0c-01f8-4a01-8b8b-520442819013}1
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:SyncKey/>
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:Changes>
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:Count>
2011-11-09T18:58:06-05:00 DEBUG: O 0
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:Count/>
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:Changes/>
2011-11-09T18:58:06-05:00 DEBUG: O <FolderHierarchy:FolderSync/>
2011-11-09T18:58:06-05:00 INFO: User cflav logged off
Finally if I try and send an email, it also fails, and the only trace I can find is in the PHP error log;
PHP Fatal error: Call to undefined method Horde_Controller_Request_Http::getBody() in /usr/share/pear/Horde/ActiveSync/Request/SendMail.php on line 30
Clearly I am missing something, any tips?
This would be the OPTIONS sent to the server by the iPhone;
OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1
Host: scirewt.cflav.info
User-Agent: Apple-iPhone3C1/901.334
Content-Length: 0
Accept: */*
X-MS-PolicyKey: 0
Authorization: Basic Y2Nvbm4uaW5mb1xjY29ubjpjY29ubjEyMw==
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Cookie: auth_key=g5pdb3i7av8i3lb5oiqhhijkt5; default_horde_view=auto; Horde=g5pdb3i7av8i3lb5oiqhhijkt5; imp_key=ip6ulr6bc5nm7pabsfusrg9ai2
Connection: keep-alive
HTTP/1.1 200 OK
Date: Wed, 09 Nov 2011 23:30:19 GMT
Server: Apache/2.2.15 (Scientific Linux)
X-Powered-By: PHP/5.3.3
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
MS-Server-ActiveSync: 6.5.7638.1
MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Ping
Content-Length: 0
Connection: close
Content-Type: application/vnd.ms-sync.wbxml
then the "error"(?) is returned;
POST /Microsoft-Server-ActiveSync?User=cflav&DeviceId=Appl85045V5ZA4S&DeviceType=iPhone&Cmd=FolderSync HTTP/1.1
Host: scirewt.cflav.info
User-Agent: Apple-iPhone3C1/901.334
Content-Length: 51
Accept: */*
Content-Type: application/vnd.ms-sync.wbxml
MS-ASProtocolVersion: 2.5
X-MS-PolicyKey: 0
Authorization: Basic Y2Nvbm4uaW5mb1xjY29ubjpjY29ubjEyMw==
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Cookie: auth_key=g5pdb3i7av8i3lb5oiqhhijkt5; default_horde_view=auto; Horde=g5pdb3i7av8i3lb5oiqhhijkt5; imp_key=ip6ulr6bc5nm7pabsfusrg9ai2
Connection: keep-alive
..j...VR.{4ebb0d0c-01f8-4a01-8b8b-520442819013}1...HTTP/1.1 200 OK
Date: Wed, 09 Nov 2011 23:30:26 GMT
Server: Apache/2.2.15 (Scientific Linux)
X-Powered-By: PHP/5.3.3
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
MS-Server-ActiveSync: 6.5.7638.1
Content-Length: 63
Connection: close
Content-Type: application/vnd.ms-sync.wbxml
..j...VL.1..R.{4ebb0d0c-01f8-4a01-8b8b-520442819013}1..NW.0....
Help!
C.
More information about the horde
mailing list