Question: Can't connect for 3 days already, saing 'Failed to connect repositories' 

All access already granted and i'm repository owner 

Perhaps you know how to deal with that

EDIT: Bitbucked connected without any problem 

Thanks in advanced

[![enter image description here](https://i.stack.imgur.com/Ub35x.png)](https://i.stack.imgur.com/Ub35x.png)

Answer: 
Enabling the **sourcerepo.googleapis.com** API on the project solved it.
Based on your screenshot it looks like you were trying to connect to an organization repository. I was having the same problem with organization repositories but I managed to find a workaround (though, I am not sure how reliable it is so it is not guaranteed to work):

1. Go to your Github application settings (<https://github.com/settings/applications>)
2. Revoke access from Google Cloud Platform
3. Add a new repository to Cloud Source Repositories with *"connect external repository"* (<https://source.cloud.google.com/repo/new>)
4. Select a project
5. Select Github as a provider
6. Now it still has your Github account selected but GCP has no access to your repositories. Click *"connect a different account"* (but still use the same account)
7. Grant access to your repositories (and the organization repositories)
8. Select an organization repository and *"connect selected repository"*
9. GCP should now be able to mirror the repository