Deploying App Issue - Cannot Link GitHub Repo
chiomagrace
HOBBYOP

a year 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

chiomagrace
HOBBYOP

a year ago

N/A


a year ago

That's interesting


a year ago

Where exactly did you click that lead to this page?


chiomagrace
HOBBYOP

a year ago

I've never seen it before. I was trying to connect my repo


chiomagrace
HOBBYOP

a year ago

I will show you what I clicked before


chiomagrace
HOBBYOP

a year ago

I clicked this:


chiomagrace
HOBBYOP

a year ago

1304440676640886800


a year ago

let me see if I can reproduce


a year ago

I can't, probably because I have my GitHub connected already and you didn't


chiomagrace
HOBBYOP

a year ago

This window pops up so then i click this:


chiomagrace
HOBBYOP

a year ago

1304440923161362700


chiomagrace
HOBBYOP

a year ago

Then i get the error I posted orginially


a year ago

Tried from that page and still can't reproduce


chiomagrace
HOBBYOP

a year ago

It seems it wanted me to authroize github account, and i had to do it a different way


a year ago

Could you check if your GitHub is connected in your [account settings]()


chiomagrace
HOBBYOP

a year ago

i think it's working now!


a year ago

oh cool, I figured so


a year ago

Did you go through your account settings to connect your GitHub then?


chiomagrace
HOBBYOP

a year ago

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


a year 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


chiomagrace
HOBBYOP

a year ago

haha glad i can unintentionally help :p


chiomagrace
HOBBYOP

a year ago

i did have an error in my build if you're still free?


a year ago

All good, mind sharing your logs then?



chiomagrace
HOBBYOP

a year ago

yes sorry forgot how to do this… the link is in my bookmark, but how do i get the deploy log in there again?


chiomagrace
HOBBYOP

a year ago

the error is here in a screenshot while i try to remember


chiomagrace
HOBBYOP

a year ago

1304444740661416000


a year ago

You just go to your build logs and click the bookmark


a year 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


chiomagrace
HOBBYOP

a year ago

the app deployed, but it isn't visible, so i assumed so



a year ago

if the app is running but you're getting application failed to respond then it could just be misconfiguration
this might help:


chiomagrace
HOBBYOP

a year ago

having a look


chiomagrace
HOBBYOP

a year ago

quick question and sorry if this is silly


chiomagrace
HOBBYOP

a year ago

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?


a year 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


chiomagrace
HOBBYOP

a year ago

okay! i did do that, but mayvbe mine wasn't updated for angular 17. trying now!!


chiomagrace
HOBBYOP

a year ago

yeah same error


chiomagrace
HOBBYOP

a year ago


a year ago

I think your repo is private


chiomagrace
HOBBYOP

a year ago

adjusted! sorry


a year 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


chiomagrace
HOBBYOP

a year ago

that was it!!


chiomagrace
HOBBYOP

a year ago

thanks soo much


a year ago

Awesome, happy to help 🙂


chiomagrace
HOBBYOP

a year ago

Have a great day! And thanks again🙂


a year ago

You too!


Loading...