After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618413 - Creation of DAV based items (calendar, contacts, etc.) to Zimbra take 75 seconds to complete
Creation of DAV based items (calendar, contacts, etc.) to Zimbra take 75 seco...
Status: RESOLVED DUPLICATE of bug 623936
Product: evolution-data-server
Classification: Platform
Component: Calendar
2.28.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-05-11 22:56 UTC by jsullivan
Modified: 2014-07-09 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace while waiting (6.26 KB, application/octet-stream)
2010-05-11 22:56 UTC, jsullivan
Details
Backtrace after control returns to user (3.88 KB, application/octet-stream)
2010-05-11 22:56 UTC, jsullivan
Details
Packet capture from the Evolution side of the connection (22.43 KB, application/cap)
2010-05-11 22:57 UTC, jsullivan
Details
Simultaneous packet capture from Zimbra side of connection (19.69 KB, application/cap)
2010-05-11 22:59 UTC, jsullivan
Details

Description jsullivan 2010-05-11 22:56:02 UTC
Created attachment 160875 [details]
Backtrace while waiting

We are using Evolution 2.28 from Debian Squeeze on Debian Lenny with KDE 3.5.10 as the Desktop Environment.  Evolution has been patched and repackaged with patches from bugs:
https://bugzilla.gnome.org/show_bug.cgi?id=566330
https://bugzilla.gnome.org/show_bug.cgi?id=604650

The backend is Zimbra 6.0.6 with all latest patches running on CentOS 5.4 and the calendar is of type CALDAV.

The desired task is to create a new appointment.  The expected behavior is successful creation of new appointments with nearly immediate return of application control to the user.

Instead, 100% of the time we see Zimbra immediately create the appointment but there is a 75 second delay before control is returned to the user.

Here is what we had posted to the Evolution mailing list:

"It seems like the overall process is Evolution sends a DAV PUT, Zimbra
replies with a redirect to a more accurate (?) URI.  Evolution does a
DAV PUT to this URI.  Zimbra creates the appointment.  75 second delay.
Evolution does a DAV GET for the appointment (I assume to verify it has
been created).  Evolution returns control to the user."

"We have traced the packet exchange simultaneously from both Zimbra and
Evolution.  There are no dropped packets.  We see the same thing on both
sides.  Zimbra responds with a 201 created message indicating it has
added the appointment and Evolution ACKs the packet.  Then everyone
waits.  75 seconds later, Zimbra sends a FIN packet to close the
connection.  After the connection closes, Evolution sends the DAV GET,
Zibmra responds, and all is good."

"Either Zimbra is sitting around for 75 seconds doing nothing or Zimbra
has realized there has been no traffic on the TCP connection and
initiates a close after a timeout period.  I think the latter is more
likely and would indicate a bug in Evolution where it does not close the
initial session once the DAV PUT is successful.  If we could get it to
close the session, it could then continue with the DAV GET and creation
would appear to be almost instantaneous."

Milan Crha commented that this behavior was only seen with Zimbra so it may be a Zimbra issue or it may just be a difference in expectations.  Perhaps the other solution assume they are supposed to close the connection whereas Zimbra assumes the client is supposed to close the connection.

I will attach a packet trace and two back traces.  bt is a backtrace taken while Evolution was waiting.  bt.finished was taken after control returned to the user interface.
Comment 1 jsullivan 2010-05-11 22:56:55 UTC
Created attachment 160876 [details]
Backtrace after control returns to user
Comment 2 jsullivan 2010-05-11 22:57:55 UTC
Created attachment 160877 [details]
Packet capture from the Evolution side of the connection
Comment 3 jsullivan 2010-05-11 22:59:16 UTC
Created attachment 160878 [details]
Simultaneous packet capture from Zimbra side of connection

These packet capture contain real address information.  Please keep them as private as possible.
Comment 4 jsullivan 2010-08-12 16:39:20 UTC
Resolved with patch from https://bugzilla.gnome.org/show_bug.cgi?id=623936
Comment 5 Milan Crha 2014-07-09 13:38:39 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 623936 ***