Now that i attempted to upload again at least i got an error message, which is more than before, but i can not seem to get it again...:
413 Request Entity Too Large Is there anything i can do to get around this? I'm assuming it's heroku not liking me to upload (big files) to s3 through the web server, so should i instead, as a workaround, send it directly to s3 (using the swf upload, i saw in another thread, perhaps?)? Because an administration tool for uploading files, without being able to upload (large-ish) files, is not a very good administration tool. Any other suggestions would be nice though, even though swf upload is nice and all, as i may show the progress, i'd really prefer to be using the regular html form upload. Cheers! /bob On Apr 9, 2:36 pm, Robert Sköld <[email protected]> wrote: > Thanks for you answer, i've tried changing my amazon connection to: > > AWS::S3::Base.establish_connection!( :access_key_id => > Settings[:amazon_key], :secret_access_key => > Settings[:amazon_secret] , :persistent => false ) > > and it doesn't seem to make any difference unfortunately. It's after > about 30 seconds i get the "Connection Interrupted" message if it > makes more sense to anyone... > > This is too bad, and is really the only limit i've found so far in > heroku (if it's where the limit is) and seems unnecessary to me... > > On Apr 9, 2009, at 14:11, GreenAsJade wrote: > > > > > > > Is your connection to S3 set up as "persistent" (the default)? > > > I read: > > > * :persistent - Whether to use a persistent connection to the > > server. Having this on provides around a two fold performance increase > > but for long running processes some firewalls may find the long lived > > connection suspicious and close the connection. If you run into > > connection errors, try setting :persistent to false. Defaults to > > true. > > > On Apr 9, 6:23 pm, Robert Sköld <[email protected]> wrote: > >> Hey there, > > >> I'm using your heroku service (not herokugarden) and when i'm trying > >> to upload a file that's 20Mb or 10Mb through heroku to my S3 storage, > >> using firefox, it tells me: > > >> "Connection Interrupted > > >> The connection to the server was reset while the page was loading. > >> The network link was interrupted while negotiating a connection. > >> Please try again." > > >> And nothing shows up when i run "heroku logs". > > >> And using safari it seems like it never finishes at all (like a > >> silent > >> failure?). So i'm curious if there's some kind of upload limit on > >> your > >> service, or a timeout in your web server that might occur while > >> uploading a larger file (a file that's 4Mb seems to work fine). > >> Because using the same application over localhost works fine. > > >> Anyone had a similar problem maybe? I've read something similar in > >> another thread (http://groups.google.com/group/heroku/browse_thread/ > >> thread/a838e289afc7a927/ae476e49b0d909de? > >> lnk=gst&q=upload#ae476e49b0d909de) but i'm not sure if it's the same. > >> And how do you setup one of those heroku.yml config files if it is? > > >> Any light on this problem would be appreciated! > > >> I'm running a setup with Sinatra and DataMapper. > > >> / Robert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
