Persistent Error: "your github connection needs to be refreshed"
growinguscoach-beep
HOBBYOP

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:

  1. Connect GitHub account to Railway project (via Integrations → GitHub)
  2. Create a new service and select a private GitHub repo
  3. 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
Solved

1 Replies

Railway
BOT

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


Railway
BOT

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...