automated CLI authentication is failing at the moment for both web-browser based authentication and personal access tokens #27878
Unanswered
NicerEnterprises
asked this question in
Code Security
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OS : Linux Kubuntu 22.04LTS, hardware: Core-i7 Intel CPU laptop.
problem :
automated CLI authentication is failing at the moment for both web-browser based authentication and personal access tokens..
i was used to using personal access tokens, and would like to use them again, have made a copy of that code onto paper, and i find it a bit easier to use than the web-browser based code.
ERROR LOG :
root@Magpie-nicer-dot-app:/home/gavan/Downloads# ls gh_*
gh_2.14.3_linux_386.deb
root@Magpie-nicer-dot-app:/home/gavan/Downloads# dpkg -i gh_2.14.3_linux_386.deb
(Reading database ... 271277 files and directories currently installed.)
Preparing to unpack gh_2.14.3_linux_386.deb ...
Unpacking gh:i386 (2.14.3) over (2.14.3) ...
Setting up gh:i386 (2.14.3) ...
Processing triggers for man-db (2.10.2-1) ...
root@Magpie-nicer-dot-app:/home/gavan/Downloads# gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Paste an authentication token
Tip: you can generate a Personal Access Token here https://github.com/settings/tokens
The minimum required scopes are 'repo', 'read:org', 'workflow'.
? Paste your authentication token: ****************************************
error validating token: Get "https://api.github.com/": dial unix /root/.ourproxy: connect: no such file or directory
root@Magpie-nicer-dot-app:/home/gavan/Downloads# gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Paste an authentication token
Tip: you can generate a Personal Access Token here https://github.com/settings/tokens
The minimum required scopes are 'repo', 'read:org', 'workflow'.
? Paste your authentication token: ****************************************
error validating token: Get "https://api.github.com/": dial unix /root/.ourproxy: connect: no such file or directory
root@Magpie-nicer-dot-app:/home/gavan/Downloads# gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Paste an authentication token
Tip: you can generate a Personal Access Token here https://github.com/settings/tokens
The minimum required scopes are 'repo', 'read:org', 'workflow'.
? Paste your authentication token: ****************************************
error validating token: Get "https://api.github.com/": dial unix /root/.ourproxy: connect: no such file or directory
root@Magpie-nicer-dot-app:/home/gavan/Downloads# gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Login with a web browser
! First copy your one-time code: FA65-CA92
Press Enter to open github.com in your browser...
/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: not found
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening 'https://github.com/login/device'
! Failed opening a web browser at https://github.com/login/device
exit status 3
Please try entering the URL in your browser manually
failed to authenticate via web browser: Post "https://api.github.com/graphql": dial unix /root/.ourproxy: connect: no such file or directory
root@Magpie-nicer-dot-app:/home/gavan/Downloads#
! !! !! PLEASE NOTE : !! !! !
This could be the result of cyberwarfare actions on my laptop, via a system i know as the rootkit for the popular civilian operating systems, operated by NATO's intelligence services (Dutch civilian & military intelligence, UK civilian and military intelligence, and of course the USA's versions of those, in particular the CIA.gov, who helped train me for over 20 years of ANTI-TERRORISM-RECRUITER work that i did since a few days after 2001-9-11).
For more information about my status as a peace activist (an US Independent, a Dutch GroenLinks.nl (Green Left.NL) voter), see my facebook pseudonym blog at https://facebook.com/gavanHoverswell and my personal account at https://facebook.com/rene.veerman.90
Other than my peacefan account at usmessageboard.com, i hold no other social media accounts (so just that 1 forum and the 2 fb accounts).
i am NOT anti-conservative or anti-Repbulican or anti-VVD.NL. let that be plenty clear :)
as a martial artist who never even had to throw punches back in anger (yes, i'm that well trained in the various super-secret, super-hard martial arts of the East (see my personal&public kungfu style video playlists at youtube via https://is.gd/cheetahkungfu), i know you'd best be nice & soft when you can, but hard as rock or water tumbling down a 200 feet waterfall when you can't be anything but hard.
and IF it is a rootkit-action, then it's temporary. and non-threatening to my local copies. i also have very recent SD-card backups, which i won't be updating, not even with WIFI turned off and the laptop operating on battery power only after a full shutdown and reboot (WIFI is never really turned off, not in an inner city with a well known laptop)
Beta Was this translation helpful? Give feedback.
All reactions