Could not read Username

Hello,I’m doing CI with Drone and Gogs.
My Drone docker-compose.yml setup:
version: ‘2’

services:
drone-server:
image: drone/drone:0.8

ports:
  - 8000:8000
  - 9000
volumes:
  - /var/lib/drone:/var/lib/drone:Z
restart: always
environment:
  - DRONE_OPEN=true
  - DRONE_GOGS_PRIVATE_MODE=true
  - DRONE_GIT_ALWAYS_AUTH=true
  - DRONE_HOST=http://${DRONE_HOST}
  - DRONE_GOGS=true
  - DRONE_GOGS_URL=http://${DRONE_HOST}:10080
  - DRONE_SECRET=${DRONE_SECRET}
  - DRONE_MAX_PROCS=10
  - DRONE_GIT_USERNAME=hehanyao
  - DRONE_GIT_PASSWORD=123456

drone-agent:
image: drone/agent:0.8

restart: always
depends_on:
  - drone-server
volumes:
  - /var/run/docker.sock:/var/run/docker.sock:Z
environment:
  - DRONE_SERVER=drone-server:9000
  - DRONE_SECRET=${DRONE_SECRET}

networks:
default:
external:
name: gfloan

When I pushed respository ,it showed me
git init
Initialized empty Git repository in /drone/test/.git/
git remote add origin http://10.0.0.55:10080/hehanyao/app.git
git fetch --no-tags origin +refs/heads/master:
fatal: could not read Username for ‘http://10.0.0.55:10080’: No such device or address
time=“2019-05-09T01:55:20Z” level=fatal msg=“exit status 128”

I am already try in a ubuntu container to cloned the repository,it must use the username and password to login,but the netword is no problem.

How can I fix this problem,think you!

Please search this forum for "could not read Username" errors. You should find some existing threads [1][2] to help resolve this issue. Also I recommend using Drone 1.0… the 0.8 version is outdated and is not recommended for new installations.

[1] http://discuss.harness.io/search?q=could%20not%20read%20Username
[2] Gitea/Gogs - Git - No such device or address - Debugging

Thank you ! I had try to search “could not read Username” before ,but I thinked this error was some different .Now I will try drone-1.0.Thank you for you help.