Could not read Username for privately hosted Gtilab instance

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.