Mirroring remote repos

I have an Azure Devops repo which and in git lab I have created a linked project which should pull changes from the external repo and run gitlab pipelines every 10 minues or so.

There is an error message displayed where I should get a message saying the last pull was successful.
Pull mirroring failed just now.
And in Settings > repository >
2:fetch remote: “fatal: could not read Username for ‘https://dev.azure.com’: terminal prompts disabled\n”: exit status 128.

Hi, if authentication is required to access the repo, you need to put username/password or username:token in the url so:

https://username:password@dev.azure.com

if token, replace the password with the token to authenticate.

Hi Ian

The password is specified when the project is created, I have also added the user name and password to the URL but i get the same error message.

After a fair bit of searching, I found an issue for this posted recently. I posted a workaround there that appears to be working for me on GitLab EE 13.10.3:

Hello
We have the same problem. Our repo is hosted on TFS (on-premise Azure DevOps Server).
I created a new project by “Import project” option and choosed “Repository by URL”. And then tried to enter URL as:

https://tfs.ourcompany.com/xxx/xxx/xxx
username: aaa
password: bbb

https://aaa:bbb@tfs.ourcompany.com/xxx/xxx/xxx
username: (blank)
password: (blank)

But I always get error messages:

There is not a valid Git repository at this URL. If your HTTP repository is not publicly accessible, verify your credentials.

The repository could not be imported.
Error importing repository https://*****:*****@tfs.ourcompany.com/xxx/xxx/xxx into Borekss/test1 - 13:creating repository: cloning repository: exit status 128, stderr: “fatal: could not read Username for [FILTERED] terminal prompts disabled\n”.

“aaa” is the domain account with priviledges to that particulary project. URL with username and pass works in browser.

Workaround mentioned in the previous post is for slightly different situation.

Can anyone please help us how to connect to TFS?