art1c0 / mooha

Automatically exported from code.google.com/p/mooha
0 stars 0 forks source link

Two Way Sync return 407 #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sync with Funambol Outlook Client 8.5.4
2. Sync options => Two-Ways => cal [for calendar]
3. After sync i got a error [407]
4. Look in the table mooha_items => the items are imported
5. Sync again with the same data
6. After sync i got no errors
7. Look in the table mooha_items => the items are duplicate imported 
8. Sync again with the same data
9. After sync i got no errors
10. Look in the table mooha_items => the items were duplicate checked and not 
imported again (the same number of item as in step 7)
...
8-10 repeated again and again.

What is the expected output? What do you see instead?
mooho_server_log: 0
outlook_log (only in the first sync):
16:40:06 GMT +1:00 [ERROR] - Server Failure: server returned error code 407
16:40:06 GMT +1:00 [ERROR] - Error in ending sync: Server Failure: server 
returned error code 407
16:40:06 GMT +1:00 [ERROR] - No response from update server
16:40:06 GMT +1:00 [ERROR] - Client update error - uses the stored parameters
16:40:06 GMT +1:00 [ERROR] - update check failed

What version of the product are you using? On what operating system?
Mooha Server 0.3b on debian leeny

Please provide any additional information below.
The strange is that after second sync, i got no more errors and next syncs 
works fine.

Original issue reported on code.google.com by konstant...@gmail.com on 9 Sep 2010 at 2:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
if found the problem:
if i try to sync from server i got this 407 error if nothing new in db.
after some new inserts in items, the sync going without problems.

this authentication will be deleted in the second Message "MsdID=2", because 
there nothing new in items:
if (/*$this->statusCode == 401 || */$noResponse) {
    session_destroy();
}

so i got authentication error in the third message "MsdID=3".

have somebody a solution for this problem?

i think it is not correct to response a authenticate error 407 if nothing new 
in items.

@see mooha_xml_log

Original comment by konstant...@gmail.com on 14 Sep 2010 at 12:22

Attachments:

GoogleCodeExporter commented 9 years ago
Same problem here. Trying to sync Task Coach with a freshly installed Mooha 
0.3b on a Slackware 13.1 64 bits. Task Coach uses the Funambol C++ API, same as 
Funambol Outlook client I think. Attached are the queries and responses 
captured through Wireshark. HTH.

Original comment by fra...@gmail.com on 19 Jan 2011 at 11:46

Attachments:

GoogleCodeExporter commented 9 years ago
I have the same problem with funambol android client

Original comment by charles....@gmail.com on 4 Nov 2011 at 1:01