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
-~----------~----~----~----~------~----~------~--~---

Reply via email to