2 months ago
After connecting a GitHub account to a Railway project, attempting to add services from private repositories results in a persistent "your github connection needs to be refreshed" error.
Steps to reproduce:
- Connect GitHub account to Railway project (via Integrations → GitHub)
- Create a new service and select a private GitHub repo
- Attempt to deploy
Expected behavior: Service should deploy from the private repo without requiring repeated reconnections.
Actual behavior:
Error: "your github connection needs to be refreshed"
- Disconnecting and reconnecting the GitHub account does not resolve the issue
- The GitHub account is properly authorized and has access to the repos
- Clicking the connection link works, but the error persists in the service creation flow
Environment:
- Private GitHub repos, but have same setup in another project
- Of all GitHub repos, 2 only show up, others not searchable
- Both repos are accessible when visiting GitHub directly via the link in railway
- GitHub account has full access to both repos
1 Replies
2 months ago
The "your github connection needs to be refreshed" error and only 2 repos being visible typically means the GitHub App installation needs its repository access updated. Go to https://github.com/settings/installations, find the Railway app, click "Configure", and ensure it has access to all the repositories you want to deploy from (either "All repositories" or explicitly select the missing ones). After updating, disconnect and reconnect your GitHub account in your Railway account settings at https://railway.com/account to fully re-sync the connection.
Status changed to Awaiting User Response Railway • about 2 months ago
a month 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 • about 1 month ago