Edgewall Software

Ticket #5226 (closed defect: worksforme)

Opened 19 months ago

Last modified 8 months ago

Unable to upload/download attachments w/ Safari

Reported by: synfinatic@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.4
Severity: normal Keywords: attachments safari needinfo
Cc: dpeckham@…

Description

Using Safari 2.0.4 (419.3) under OS X 10.4.9, I'm unable to upload or download attachments. When uploading a file, the submission seems to hang, returning a timeout error. Downloading binary attachments (like gziped files) causes Safari to download the webpage download screen, not the file itself.

Attachments

testing.txt (7 bytes) - added by sid 15 months ago.
test file uploaded using Safari
Picture 8.png (40.6 KB) - added by anonymous 14 months ago.
Tried with Safari 3, OS X (Intel) 10.4.10, upload to this ticket
green_apple_logo.jpg (20.6 KB) - added by wms 12 months ago.
green_apple_logo.2.jpg (20.6 KB) - added by wms 12 months ago.

Change History

Changed 19 months ago by aljungberg at wireload.net

I have encountered this problem as well. The upload hangs. The log files reveal a message as such,

... File "/usr/local/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 37, in readline\n return self.req.readline(size), referer: ... IOError: Client read error (Timeout?)

The same upload works fine in Firefox.

Changed 17 months ago by lammert [at] begeleidingentraining [dot] nl

I also encountered this problem, when i try to upload a file in Safari 2.0.4 (419.3) the page keeps loading for a few minutes and finally it gives an 500 Internal Server Error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, email@domain.ext and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

when i opened the httpd-error-log it gives the following error:

[Tue Jun 26 12:05:51 2007] [error] [client 10.1.2.42] (70007)The timeout specified has expired: Error reading request entity data, referer: https://sub.domain.ext/cgi-bin/repo/trac.cgi/attachment/wiki/WikiStart?action=new

And as the person above this message all works fine in Firefox 2.0.0.4

Changed 17 months ago by aljungberg at wireload.net

This appears to have been resolved in the latest version.

Changed 15 months ago by sid

test file uploaded using Safari

Changed 15 months ago by sid

  • keywords needinfo added

I just used Safari to upload a file fine to this ticket. Can you verify upload and download of attachments is working for you as well?

Changed 15 months ago by synfinatic@…

  • status changed from new to closed
  • resolution set to fixed

Works for me.

Changed 15 months ago by eblot

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 15 months ago by eblot

  • status changed from reopened to closed
  • resolution set to worksforme

Changed 14 months ago by anonymous

Tried with Safari 3, OS X (Intel) 10.4.10, upload to this ticket

Changed 14 months ago by anonymous

  • status changed from closed to reopened
  • resolution worksforme deleted

I am not able to upload anything to this ticket, using Safari 3 on OS X Intel 10.4.10.

We have the same issues with our internal 0.10.4 trac installation(s).

From a discussion I have had with another coworker (this may or may not be correct:

5:08:19 PM figured out the [Trac and] Safari problem 5:09:04 PM it's unable to submit an HTTP upload over a connection that is reused from the keep-alive pool, so I have to get to the file upload page and then just wait there for a minute for the kept-alive connection to expire 5:09:19 PM then I can submit and it goes through 5:10:31 PM what's more interesting is that it works for small files 5:10:37 PM it's only large files that I have this problem with

Changed 12 months ago by Dave Peckham <dpeckham@…>

  • cc peckhda added

I tested this with Safari 3.0.4 and confirmed that the upload succeeds if you wait at least one minute after opening the Attachments page. It fails otherwise.

Changed 12 months ago by Dave Peckham <dpeckham@…>

  • cc dpeckham@… added; peckhda removed

Changed 12 months ago by eblot

I can't reproduce this issue w/ Safari 3.0.4 and the current trunk (using Apache 2.2 or tracd)

Changed 12 months ago by wms

Changed 12 months ago by wms

Changed 9 months ago by cboos

  • status changed from reopened to closed
  • resolution set to worksforme

Weird Safari specific issue. Works for eblot, not Dave but he gives a workaround (comment:9).

Assuming it works for recent versions of Safari. Please reopen if it's not the case (ideally, provide a patch!)

Changed 8 months ago by Dave Peckham

This works for me with Safari 3.1 (525.13).

Changed 8 months ago by cboos

Thanks for the feedback, Dave. And now that there's a Safari build for Windows, it's part of the Web browsers I test regularly with Trac.

Add/Change #5226 (Unable to upload/download attachments w/ Safari)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.