Docker Community Forums

Share and learn in the Docker community.

Repo won't clone from Bitbucket (used to work) - fatal: could not read Username for 'https://bitbucket.org'


(Juanjointopalo) #1

Hi guys,

I have my docker cloud linked to my bitbucket account.
Whenever my automatic build is triggered I get:

Building in Docker Cloud's infrastructure...
Cloning into '.'...
fatal: could not read Username for 'https://bitbucket.org': No such device or address
please ensure the correct public key is added to the list of trusted keys for this repository and the remote branch exists. (128)
ERROR: Build failed: please ensure the correct public key is added to the list of trusted keys for this repository and the remote branch exists. (128)
ERROR: Build failed with exit code 2
ERROR: Build in 'master' (ba62e068) failed in 0:00:31

Is this produced by https://github.com/docker/hub-feedback/issues/213?? Is there any workaround?

I’ve tried reconnecting to bitbucket and re-saving the build (I can’t find how to remove it without removing the whole repo) but no luck.

Any help is highly appreciated.