R
Railway•15mo ago
Faolain

Unable to connect service to a repo

I am deploying a service from scratch via an empty project through a source repo. The source repo is correctly identified but when I try to select a branch under Automatic Deployments in the Git Repository Section I encounter an endless spinner of "Connect Environment to Branch" after an error "Error: Creating service trigger Only a single deployment trigger is allowed per (environment, service) pair" I was wondering how to remedy this?
Solution:
Nvm solved, turns out the github app was suspended on the team but if Github can surface a better error (and relay it to railway) then would prevent issue of trying to find out if Railway is the root cause or elsewhere
Jump to solution
17 Replies
Percy
Percy•15mo ago
Project ID: 7b1d4989-a0d3-4bb1-98de-a5372becb82d
Faolain
FaolainOP•15mo ago
7b1d4989-a0d3-4bb1-98de-a5372becb82d
Faolain
FaolainOP•15mo ago
No description
Faolain
FaolainOP•15mo ago
When checking via graphql the deployment triggers it looks like it is currently set on the dev branch but I want to change the branch
No description
Brody
Brody•15mo ago
remove the repo and re-add it?
Faolain
FaolainOP•15mo ago
By doing this?
No description
Brody
Brody•15mo ago
yeah
Faolain
FaolainOP•15mo ago
Hmm now getting this
No description
Faolain
FaolainOP•15mo ago
(I did not change any permissions in this process) I am using a private repo but within an org that does have access (both myself/team)
Brody
Brody•15mo ago
well thats not ideal @Ray any idea?
Faolain
FaolainOP•15mo ago
any way to check what repos can be accessed per team? to doublecheck and ensure it's there?
Solution
Faolain
Faolain•15mo ago
Nvm solved, turns out the github app was suspended on the team but if Github can surface a better error (and relay it to railway) then would prevent issue of trying to find out if Railway is the root cause or elsewhere
Brody
Brody•15mo ago
i dont have a clue, sorry
Faolain
FaolainOP•15mo ago
No worries 🙂
Brody
Brody•15mo ago
ah glad you solved
Faolain
FaolainOP•15mo ago
maybe a suggestion would be to refresh on some interval or after a failure to remove the list of available repos from the list (because despite the app being suspended the repo was still a selectable option within railway) which can lead to the confusion of "well I see it in the list to choose from I must have permissions"
Brody
Brody•15mo ago
good feedback!
Want results from more Discord servers?
Add your server