. Advertisement .
..3..
. Advertisement .
..4..
The error: “The unauthenticated git protocol on port 9418 is no longer supported.” is a common error that can show up in many ways. In this blog, we will go through some of the ways you can fix this issue. Read on.
How To Solve The Error: “The unauthenticated git protocol on port 9418 is no longer supported.”?
Sometimes, your github deployment may fail with the error below.
fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported.
Simply use https://github.com instead of git://github.com to resolve this error. Your problem must now be resolved. The second option is to simply locate the git:// address in your package.json file and substitute it with github:. Like this: git://github.com/…… Substitute github:. Your problem must now be solved.
This issue could be caused by GitHub’s newest Improving Git protocol security, which was launched on January 11, 2022 Final brownout. Setting the url to globally before installing is another simple approach. git config –global url.”https://”.insteadOf git:// is the command to utilize. Your problem must now be solved.
Approach 1: Simply Use The Following Command
This issue could be caused by GitHub’s newest Improving Git protocol security, which was launched on January 11, 2022 Final brownout.
This is the whole brownout period, during which they will start refusing deprecated key and signature types, ciphers, and MACs, as well as the unencrypted Git protocol. It will assist clients in identifying any residual use of outdated keys and URLs.
Before installing, simply change the link to worldwide. Execute the following command.
git config --global url."https://".insteadOf git://
Your problem must now be solved.
Approach 2: Instead of git://github.com, use https://github.com
Simply try using:
instead of:
git://github.com
Your problem must now be solved.
Approach 3: Simply edit the following line in Package.json file
Simply substitute git:// url in your package.json file with github:. It’s similar to this.
Old
git://github.com/……
New
github:…..
Approach 4: Use the following command
To tell git to utilize https instead of ssh whenever it meets it, simply run the following command.
git config --global url."https://github.com/".insteadof [email protected]:
Your problem must now be solved.
Conclusion
We hope you enjoyed our article about the error. With this knowledge, we know that you can fix your error: “The unauthenticated git protocol on port 9418 is no longer supported.” quickly by following these steps! If you still have any other questions about fixing this syntax error, please leave a comment below. Thank you for reading!
Leave a comment