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.
Looks like Google's service is buggy at the moment. When you attempt to connect it does a POST. I am having same issue.

On my end it attempts to post:

Request URL: 

`https://grimoire-pa.clients6.google.com/batch%24ct=multipart%2Fmixed%3B%20boundary%3Dbatch764066031442833345`

Request Method: `POST`
Status Code: `200` 
Remote Address: `172.217.15.202:443`

The response is a 503 error:

```
Content-Type: application/http
Content-ID: <response-batch764066031442833345+gapiRequest@googleapis.com>

HTTP/1.1 503 Service Unavailable
Vary: Origin
Vary: X-Origin
Vary: Referer
Content-Type: application/json; charset=UTF-8

{
  "error": {
    "code": 503,
    "message": "The service is currently unavailable.",
    "status": "UNAVAILABLE"
  }
}

--batch_C_zVap1Dhuz5adk2myfN4OrLwJOruXCd--

```