Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error]fatal: could not read Username #26

Closed
jinzishuai opened this issue Aug 29, 2019 · 13 comments
Closed

[error]fatal: could not read Username #26

jinzishuai opened this issue Aug 29, 2019 · 13 comments

Comments

@jinzishuai
Copy link

Hi there,

Without changing anything, my github actions stopped working last night and I got an error of

##[error]fatal: could not read Username for 'https://github.com': terminal prompts disabled

Does anyone know what is wrong here?

Thank you
Shi

@TingluoHuang
Copy link
Member

@jinzishuai any link to your check run or repository?
the error means getting 401 from github.com

@jinzishuai
Copy link
Author

@TingluoHuang thank you but my repo is a private one so I cannot share that.
But here is a screenshot of what I got.
image

@jinzishuai
Copy link
Author

magically it is working again. Maybe just some cloud infrastructure problem.

@TingluoHuang
Copy link
Member

@jinzishuai did you generate a new PAT token for the checkout action?

@jinzishuai
Copy link
Author

@TingluoHuang I did try with a newly generated PAT token but that didn't help.
Then half a day later, it started to work again.

@aaemnnosttv
Copy link

Seeing this today when checking out a wiki for a public repo:

https://github.com/google/site-kit-wp/pull/1168/checks?check_run_id=484311428

Seems like a fluke since this works fine on other runs.

@Akrog
Copy link

Akrog commented Apr 24, 2020

@ericsciple
Copy link
Contributor

@Akrog see this issue: #221

@Akrog
Copy link

Akrog commented Apr 27, 2020

@ericsciple Thanks, you are right. The token was revoked and I hadn't noticed. 😅

@midhuntp
Copy link

@ericsciple Thanks, Same here also

@HendrikKlug-synthara
Copy link

I'm having the same problem, all of a sudden the actions stopped working with the same error (since its a private repo I cannot share the link):
image

The actions were running fine with the organisation secret, which I tried updating but the error persisted:
image

The relevant part in the workflow config is:

    steps:
      - uses: actions/checkout@v2

      - name: Checkout M-WDG-Chassis
        uses: actions/checkout@v2
        with:
          repository: synthara/M-WDG-Chassis
          token: ${ secrets.PERSONAL_ACCESS_TOKEN }
          path: M-WDG-Chassis
          ref: development

Is there anything I'm doing wrong here?

@tykling
Copy link

tykling commented Jun 1, 2022

I'm having the same problem

So, my turn, all our CI broke and I am getting nowhere, did you ever solve this? The trouble began when I deleted the org token we are using for checking out dependencies in CI jobs. I created the token again soon after but still all CI jobs fail with the error in the screenshot above. It has been a couple of days now, we really need a solution

@midhuntp
Copy link

midhuntp commented Jun 2, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants