4 months ago
Description:
I'm trying to connect my GitHub repository to my Railway project but it's stuck in a redirect loop.
Issue:
1. Go to Railway service settings → click "Connect Repo"
2. Railway redirects to GitHub App configuration page
3. GitHub App shows correct permissions and repo is selected
4. Click Save → redirects back to GitHub config page instead of completing connection
5. Repeat infinitely - connection never completes
What works:
- railway link ✓
- railway up ✓
- GitHub App installed with correct permissions ✓
What doesn't work:
- Auto-deploy on git push (because repo connection never completes in UI)
I can provide project details privately if needed.
1 Replies
4 months ago
This is a known GitHub App connection flow issue we're tracking. The redirect loop happens when the GitHub App authorization and installation states get out of sync. Try this workaround: go to your Railway account settings, disconnect GitHub completely, then reconnect it. This should reset the connection state. After reconnecting, the repository should appear in the Connect Repo dropdown without needing the redirect flow. If you continue seeing the loop after this, let us know and we can investigate your specific account state.
Status changed to Awaiting User Response Railway • 4 months ago
3 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 3 months ago