Unable to access app through the browser
mrbryant2761
PROOP

7 months ago

I have successfully deployed my app, and it is running, but I can't access it through the URL that railway has supplied using an edge browser. Tried with a second really simple app and am getting the same. The build and deploy logs are showing success, but no joy.

Solved$10 Bounty

14 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


7 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 7 months ago


7 months ago

What kind of app is this? Web, Rest APIs ?
which framework did you use? Node/Express.js, Python etc?


clashing
HOBBY

7 months ago

If there are no build/deploy errors, then most probably, a wrong port has been mapped to the public-networking URL. Make sure that the target port is the same as what you defined in your server file

Also, can you please check the HTTP logs?


Moreover, the best thing to solve this issue is to use "healthcheckup" to see whether the routing of the server is okay or not, and if it fails, it give you the build error. You can check out my post on the same issue: https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w

I hope that helps, & if not, please provide more context for the issue


clashing

If there are no build/deploy errors, then most probably, a wrong port has been mapped to the public-networking URL. Make sure that the target port is the same as what you defined in your server fileAlso, can you please check the HTTP logs?Moreover, the best thing to solve this issue is to use "healthcheckup" to see whether the routing of the server is okay or not, and if it fails, it give you the build error. You can check out my post on the same issue: https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2wI hope that helps, & if not, please provide more context for the issue

clashing
HOBBY

7 months ago

And also, if you are using your defined port number, then remember to expose it in the Dockerfile (if you are using one)

# Expose the port the app runs on
EXPOSE 7890

Change it with your port number


clashing

And also, if you are using your defined port number, then remember to expose it in the Dockerfile (if you are using one)# Expose the port the app runs on EXPOSE 7890Change it with your port number

clashing
HOBBY

7 months ago

Any update, Bryant?


clashing
HOBBY

7 months ago

Is there any other roadblock, mrbryant2761


mrbryant2761
PROOP

7 months ago

I've followed all of the advice here and am still having intermittent issues with deployment. Have posted a new request with much more information provided.


mrbryant2761

I've followed all of the advice here and am still having intermittent issues with deployment. Have posted a new request with much more information provided.

mrbryant2761
PROOP

7 months ago

Thank you for providing these ideas. Another observation is that twice now I have revisited the issue in the morning after deploying the previous evening and it is suddenly working. However, deploying an update brought it down again and the update was actually no code change - just checking the deployment process.


clashing
HOBBY

7 months ago

Hi mrbryant2761, it seems that the issue with your deployment is that you have not configured the public networking for it. Select the desired service, go to Settings -> Public Networking -> Public. If this does not contain an already-existing link, then click on GENERATE DOMAIN so that you can get a public-facing URL that you can use to visit your server.


mrbryant2761
PROOP

7 months ago

The link has already been generated. I couldn't attempt to view it from a browser if there was no link. But thanks for your thoughts.


clashing
HOBBY

7 months ago

Oh, I thought you were trying to use the internal URL itself.


clashing
HOBBY

7 months ago

Btw, what sort of a server/app is this, and can you please provide the initial configuration of the server/app as screenshots?

And if it is a server, then does it serve a default route "/"?


clashing

Btw, what sort of a server/app is this, and can you please provide the initial configuration of the server/app as screenshots?And if it is a server, then does it serve a default route "/"?

mrbryant2761
PROOP

7 months ago

You can find that information in this thread: https://station.railway.com/questions/railway-load-balancer-dns-routing-issue-9409710a. I should have kept this thread running rather than to start a new one - just didn't think of it.


mrbryant2761

You can find that information in this thread: https://station.railway.com/questions/railway-load-balancer-dns-routing-issue-9409710a. I should have kept this thread running rather than to start a new one - just didn't think of it.

mrbryant2761
PROOP

7 months ago

Taht was the issue for sure! Thanks a bunch for the assist. This has been showing progress for a few days now.


Status changed to Solved brody 7 months ago


Loading...