Trouble Connecting GitHub Repository to Railway
auditorbullet
FREEOP

a year ago

Hello!

im mobile and I'm trying to migrate my Discord bot (Python) from Replit to Railway for 24/7 hosting.

I pushed my updated code to GitHub and set up the Procfile, requirements.txt, and main.py as recommended for Railway deployment.

However, when I try to connect my GitHub repo on Railway, it keeps asking me to “Configure GitHub App,” even though all permissions are given, and the repo is accessible.

I’ve tried clearing my browser cache, switching browsers/devices, revoking and reconnecting the Railway GitHub App, and making sure I’m logged in with the correct account, but nothing works.

How can I fix this and deploy my bot?

Thank you!

Solved

33 Replies

a year ago

N/A


a year ago

Is the GitHub repo under your GitHub account or an org?


auditorbullet
FREEOP

a year ago

My repository is on Github, and when I create it, it appears that it has access.


a year ago

where on GitHub though, is it under your personal account or an organization?


auditorbullet
FREEOP

a year ago

it is in my personal account


auditorbullet
FREEOP

a year ago

If you want I can provide image or a simple video to show.


a year ago

that would be useful 🙏


auditorbullet
FREEOP

a year ago


auditorbullet
FREEOP

a year ago

If it's my mistake, forgive me 🙏


a year ago

I see only one repo appearing - HadesBOT

1388943939175710730


a year ago

later in the video I can see why only that service is appearing, it only has HadesBOT selected

1388944052354814093


a year ago

Selecting All Repositories will let Railway list all your repos, otherwise if you dont want that then you'd need to add the repo you want through Select Repisitories


auditorbullet
FREEOP

a year ago

In my personal account, I have only one repository, and it contains all the necessary files as I mentioned before. At first, I gave access to only that specific repository in the Railway GitHub App settings, but the deployment did not work. Then, as a test, I changed the setting to all repositories to see if it would make a difference, but I still couldn't deploy.

So, even though Railway has access to my only repository and all permissions are set, the deployment is still not happening. This makes me think the issue is not related to repository selection or permissions, but something else with the integration or deployment process.


a year ago

at first you said:

However, when I try to connect my GitHub repo on Railway, it keeps asking me to “Configure GitHub App,”

-# But i can see from your video that your application is listed and you can deploy from there

but now you're saying:

but the deployment did not work

so what is the actual root level problem you're facing then?

is your deployment failing to build?


auditorbullet
FREEOP

a year ago

Srry if I wasn’t clear before! The main problem is that when I try to connect my GitHub repo on Railway, it always asks me to “Configure GitHub App”, even though I already set all the permissions and selected the repository. I even tried choosing all repositories just to be sure, but Railway still keeps showing the same configuration screen and never actually gets to the deployment part.

So the issue isn’t that the deployment is failing to build — it’s that I can’t even get to the deployment step, because it just keeps looping back to the “Configure GitHub App” screen every time.


a year ago

oh alright, sorry for my confusion then


a year ago

just to so I'm sure, when you click here (see image)

1388948867218804736


a year ago

it's sending you to the Configure GitHub App screen?


a year ago

I just want to make sure I understand correctly


auditorbullet
FREEOP

a year ago

yes


a year ago

Alright, yea something is funny here, I'll flag the team


auditorbullet
FREEOP

a year ago

When I click on my repository I am taken to the configuration screen


a year ago

!t


a year ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response dev 11 months ago


a year ago

heads up, it is Sunday, so you might have to wait til Monday or Tuesday before the team can help


auditorbullet
FREEOP

a year ago

ok! thank you!


a year ago

no worries, thank you for your patience 🙏


tamata-data
FREE

a year ago

I have the same problem


auditorbullet
FREEOP

a year ago

rag I managed to resolve my situation!

the problem I faced is that when selecting the repository I have to hold it.


auditorbullet
FREEOP

a year ago

hold the repository button to select it


auditorbullet
FREEOP

a year ago

In other words, it was never a bug, it was always my mistake!

forgive me!


a year ago

oh cool, glad you got it figured out


a year ago

I'll go ahead and mark this as solved then so the team doesn't go on a wild goose chase here


a year ago

!s


Status changed to Solved dev 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...