Drone don't get pulling repo

drone: v0.8.0-rc.4
gitea: v1.2.0-rc2

Repository don’t get pulling:

  • git init
    Initialized empty Git repository in /go/src/storage_play/.git/
  • git remote add origin http ://git…ru/dhalturin/storage_play.git
  • git fetch --tags origin +refs/tags/deploy:
    fatal: could not read Username for ‘https ://git…ru’: No such device or address
    exit status 128

journalctl -fu gitea:

Sep 12 22:38:46 milena gitea[25714]: pipeline:
Sep 12 22:38:46 milena gitea[25714]: build:
Sep 12 22:38:46 milena gitea[25714]: image: shmeks/jessie-git
Sep 12 22:38:46 milena gitea[25714]: secrets: [ private_key ]
Sep 12 22:38:46 milena gitea[25714]: commands:
Sep 12 22:38:46 milena gitea[25714]: - echo test deploy 123111
Sep 12 22:38:46 milena gitea[25714]: - cat /etc/issue
Sep 12 22:38:46 milena gitea[25714]: [Macaron] 2017-09-12 22:38:46: Completed /api/v1/repos/dhalturin/storage_play/raw/deploy/.drone.yml 200 OK in 139.557863ms
Sep 12 22:38:48 milena gitea[25714]: [Macaron] 2017-09-12 22:38:48: Started GET /dhalturin/storage_play.git/info/refs?service=git-upload-pack for 172.19.0.2
Sep 12 22:38:48 milena gitea[25714]: [Macaron] 2017-09-12 22:38:48: Completed /dhalturin/storage_play.git/info/refs?service=git-upload-pack 401 Unauthorized in 2.496991ms
Sep 12 22:38:48 milena gitea[25714]: [Macaron] 2017-09-12 22:38:48: Started GET /dhalturin/storage_play.git/info/refs?service=git-upload-pack for 172.19.0.2
Sep 12 22:38:49 milena gitea[25714]: [Macaron] 2017-09-12 22:38:49: Completed /dhalturin/storage_play.git/info/refs?service=git-upload-pack 401 Unauthorized in 107.572748ms

tail -f /var/log/gogs/gitea.log:

2017/09/12 22:36:21 [I] Git Version: 2.6.2
2017/09/12 22:36:21 [I] Run Mode: Development
2017/09/12 22:36:21 [I] Listen: http ://0.0.0.0:6000
2017/09/12 22:38:08 […routers/repo/http.go:177 HTTP()] [E] invalid credentials
2017/09/12 22:38:49 […routers/repo/http.go:177 HTTP()] [E] invalid credentials

Drone agent logs: https://paste.debian.net/985770/
Drone server logs: https://paste.debian.net/985769/

Please, help debugging it :sweat:

Please see Cannot clone private gitea repo (could not read Username for...) 0.8.0-rc.3, gitea 1.2.0-rc2

I believe this is a duplicate of that thread. The op has created an issue with the gitea project to further troubleshoot and provide guidance for how to proceed.

Oh, sorry. Thanks you for help, Brad!

no problem. once we get an update from gitea we’ll know how to proceed, and if we need to patch drone. cheers :slight_smile:

1 Like