Deploying App Issue - Cannot Link GitHub Repo
chiomagrace
HOBBYOP

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?

Closed

47 Replies

chiomagrace
HOBBYOP

2 years ago

N/A


2 years ago

That's interesting


2 years ago

Where exactly did you click that lead to this page?


chiomagrace
HOBBYOP

2 years ago

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


chiomagrace
HOBBYOP

2 years ago

I will show you what I clicked before


chiomagrace
HOBBYOP

2 years ago

I clicked this:


chiomagrace
HOBBYOP

2 years ago

1304440676640886795


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


chiomagrace
HOBBYOP

2 years ago

This window pops up so then i click this:


chiomagrace
HOBBYOP

2 years ago

1304440923161362612


chiomagrace
HOBBYOP

2 years ago

Then i get the error I posted orginially


2 years ago

Tried from that page and still can't reproduce


chiomagrace
HOBBYOP

2 years ago

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


chiomagrace
HOBBYOP

2 years ago

i think it's working now!


2 years ago

oh cool, I figured so


2 years ago

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


chiomagrace
HOBBYOP

2 years 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


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


chiomagrace
HOBBYOP

2 years ago

haha glad i can unintentionally help :p


chiomagrace
HOBBYOP

2 years ago

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


2 years ago

All good, mind sharing your logs then?



chiomagrace
HOBBYOP

2 years 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

2 years ago

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


chiomagrace
HOBBYOP

2 years ago

1304444740661415936


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


chiomagrace
HOBBYOP

2 years ago

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



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:


chiomagrace
HOBBYOP

2 years ago

having a look


chiomagrace
HOBBYOP

2 years ago

quick question and sorry if this is silly


chiomagrace
HOBBYOP

2 years 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?


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


chiomagrace
HOBBYOP

2 years ago

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


chiomagrace
HOBBYOP

2 years ago

yeah same error


chiomagrace
HOBBYOP

2 years ago


2 years ago

I think your repo is private


chiomagrace
HOBBYOP

2 years ago

adjusted! sorry


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


chiomagrace
HOBBYOP

2 years ago

that was it!!


chiomagrace
HOBBYOP

2 years ago

thanks soo much


2 years ago

Awesome, happy to help 🙂


chiomagrace
HOBBYOP

2 years ago

Have a great day! And thanks again🙂


2 years ago

You too!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...