[Solved] The unauthenticated git protocol on port 9418 is no longer supported

Github Sharif Ahmed

Problem:

While working on a project while I tried to deploy it Github showed an error saying,

fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported


Solution:

This issue occurred as a result of GitHub's most recent Improving Git protocol security, which was released on January 11, 2022, Final brownout. Github says,

This is the full brownout period where we’ll temporarily stop accepting the deprecated key and signature types, ciphers, MACs, and the unencrypted Git protocol. This will help clients discover any lingering use of older keys or old URLs.

In this article, we are going to discuss the possible solutions to the error.


Run the following command globally before installing your packages. This command will replace your URLs from git:// to https://

git config --global url."https://".insteadOf git://

Hope this command will solve the problem. Let us know if you face any problem.