Hi all,
I’ve created a new App Platform app deploying a ruby on rails version. The app is fully deployed and database is all connected. However when I click on the app link the application does not load. Here the link: https://al-arqam-production-yq68i.ondigitalocean.app/
I’ve restarted the application, checked it’s running on port 8080. When I hit the url it doesn’t even show any errors or request calls in the log. So it looks like the url never reaches the application.
Any idea how i could resolve this please?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
To anyone else facing this issue, you need to go Settings -> Components -HTTP Request Routes -> and change Route Path to only a single forward slash /
Hey!
One thing that comes to my mind is to make sure your Rails app is binding to 0.0.0.0
on port 8080
, not just localhost
. Also check that your config.ru
or Procfile
(if using one) is correctly set to run the server.
In config/puma.rb
, try setting:
bind "tcp://0.0.0.0:8080"
Then redeploy.
Let me know how it goes.
- Bobby
Just deployed a brand new application and same probem.
using rails version 3.3.4
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.