Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8062359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:38:31+00:00 2026-06-05T10:38:31+00:00

I have a rails app hosted on heroku and a mobile app made with

  • 0

I have a rails app hosted on heroku and a mobile app made with rhodes.

I’d like to send images from the mobile app to my rails app using an HTTP POST request. Since heroku doesn’t allow you to store files, I’m using amazon s3.

I can’t send the file from heroku to s3 because it takes more than 30 seconds and causes a timeout. I’ve seen plenty of examples of uploading a file direct to s3 when the user has a form, but this obviously won’t work in this case.

I tried using the suggestion here:

rails 3, heroku, aws-s3, simply trying to upload a file to S3 that is POSTed (http/multipart) to our app

but I still get a 503 request timeout.

I don’t want to put my amazon s3 keys on the app.

Right now, I feel like my only option is to host my app on EC2 which I would rather not do as I like the simplicity of Heroku.

Also, it seems strange that these uploads would take so long regardless. I’m only posting images from a mobile phone camera, so they’re not huge files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:38:35+00:00Added an answer on June 5, 2026 at 10:38 am

    So I finally figured out how to do this.

    After lots of back and forth with AWS reps and Cloudfiles reps and pulling my hair out, I realized it would be a lot less work to just get another rails server that could write to the filesystem.

    So, I started another rails app on openshift. It’s just as easy as Heroku to get started (in fact, I might consider moving my rails app there, but it’s too new for my taste right now and doesn’t have the community around it that Heroku does).

    Then, I just had to have communications between my two rails apps.

    I know it’s not the best/scalable/elegant fix, but it got the job done, and that’s what matters in the end!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My Rails app is hosted on Heroku. I would like to have another server
I have a multi-tenant Rails app, hosted with Heroku at http://myapp.herokuapp.com . The tenants/accounts
I have a Rails app hosted in Heroku. If I go the the site
I have a rails application hosted on Heroku using a custom Domain. The application
I have a rails app that runs on Heroku using their standard postgres database
My Rails app mockup is up on Heorku and is using images hosted on
I have an operation in my Heroku-hosted Rails app that runs in a background
i have a working environment for my rails app hosted on vm. I'm using
for our rails 3 app, hosted at heroku, using haml (but not compass or
I have a Rails app hosted on Heroku. I have to do long backend

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.