Git username and password has updated to token
See original GitHub issueOutput of the ue4-docker info
command:
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "/usr/local/bin/ue4-docker", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/ue4docker/main.py", line 112, in main
COMMANDS[command]["function"]()
File "/usr/local/lib/python3.8/dist-packages/ue4docker/info.py", line 42, in info
_formatSize(shutil.disk_usage(rootDir).free)
File "/usr/lib/python3.8/shutil.py", line 1258, in disk_usage
st = os.statvfs(path)
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/docker'
Additional details:
- Are you accessing the network through a proxy server? No
Running “ue4-docker build 4.27.2” I got the following after entering the deprecated Git username and password
=> ERROR [ 4/13] RUN mkdir /home/ue4/UnrealEngine && cd /home/ue4/UnrealEngine && git init && git remote add 1.9s
------
> [ 4/13] RUN mkdir /home/ue4/UnrealEngine && cd /home/ue4/UnrealEngine && git init && git remote add origin "https://github.com/EpicGames/UnrealEngine.git" && git fetch --progress --depth 1 origin "4.27.2-release" && git checkout FETCH_HEAD && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo 'Note that for large filesystem layers this can take quite some time.' && echo 'Performing filesystem layer commit...' && echo '':
#8 0.539 Initialized empty Git repository in /home/ue4/UnrealEngine/.git/
#8 1.874 remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
#8 1.874 remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
#8 1.874 fatal: Authentication failed for 'https://github.com/EpicGames/UnrealEngine.git/'
Is there any way to go around this?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Updating your GitHub access credentials
Enter the email address associated with your account on GitHub.com, then click Send password reset email. · We'll email you a link that...
Read more >Authenticate with GitHub using a token - Stack Overflow
First I used this one git remote set-url origin https://[TOKEN]@git.mycompany.com/[ORGANIZATION]/[REPO].git , it just worked for git pull, but when I ran ...
Read more >How to Change Your GitHub Remote Authentication ... - Medium
Go to https://github.com/settings/tokens and Log In; Click “Generate new token”, and then confirm your password. 3. Add a token name (you ...
Read more >How to update git (remote) to use Github personal access ...
Easiest way to update your Github git remote from using password to using personal access token. As announced by Github, by 13th August...
Read more >How to Fix Support for password authentication was removed ...
In July 2020, GitHub announced their intent to require users to use token-based authentication in order to perform certain (authenticated) Git ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Note to maintainers (including me…) https://docs.adamrehn.com/ue4-docker/building-images/advanced-build-options#specifying-git-credentials still says
and we should update that as it is now (since August 2021) true for all GitHub users on https, not just 2FA users.
Ok. Thanks.