# Help me figure out: fatal: could not read Username for 'https://git.mydomain.tld': No such device or address

**URL:** <https://drone.discourse.group/t/help-me-figure-out-fatal-could-not-read-username-for-https-git-mydomain-tld-no-such-device-or-address/9846>\
**Category:** Drone Support\
**Created:** [September 24, 2017, 9:46pm UTC](https://drone.discourse.group/t/help-me-figure-out-fatal-could-not-read-username-for-https-git-mydomain-tld-no-such-device-or-address/9846 "2017-09-24T21:46:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prologic](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/prologic/32/3885_2.png) [@prologic](https://drone.discourse.group/u/prologic)\
**Post date:** [September 24, 2017, 9:46pm UTC](https://drone.discourse.group/t/help-me-figure-out-fatal-could-not-read-username-for-https-git-mydomain-tld-no-such-device-or-address/9846/1 "2017-09-24T21:46:05Z")

</div>

I reported this issue a few weekends ago in the Gitter channel (_seems to be gone now?_)

I’ve upgraded to the latest drone and gitea images and keep running into:

```
+ git init
0s
2
Initialized empty Git repository in /drone/src/git.mydomain.tld/prologic/hello-go/.git/
0s
3
+ git remote add origin https://git.mydomain.tld/prologic/hello-go.git
0s
4
+ git fetch --no-tags origin +refs/heads/master:
0s
5
fatal: could not read Username for 'https://git.mydomain.tld': No such device or address
0s
6
exit status 128

```

Looks like there are other folks running in to this. The repo is private and I seem to recall some discussions around this functionality breaking in gitea somewhere but I haven’t a clue how to help debug this.

Please help me help Drone fix this!

---

<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:** [September 25, 2017, 12:07am UTC](https://drone.discourse.group/t/help-me-figure-out-fatal-could-not-read-username-for-https-git-mydomain-tld-no-such-device-or-address/9846/2 "2017-09-25T00:07:26Z")

</div>

The issue was that Gitea introduced a regression in their codebase (or possibly a breaking change that makes it incompatible with drone). Drone continues to work with Gogs and others. This is the referenced Gitea discussion:

[http://discuss.harness.io/t/cannot-clone-private-gitea-repo-could-not-read-username-for-0-8-0-rc-3-gitea-1-2-0-rc2/624/6](http://discuss.harness.io/t/cannot-clone-private-gitea-repo-could-not-read-username-for-0-8-0-rc-3-gitea-1-2-0-rc2/624/6)

See [this comment](http://discuss.harness.io/t/cannot-clone-private-gitea-repo-could-not-read-username-for-0-8-0-rc-3-gitea-1-2-0-rc2/624/3) where the author reports that x-oauth-basic credentials no longer work. Note that this worked in previous versions and continues to work with gogs. This is what leads me to believe it is a Gitea change or regression.

If you don’t mind, let’s continue this discussion in the [original thread](http://discuss.harness.io/t/cannot-clone-private-gitea-repo-could-not-read-username-for-0-8-0-rc-3-gitea-1-2-0-rc2/624/6)

---

<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:** [September 25, 2017, 12:10am UTC](https://drone.discourse.group/t/help-me-figure-out-fatal-could-not-read-username-for-https-git-mydomain-tld-no-such-device-or-address/9846/3 "2017-09-25T00:10:32Z")

</div>

Closed on September 25, 2017, 12:10am UTC


