Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: shwingone on August 19, 2009, 06:02:00 PM
-
Hi all,
I tried to configure horde to use funambol on my iphone.
I followed this how-to http://wiki.contribs.org/Horde_and_Funambol_Synchronization#Install_Horde_Contribs (http://wiki.contribs.org/Horde_and_Funambol_Synchronization#Install_Horde_Contribs)
, but I never get a connection.
I Removed 'realm' from template fragment, as mentioned.
I cleaned my contact with this file: http://bugs.contribs.org/attachment.cgi?id=2374 (http://bugs.contribs.org/attachment.cgi?id=2374) , as mentioned.
Now it should work. But no.
I tried with iphone funambol version and the outlook funambol version, and I get always the same error:
Http error, or server failure or network error.
For me is not a network settings error, but something related with Horde config. Because on my pc (on the same range ip) the outlook version doesn't work.
Last thing, may help, I got a blank page if I access on
https://sme/horde/rpc.php with any browser.
Any help is welcome.
-
What does the error log from your desktop say?
-
horde logins are recorded in /var/log/messages.
horde activity should show up in /var/log/httpd/access_log
http errors should show up in /var/log/httpd/error_log.
Hopefully there's some info in one of these locations that can point you in the right direction.
-
Hi,
I'm back :)
I looked into these log files, but I found nothing about error...
I created a new user for testing, but I do not found a "refused connection" for the new user.
What can I do next ?
And do you have any idea about the blank page (https://sme/horde/rpc.php) ?
-
The blank page is normal AFAIK - rpc.php is designed for application access, not viewing via a browser.
Can you post the iPhone and desktop logs so we can look for ourselves?
-
The first alert on iphone with funambol:
Funambol Alert:
Server failure. Synchronization not completed
Log (log level on iphone: error)
16:14:43: GMT [error] Network error in server receiving data
16:14:43: GMT [error] Error in preparing sync: Network error in server receiving data
Log (log level on iphone: debug)
(http://shwing.no-ip.org/pics/IMG_0207.PNG) (http://shwing.no-ip.org/pics/IMG_0208.PNG)
(http://shwing.no-ip.org/pics/IMG_0209.PNG) (http://shwing.no-ip.org/pics/IMG_0210.PNG)
(http://shwing.no-ip.org/pics/IMG_0211.PNG) (http://shwing.no-ip.org/pics/IMG_0212.PNG)
Funambol outlook client error:
Can't access the server. Check you network connectivity and your account's server location
Log level debug:
2009-08-26 18:29:12 GMT +1:00 - # Funambol Outlook Sync Client v. 7.2.1 - LOG file
18:29:12 GMT +1:00 [INFO] -
************************** BEGIN of Synchronization session **************************
18:29:12 GMT +1:00 [DEBUG] - Synchronization URL: https://192.168.34.252/horde/rpc.php
18:29:12 GMT +1:00 [INFO] - Preparing synchronization of contact...
18:29:12 GMT +1:00 [INFO] - Preparing synchronization of appointment...
18:29:12 GMT +1:00 [INFO] - Preparing synchronization of task...
18:29:12 GMT +1:00 [INFO] - Preparing synchronization of note...
18:29:17 GMT +1:00 [INFO] - Network error writing data from client: retry 1 time...
18:29:17 GMT +1:00 [INFO] - Network error writing data from client: retry 2 time...
18:29:17 GMT +1:00 [INFO] - Network error writing data from client: retry 3 time...
18:29:17 GMT +1:00 [ERROR] - HTTP request error: 3 attempts failed.
18:29:17 GMT +1:00 [ERROR] - Error in preparing sync: HTTP request error: 3 attempts failed.
18:29:17 GMT +1:00 [INFO] -
============================================================
================ SYNCHRONIZATION REPORT ================
============================================================
SYNCHRONIZATION COMPLETED WITH ERRORS
-------------------------------------
Last error message = "HTTP request error: 3 attempts failed."
Last error code = 2001
Contacts:
---------
Not synced.
Calendar:
---------
Not synced.
Tasks:
------
Not synced.
Notes:
------
Not synced.
18:29:17 GMT +1:00 [INFO] - Syncronization process completed with errors (code = 2001).
18:30:57 GMT +1:00 [INFO] -
************************** BEGIN of Synchronization session **************************
18:30:57 GMT +1:00 [DEBUG] - Synchronization URL: https://192.168.34.252/horde/rpc.php
18:30:57 GMT +1:00 [INFO] - Preparing synchronization of contact...
18:30:57 GMT +1:00 [INFO] - Preparing synchronization of appointment...
18:30:57 GMT +1:00 [INFO] - Preparing synchronization of task...
18:30:57 GMT +1:00 [INFO] - Preparing synchronization of note...
18:30:57 GMT +1:00 [INFO] - Network error writing data from client: retry 1 time...
18:30:57 GMT +1:00 [INFO] - Network error writing data from client: retry 2 time...
18:30:57 GMT +1:00 [INFO] - Network error writing data from client: retry 3 time...
18:30:57 GMT +1:00 [ERROR] - HTTP request error: 3 attempts failed.
18:30:57 GMT +1:00 [ERROR] - Error in preparing sync: HTTP request error: 3 attempts failed.
18:30:57 GMT +1:00 [INFO] -
============================================================
================ SYNCHRONIZATION REPORT ================
============================================================
SYNCHRONIZATION COMPLETED WITH ERRORS
-------------------------------------
Last error message = "HTTP request error: 3 attempts failed."
Last error code = 2001
Contacts:
---------
Not synced.
Calendar:
---------
Not synced.
Tasks:
------
Not synced.
Notes:
------
Not synced.
18:30:57 GMT +1:00 [INFO] - Syncronization process completed with errors (code = 2001).
18:31:16 GMT +1:00 [INFO] -
************************** BEGIN of Synchronization session **************************
18:31:16 GMT +1:00 [DEBUG] - Synchronization URL: https://192.168.34.252/horde/rpc.php
18:31:16 GMT +1:00 [INFO] - Preparing synchronization of contact...
18:31:16 GMT +1:00 [INFO] - Preparing synchronization of appointment...
18:31:16 GMT +1:00 [INFO] - Preparing synchronization of task...
18:31:16 GMT +1:00 [INFO] - Preparing synchronization of note...
18:31:16 GMT +1:00 [INFO] - Network error writing data from client: retry 1 time...
18:31:16 GMT +1:00 [INFO] - Network error writing data from client: retry 2 time...
18:31:16 GMT +1:00 [INFO] - Network error writing data from client: retry 3 time...
18:31:16 GMT +1:00 [ERROR] - HTTP request error: 3 attempts failed.
18:31:16 GMT +1:00 [ERROR] - Error in preparing sync: HTTP request error: 3 attempts failed.
18:31:16 GMT +1:00 [INFO] -
============================================================
================ SYNCHRONIZATION REPORT ================
============================================================
SYNCHRONIZATION COMPLETED WITH ERRORS
-------------------------------------
Last error message = "HTTP request error: 3 attempts failed."
Last error code = 2001
Contacts:
---------
Not synced.
Calendar:
---------
Not synced.
Tasks:
------
Not synced.
Notes:
------
Not synced.
18:31:16 GMT +1:00 [INFO] - Syncronization process completed with errors (code = 2001).
-
Have the certificates been imported??
-
The only certificats has been imported through Safari. I never received an security alert with funambol.
I forgot something?
-
Someone will have a clue for me ?
-
Hi
That error is a Security Certificate Error, I assume you are using Mac OS X??..
Is that not another way to import the Certificates on a Mac, I dont know anything about Macs, so sorry cant help you there..
-
I don't realy use a Mac, it's on my iphon.
it's the same ?
-
MY suggestion is get it working on a PC, to make sure all settings are correct, then try on the iPhone, dont know much about a iPhone either...
-
I get connection between PC and SME.
I put my laptop on the same iphone range ip, and it works fine.
For me, is not a network error.
The only difference between PC and Iphone, is about certificate. I never get a popup to accepte a secure connection on it.
For me this case is close here. I will ask for help on iphone forum.
Thks :)
2009-09-09 20:34:11 GMT +1:00 - # Funambol Outlook Sync Client v. 7.2.1 - LOG file
20:34:11 GMT +1:00 [INFO] -
************************** BEGIN of Synchronization session **************************
20:34:11 GMT +1:00 [DEBUG] - Synchronization URL: https://192.168.34.252/horde/rpc.php
20:34:11 GMT +1:00 [INFO] - Preparing synchronization of contact...
20:34:11 GMT +1:00 [INFO] - Preparing synchronization of appointment...
20:34:11 GMT +1:00 [INFO] - Preparing synchronization of task...
20:34:11 GMT +1:00 [INFO] - Preparing synchronization of note...
20:34:16 GMT +1:00 [INFO] - Outlook session opened successfully! Using: Outlook 2007.
20:34:27 GMT +1:00 [INFO] - Total contact items to send: 0
20:34:28 GMT +1:00 [INFO] - Total appointment items to send: 0
20:34:28 GMT +1:00 [INFO] - Total task items to send: 0
20:34:29 GMT +1:00 [INFO] - Total note items to send: 0
20:34:29 GMT +1:00 [INFO] - Total contact items to receive: 0
20:34:29 GMT +1:00 [INFO] - Total appointment items to receive: 0
20:34:29 GMT +1:00 [INFO] - Total task items to receive: 0
20:34:29 GMT +1:00 [INFO] - Total note items to receive: 0
20:34:29 GMT +1:00 [INFO] - END of Synchronization session.
20:34:29 GMT +1:00 [INFO] - Sync successfully completed.
20:34:29 GMT +1:00 [INFO] -
============================================================
================ SYNCHRONIZATION REPORT ================
============================================================
SYNCHRONIZATION COMPLETED SUCCESSFULLY!
---------------------------------------
Contacts:
---------
Sync completed successfully!
Sync type: two-way
| on Client | on Server
--------|-----------|----------
New | 0/ 0 | 0/ 0
Updated | 0/ 0 | 0/ 0
Deleted | 0/ 0 | 0/ 0
Calendar:
---------
Sync completed successfully!
Sync type: two-way
| on Client | on Server
--------|-----------|----------
New | 0/ 0 | 0/ 0
Updated | 0/ 0 | 0/ 0
Deleted | 0/ 0 | 0/ 0
Tasks:
------
Sync completed successfully!
Sync type: slow (requested by Server)
| on Client | on Server
--------|-----------|----------
New | 0/ 0 | 0/ 0
Updated | 0/ 0 | 0/ 0
Deleted | 0/ 0 | 0/ 0
Notes:
------
Sync completed successfully!
Sync type: two-way
| on Client | on Server
--------|-----------|----------
New | 0/ 0 | 0/ 0
Updated | 0/ 0 | 0/ 0
Deleted | 0/ 0 | 0/ 0
20:34:33 GMT +1:00 [INFO] - Outlook session closed successfully.
20:34:33 GMT +1:00 [INFO] - Syncronization process completed.
[EDIT] I found this just now :) [EDIT]
I tried to sign up for my email account, but it does not work. What's going on?
First, make sure that your credentials (Email Address and Password) are correct. For some of the public mail servers, you should enable POP (e.g. for Yahoo! accounts) or IMAP (e.g. for Gmail accounts). Note that your email provider (e.g. Yahoo!, Hotmail) may require a premium option to allow third party access to your email account; if you're not sure about your account type, please contact your provider for more information.
We maintain a list of certificates for many popular mail servers requiring SSL access (e.g. Gmail, Yahoo!) allowing users to connect to them using this service. However, if your mail server requires SSL access and the certificate for your specific mail server is unavailable on our system, you will not be able to connect to your email account.
-
Excellent, Well done...
-
Well I have configured a while ago an iphone to connect to a SME server via IMAP & SSL.
I don't remember having any problems importing the SSL certificate, so your quote there seems wrong. (I didn't use any custom ssl certificate on the server).
-
Funambol works over https, which is a little different to IMAP over SSL.
That said, how did you import the certificate?
-
I think it prompted me on the first connection to the server that the server certificate was unrecognized and I had the option to import it. As I said it happened a while ago so I don't remember specifics other than the fact that the setup was pretty straight forward.
So maybe configuring the email as imap/pop over ssl first will allow you to import the certificate.
-
So maybe configuring the email as imap/pop over ssl first will allow you to import the certificate.
It's already done, I use my imap/SSL on SME, and before my first use of funambol.
We maintain a list of certificates for many popular mail servers requiring SSL access (e.g. Gmail, Yahoo!) allowing users to connect to them using this service. However, if your mail server requires SSL access and the certificate for your specific mail server is unavailable on our system, you will not be able to connect to your email account.
This comment should stop any discution, no ??
-
I agree, from what you've quoted it looks like custom certificates are not supported.
-
I agree, from what you've quoted it looks like custom certificates are not supported.
It's a pity!
I'll send my own SME certificates to funambol.com :)