2 years ago
Hi! I am looking for some help trying to deploy my app usingRailway. I am trying to connect my empty serivice to my GitHub Repo, but when I do this I receive this error? Can some assist please?
47 Replies
2 years ago
That's interesting
2 years ago
Where exactly did you click that lead to this page?
2 years ago
let me see if I can reproduce
2 years ago
I can't, probably because I have my GitHub connected already and you didn't
2 years ago
Tried from that page and still can't reproduce
It seems it wanted me to authroize github account, and i had to do it a different way
2 years ago
Could you check if your GitHub is connected in your account settings
2 years ago
oh cool, I figured so
2 years ago
Did you go through your account settings to connect your GitHub then?
I tried to configure to Github Repo instead of starting with an empty service. Then it authorized it there. Thanks for trying to help me!! i appreciate it
2 years ago
Awesome, thank you for clarifying
I'll let the team know because this definitelly doesn't seem like intended behaviour 🤣
thanks for bringing this up
2 years ago
All good, mind sharing your logs then?
yes sorry forgot how to do this... the link is in my bookmark, but how do i get the deploy log in there again?
2 years ago
You just go to your build logs and click the bookmark
2 years ago
are you sure these are actual errors? it seems to me like it's just stderr instead of stdout which some apps do for some reason
2 years ago
if the app is running but you're getting application failed to respond then it could just be misconfiguration
this might help:
i am only trying to deploy the frotnend of an angular app. i didnt do/setup the backend(whichi i usually use nodejs/express for) so would that be an issue at all in deploying or shouldn't be related?
2 years ago
When deploying frontend only apps on Railway, you'd want to use some sort of reverse proxy to serve them properly like Caddy. Railway is not really technically equipped to properly serve static files
Try taking the nixpacks.toml and Caddyfile from this template and throw it into your project and you should be good to go
okay! i did do that, but mayvbe mine wasn't updated for angular 17. trying now!!
here's my github repo: https://github.com/ChiomaGrace/inRhythmAssessment/tree/main
2 years ago
I think your repo is private
2 years ago
No worries, I believe the issue is that your Angular app is embedded in the frontend folder, are you deploying your app from that folder? if so then you might need to place the nixpacks.toml and Caddyfile within that folder as well, otherwise you'd want to consider removing the files from frontend and placing them in the root of the repo
2 years ago
Awesome, happy to help 🙂
2 years ago
You too!


