Deploying App Issue - Cannot Link GitHub Repo
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?
33 Replies
Project ID:
N/A
N/A
That's interesting
Where exactly did you click that lead to this page?
I've never seen it before. I was trying to connect my repo
I will show you what I clicked before
I clicked this:
let me see if I can reproduce
I can't, probably because I have my GitHub connected already and you didn't
This window pops up so then i click this:
Then i get the error I posted orginially
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
Could you check if your GitHub is connected in your account settings
i think it's working now!
oh cool, I figured so
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
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
haha glad i can unintentionally help :p
i did have an error in my build if you're still free?
All good, mind sharing your logs then?
https://bookmarklets.up.railway.app/log-downloader/
yes sorry forgot how to do this... the link is in my bookmark, but how do i get the deploy log in there again?
the error is here in a screenshot while i try to remember
You just go to your build logs and click the bookmark
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
the app deployed, but it isn't visible, so i assumed so
https://angular-app-frontend-production-d84c.up.railway.app/
if the app is running but you're getting application failed to respond then it could just be misconfiguration
this might help: https://docs.railway.app/guides/fixing-common-errors#application-failed-to-respond
having a look
quick question and sorry if this is silly
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?
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 gookay! i did do that, but mayvbe mine wasn't updated for angular 17. trying now!!
yeah same error
here's my github repo: https://github.com/ChiomaGrace/inRhythmAssessment/tree/main
I think your repo is private
adjusted! sorry
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 repothat was it!!
thanks soo much
Awesome, happy to help 🙂
Have a great day! And thanks again🙂
You too!