Menu

#67 [SOLVED] Samsung Note 2 - Can not connect to zimbra z-push server

unconfirmed
closed
nobody
None
1
2014-01-08
2013-12-18
duc la
No

Does not know this a bug of z-push or zimbra z-push backend, but I leave it here for who can resolves it.
I used z-push 2.1.1-1788 and Zimbra z-push 57.
Tested with Samsung note 2, android 4.1.2:

  • I can not connect to z-push server but can connect from browser.
  • does not see any log.
    On iphone IOS7, windows phone 8, can connect very good.

Discussion

  • LiverpoolFCfan

    LiverpoolFCfan - 2013-12-18
    • summary: Can not connect to zimbra z-push server --> Samsung Note 2 - Can not connect to zimbra z-push server
     
  • LiverpoolFCfan

    LiverpoolFCfan - 2013-12-18

    Updating title to add device name.

    If other devices are working corrrectly it is more than likely a device issue - or a z-push issue. The backend works the same for every device.

    Turn the loglevel up to
    define('LOGLEVEL', LOGLEVEL_WBXML);
    in the z-push config.php file to enable debug logging of the messages from the device to the z-push server.

    Look for lines in the log with [ERROR] (including the square brackets)

    What errors are you getting ?

     
  • duc la

    duc la - 2013-12-23

    update information:

    • This problem happens with some device (I say "some" because I don't have a lot of devices :) ) that run Android 4.1.2 and Android 4.2.
    • I try enable SSL in apache, and see in the ssl_access.log of apache, there's a log says thay my device connected "[23/Dec/2013:11:33:30 +0700] "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 301 831 "-" "Android/4.1.2-EAS-1.3"" but in my device, I got "couldn't connect to ..."
      I'll update more info after change log's level
     
  • duc la

    duc la - 2013-12-24

    update:
    After change log's level I found error:

    • In Android low version ( < 4.x.y ) in server field: if we fill: domain.com/Microsoft-Server-ActiveSync, they still can get data. But in Android higher version (>= 4.x.y), in server field, if we fill domain.com/Microsoft-Server-ActiveSync, they'll query domain.com/Microsoft-Server-ActiveSync/Microsoft-Server-ActiveSync so instead, we must only fill domain.com.
      A notice:
    • In some guids, they said in apache2.conf we must change Alias like this:
      "Alias /Microsoft-Server-ActiveSync /usr/share/z-push/" - Not have index.php
      It's wrong because in some device we'll get error no support protocol.
      Best regard,
     

    Last edit: duc la 2013-12-24
  • LiverpoolFCfan

    LiverpoolFCfan - 2013-12-24

    The configuration on the device should never have the /Microsoft-Server-ActiveSync on the end. It should always be just the server name (with optional :port if needed)

    You are correct. You should always include the full path including the index.php file.

    So, is your problem resolved now ?

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2014-01-02
    • summary: Samsung Note 2 - Can not connect to zimbra z-push server --> [SOLVED] Samsung Note 2 - Can not connect to zimbra z-push server
     
  • LiverpoolFCfan

    LiverpoolFCfan - 2014-01-02

    Marking ticket as solved.

     
  • duc la

    duc la - 2014-01-08

    sorry for my late. This problem is solved. I've tested on Samsung note2 (Android 4.2.x), HTC One (4.1.x), HTC One Max (4.x), Iphone 5 (IOS7) and Blackberry (Z30). Good application.

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2014-01-08

    Thank you for confirming back. Closing ticket.

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2014-01-08
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB