Public bug reported: Binary package hint: f-spot
When exporting to my web site using the Web Gallery export plugin, F-Spot connects to the gallery correctly, but times out on the upload step. The upload starts correctly, but the progress bar only moves a small amount and then halts. Eventually, the upload will time out. F-Spot then presents a dialog that says "write timed out" with the options "Cancel/Skip/Retry", which functions as expected, however clicking "Retry" results in the same behavior. Monitoring the traffic using Wireshark shows the following HTTP headers are sent by F-Spot: POST /gallery2/main.php HTTP/1.1 Accept-Charset: utf-8; User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Content-Type: multipart/form-data; boundary=--------e005f089-92ce-4100 -a3fa-edb5d92ca870----- Content-Length: 693249 Expect: 100-continue Host: example.com Cookie: GALLERYSID=6adcbf77d0c53151103ece1eb63543c9;$Path=/gallery2/;$Domain=example.com g2_form%5bcmd%5d=fetch-albums-prune&g2_form%5bprotocol_version%5d=2.10&g2_form%5bcheck_writable%5d=no&g2_authToken=03bdadd4d3b9&g2_controller=remote.GalleryRemote The server replies with the following: 417 Expectation Failed Connection: close Content-Length: 0 Date: Tue, 05 Aug 2008 18:29:27 GMT Server: lighttpd/1.4.13 After this point there is no further traffic between F-Spot and the server. The problem is caused by Lighttpd not supporting the "Expect" header. Since it does not support this, Lighttpd correctly responds with "417 Expectation Failed", as in the HTTP 1.1 specifications ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20 ). I'm not 100% clear on the use of the Expect header, but the Java Gallery Remote client provided by the Gallery project does not use it. Expected Behavior: After receiving the 417 error, F-Spot should retransmit the request without using the Expect header. Alternatively, the request should not use Expect in the first place. This bug should be reproducible for any Gallery hosted on any server that implements HTTP 1.1 correctly but does not support Expect. ProblemType: Bug Architecture: i386 Date: Tue Aug 5 14:42:00 2008 DistroRelease: Ubuntu 8.04 ExecutablePath: /usr/lib/f-spot/f-spot.exe InterpreterPath: /usr/bin/mono Package: f-spot 0.4.3.1-0ubuntu1 PackageArchitecture: i386 ProcEnviron: SHELL=/bin/bash PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=en_US.UTF-8 SourcePackage: f-spot Uname: Linux 2.6.24-19-generic i686 ** Affects: f-spot (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug -- F-Spot gallery export does not handle HTTP 417 error correctly https://bugs.launchpad.net/bugs/255174 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to f-spot in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs