# Could not read Username for privately hosted Gtilab instance

**URL:** <https://drone.discourse.group/t/could-not-read-username-for-privately-hosted-gtilab-instance/13335>\
**Category:** Drone Support\
**Tags:** git-clone\
**Created:** [February 3, 2023, 1:05pm UTC](https://drone.discourse.group/t/could-not-read-username-for-privately-hosted-gtilab-instance/13335 "2023-02-03T13:05:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mudasirmirza](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/mudasirmirza/32/8581_2.png) [@mudasirmirza](https://drone.discourse.group/u/mudasirmirza)\
**Post date:** [February 3, 2023, 1:05pm UTC](https://drone.discourse.group/t/could-not-read-username-for-privately-hosted-gtilab-instance/13335/1 "2023-02-03T13:05:37Z")

</div>

Hi all,

I am facing an error where drone is unable to clone repo from private hosted Gitlab Server

`fatal: could not read Username for '` `https://<GITLAB FQDN>` `': terminal prompts disabled`.

I have set `DRONE_GIT_ALWAYS_AUTH` as `true` on the drone server but still the same  
I have also tried setting up the `DRONE_GIT_USERNAME` and `DRONE_GIT_PASSWORD` env vars, still the same error.  
I have tried running pipeline on both `Docker` and `kubernetes` runner and its the same error.  
I am running Drone Server and Runner on `EKS` on AWS and have installed `AWS ECR` plugin also.  
I am not sure how to even start debugging this, any help will be appreciated.

Regards,  
Mudasir.
