Hi,
I am struggling to get ActiveSync to work with horde. I followed http://www.stiftnet.de/activesync-mit-horde-einsetzen/ and read the threads here in the forum. My problem however seems to be different.
I installed Horde 5.2.6 on my Plesk 12.5.30 Server running CentOS 6.7. I got a valid SSL Certificate for my Domain, configured the redirects and get a "Trying to access the ActiveSync endpoint from a browser. Not Supported." Which I assumes to be right.
I can logon to webmail without any problem.
Trying to configure an Android-phone, I receive an error message saying, that the connection is not possible.
I checked the error logs and found:
2016-07-13T16:58:58+00:00 NOTICE: HORDE [imp] Login success for [email protected] (XX.XXX.X.XXX) to {imap://localhost/} [pid 14301 on line 157 of "/usr/share/psa-horde/imp/lib/Auth.php"]
followed by:
2016-07-13T16:58:59+00:00 ERR: HORDE Returning HTTP 500 while handling FolderSync command. Error is: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'device_user' cannot be null [pid 14300 on line 158 of "/usr/share/psa-horde/rpc.php"]
2016-07-13T16:58:59+00:00 ERR: HORDE Error in communicating with ActiveSync server: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'device_user' cannot be null [pid 14300 on line 165 of "/usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php"]
2016-07-13T16:58:59+00:00 ERR: HORDE #0 /usr/share/psa-pear/pear/php/Horde/ActiveSync/Device.php(362): Horde_ActiveSync_State_Sql->setDeviceInfo(Object(Horde_ActiveSync_Device), Array)
#1 /usr/share/psa-pear/pear/php/Horde/ActiveSync.php(901): Horde_ActiveSync_Device->save()
#2 /usr/share/psa-pear/pear/php/Horde/ActiveSync.php(752): Horde_ActiveSync->_handleDevice('ANDROIDC2131528...')
#3 /usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php(143): Horde_ActiveSync->handleRequest('FolderSync', 'androidc2131528...')
#4 /usr/share/psa-horde/rpc.php(158): Horde_Rpc_ActiveSync->getResponse(NULL)
#5 {main} [pid 14300 on line 165 of "/usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php"]
2016-07-13T16:58:59+00:00 ERR: HORDE Buffer contents: [pid 14300 on line 165 of "/usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php"]
I am struggling to get ActiveSync to work with horde. I followed http://www.stiftnet.de/activesync-mit-horde-einsetzen/ and read the threads here in the forum. My problem however seems to be different.
I installed Horde 5.2.6 on my Plesk 12.5.30 Server running CentOS 6.7. I got a valid SSL Certificate for my Domain, configured the redirects and get a "Trying to access the ActiveSync endpoint from a browser. Not Supported." Which I assumes to be right.
I can logon to webmail without any problem.
Trying to configure an Android-phone, I receive an error message saying, that the connection is not possible.
I checked the error logs and found:
2016-07-13T16:58:58+00:00 NOTICE: HORDE [imp] Login success for [email protected] (XX.XXX.X.XXX) to {imap://localhost/} [pid 14301 on line 157 of "/usr/share/psa-horde/imp/lib/Auth.php"]
followed by:
2016-07-13T16:58:59+00:00 ERR: HORDE Returning HTTP 500 while handling FolderSync command. Error is: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'device_user' cannot be null [pid 14300 on line 158 of "/usr/share/psa-horde/rpc.php"]
2016-07-13T16:58:59+00:00 ERR: HORDE Error in communicating with ActiveSync server: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'device_user' cannot be null [pid 14300 on line 165 of "/usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php"]
2016-07-13T16:58:59+00:00 ERR: HORDE #0 /usr/share/psa-pear/pear/php/Horde/ActiveSync/Device.php(362): Horde_ActiveSync_State_Sql->setDeviceInfo(Object(Horde_ActiveSync_Device), Array)
#1 /usr/share/psa-pear/pear/php/Horde/ActiveSync.php(901): Horde_ActiveSync_Device->save()
#2 /usr/share/psa-pear/pear/php/Horde/ActiveSync.php(752): Horde_ActiveSync->_handleDevice('ANDROIDC2131528...')
#3 /usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php(143): Horde_ActiveSync->handleRequest('FolderSync', 'androidc2131528...')
#4 /usr/share/psa-horde/rpc.php(158): Horde_Rpc_ActiveSync->getResponse(NULL)
#5 {main} [pid 14300 on line 165 of "/usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php"]
2016-07-13T16:58:59+00:00 ERR: HORDE Buffer contents: [pid 14300 on line 165 of "/usr/share/psa-pear/pear/php/Horde/Rpc/ActiveSync.php"]