# Cloning repos from bitbucket server

**URL:** <https://drone.discourse.group/t/cloning-repos-from-bitbucket-server/7417>\
**Category:** Drone Support\
**Created:** [February 12, 2018, 2:00am UTC](https://drone.discourse.group/t/cloning-repos-from-bitbucket-server/7417 "2018-02-12T02:00:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpayonk](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/dpayonk/32/3930_2.png) [@dpayonk](https://drone.discourse.group/u/dpayonk)\
**Post date:** [February 12, 2018, 2:00am UTC](https://drone.discourse.group/t/cloning-repos-from-bitbucket-server/7417/1 "2018-02-12T02:00:17Z")

</div>

In trying to start the build process from a bitbucket server, I’m receiving the following error. I think it may be to due to the bitbucket server settings for https, but I am having trouble debugging. I tried to override the clone step, but it also returned with a set of errors that said it could not find the image.

- git init  
Initialized empty Git repository in /drone/src/\*\*\*\*\*\*/browse/.git/
- git remote add origin \*\*\*\*
- git fetch --no-tags origin +refs/heads/master:  
fatal: unable to access ‘\*\*\*\*’: Failed to connect to [git.villagemd.com](http://git.villagemd.com) port 443: Host is unreachable  
exit status 128

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [February 12, 2018, 2:31am UTC](https://drone.discourse.group/t/cloning-repos-from-bitbucket-server/7417/2 "2018-02-12T02:31:07Z")

</div>

> [@On another topic](https://drone.discourse.group/t/1752/1):
>
> fatal: unable to access ‘\*\*\*\*’: Failed to connect to [git.villagemd.com](http://git.villagemd.com) port 443: Host is unreachable

Host is unreachable would indicate network configuration issues on your host machine. Please see this thread: [http://discuss.harness.io/t/couldnt-resolve-host-on-clone/281/7](http://discuss.harness.io/t/couldnt-resolve-host-on-clone/281/7)

> [@On another topic](https://drone.discourse.group/t/1752/1):
>
> but it also returned with a set of errors that said it could not find the image.

That would indicate they when trying to override the clone step, you did not include the `image` tag. See the following example for overriding the clone step: [https://docs.drone.io/pipeline/docker/syntax/cloning/](http://docs.drone.io/cloning/)
