close

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

Hello Guys, How are you all? Hope You all Are Fine. Today My Diployment fail with following error from github fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported Error Occurs ?

Today My Diployment fail with following error from github.

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

How To Solve fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported Error ?

  1. How To Solve fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported Error ?

    To Solve fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported Error You Just need to use https://github.com instead of git://github.com Now, Your isssue must be solved. Second Solution is Just Find git:// url in your package.json File and Replace it with github: Just like this: git://github.com/…… Replace with github: Now, Your error must be gone.

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

    To Solve fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported Error This error May occurs due to latest Improving Git protocol security on GitHub which was released on January 11, 2022 Final brownout. Simple solution is Before You Install Just Set url to globally to set url globally Run this command: git config –global url.”https://”.insteadOf git:// Now, Your error must be solved.

  3. The unauthenticated git protocol on port 9418 is no longer supported

    To Solve fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported Error You Just need to use https://github.com instead of git://github.com Now, Your isssue must be solved. Second Solution is Just Find git:// url in your package.json File and Replace it with github: Just like this: git://github.com/…… Replace with github: Now, Your error must be gone.

Solution 1: Just Run This Command

This error May occurs due to latest Improving Git protocol security on GitHub which was released on January 11, 2022 Final brownout.

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

Before You Install Just Set url to globally to set url globally Run this command.

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

Now, Your error must be solved.

Solution 2: Try https://github.com instead of git://github.com

Just Try to Use

https://github.com

instead of

git://github.com

Now, Your isssue must be solved.

Solution 3: Just Change this line in Package.json file

Just Find git:// url in your package.json File and Replace it with github: Just like this.

Old

git://github.com/......

New

github:.....

Solution 4: Run This Command

Just Run This Command to tell git to use https instead of ssh whenever it encounters it.

git config --global url."https://github.com/".insteadof git@github.com:

Now, Your error will be solved.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Leave a Comment