[Tickets #14004] Re: Error 500 in communicating with ActiveSync server/unmatched end tag

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jun 4 18:51:34 UTC 2015


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14004
------------------------------------------------------------------------------
  Ticket             | 14004
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Error 500 in communicating with ActiveSync
                     | server/unmatched end tag
  Queue              | Synchronization
  Version            | FRAMEWORK_5_2
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
-Owners             |
+Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2015-06-04 18:51) wrote:

> Hi,
>
> with some Samsung devices we get some errors.
>
> 2015-06-04T18:32:40+02:00 INFO: [6921] Handling SYNC command.
> 2015-06-04T18:32:40+02:00 INFO: [6921] Checking policykey for  
> device: xxx user: xxx
> 2015-06-04T18:32:40+02:00 INFO: [6921] Policykey: 0 verified.
> 2015-06-04T18:32:40+02:00 INFO: [6921] Creating new  
> Horde_ActiveSync_SyncCache.
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I  <Synchronize>
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I   <Folders>
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I    <Folder>
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I     <SyncKey>
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I       0
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I     </SyncKey>
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I     <FolderId>
> 2015-06-04T18:32:40+02:00 DEBUG: [6921] I
> 2015-06-04T18:32:40+02:00 ERR: [6921] Unmatched end tag:
> 2015-06-04T18:32:40+02:00 ERR:
> 2015-06-04T18:32:40+02:00 ERR: Protocol error
>
> same as http://horde.690.n7.nabble.com/syncing-with-Galaxy-S4-td118995.html
>
> mod_security_log:
> --e0d1f66b-B--
> POST  
> /Microsoft-Server-ActiveSync?Cmd=Sync&User=xxx&DeviceId=xxx&DeviceType=SAMSUNGGTN7000  
> HTTP/1.1
> Authorization: Basic xxx
> MS-ASProtocolVersion: 14.1
> Connection: keep-alive
> User-Agent: SAMSUNG-GT-N7000/100.40102
> X-MS-PolicyKey: 0
> Content-Type: application/vnd.ms-sync.wbxml
> Content-Length: 18
> Host: xxx
>
> --e0d1f66b-C--
> jE\OK0R
> --e0d1f66b-F--
> HTTP/1.1 500 Internal Server Error
>
> --e0d1f66b-C-- are the post values
>
> are this enough infos or do you need more?


The answer is the same as in the thread you posted a link to. It's a  
broken client request; the FOLDERID tag MUST contain a valid folder  
identifier. In this case, the client is sending an empty tag.

If you are able to obtain a full wiretrace of the connection using a  
tool like wireshark, I can look to see *exactly* what WBXML is being  
sent to be sure I'm understanding the issue. Otherwise there is  
nothing else I can do.

FWIW, I have both a stock Note 3 and a stock Galaxy S5 - neither of  
which exhibit this behavior.






More information about the bugs mailing list