Trouble Connecting GitHub Repository to Railway
auditorbullet
FREEOP

5 months 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

1 Replies

dev
MODERATOR

5 months ago

N/A


dev
MODERATOR

5 months ago

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


auditorbullet
FREEOP

5 months ago

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


dev
MODERATOR

5 months ago

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


auditorbullet
FREEOP

5 months ago

it is in my personal account


auditorbullet
FREEOP

5 months ago

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


dev
MODERATOR

5 months ago

that would be useful 🙏


auditorbullet
FREEOP

5 months ago


auditorbullet
FREEOP

5 months ago

If it's my mistake, forgive me 🙏


dev
MODERATOR

5 months ago

I see only one repo appearing - HadesBOT

1388943939175710700


dev
MODERATOR

5 months ago

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

1388944052354814200


dev
MODERATOR

5 months 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

5 months 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.


dev
MODERATOR

5 months 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

5 months 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.


dev
MODERATOR

5 months ago

oh alright, sorry for my confusion then


dev
MODERATOR

5 months ago

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

1388948867218804700


dev
MODERATOR

5 months ago

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


dev
MODERATOR

5 months ago

I just want to make sure I understand correctly


auditorbullet
FREEOP

5 months ago

yes


dev
MODERATOR

5 months ago

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


auditorbullet
FREEOP

5 months ago

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


dev
MODERATOR

5 months ago

!t


dev
MODERATOR

5 months ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response dev 5 months ago


dev
MODERATOR

5 months ago

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


auditorbullet
FREEOP

5 months ago

ok! thank you!


dev
MODERATOR

5 months ago

no worries, thank you for your patience 🙏


tamata-data
FREE

5 months ago

I have the same problem


auditorbullet
FREEOP

5 months 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

5 months ago

hold the repository button to select it


auditorbullet
FREEOP

5 months ago

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


dev
MODERATOR

5 months ago

oh cool, glad you got it figured out


dev
MODERATOR

5 months ago

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


dev
MODERATOR

5 months ago

!s


Status changed to Solved dev 5 months ago


Loading...