Trouble Connecting GitHub Repository to Railway
auditorbullet
FREEOP

8 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

33 Replies

8 months ago

N/A


8 months ago

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


auditorbullet
FREEOP

8 months ago

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


8 months ago

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


auditorbullet
FREEOP

8 months ago

it is in my personal account


auditorbullet
FREEOP

8 months ago

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


8 months ago

that would be useful 🙏


auditorbullet
FREEOP

8 months ago


auditorbullet
FREEOP

8 months ago

If it's my mistake, forgive me 🙏


8 months ago

I see only one repo appearing - HadesBOT

1388943939175710700


8 months ago

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

1388944052354814200


8 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

8 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.


8 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

8 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.


8 months ago

oh alright, sorry for my confusion then


8 months ago

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

1388948867218804700


8 months ago

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


8 months ago

I just want to make sure I understand correctly


auditorbullet
FREEOP

8 months ago

yes


8 months ago

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


auditorbullet
FREEOP

8 months ago

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


8 months ago

!t


8 months ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response dev 8 months ago


8 months ago

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


auditorbullet
FREEOP

8 months ago

ok! thank you!


8 months ago

no worries, thank you for your patience 🙏


tamata-data
FREE

8 months ago

I have the same problem


auditorbullet
FREEOP

8 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

8 months ago

hold the repository button to select it


auditorbullet
FREEOP

8 months ago

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


8 months ago

oh cool, glad you got it figured out


8 months ago

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


8 months ago

!s


Status changed to Solved dev 8 months ago


Loading...