title: Jenkins fails to connect to a remote repository
body: <p>In the "Source code management" settings of the configuration for my Jenkins I have added a Git repository by selecting its URL and credentials. For some reason, right after adding them I get a notification that says:</p>
  
  <p><a href="https://i.stack.imgur.com/0dSHQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0dSHQ.png" alt="enter image description here"></a></p>
  
  <p>Jenkins is running on a VM. When I navigate to Jenkins's workspaces and I locate my Repo, right there I can run all kind of Git commands(PULL, FETCH etc.) without any problem. I am using exactly the same credentials as the ones used in the Configuration menu of Jenkins.</p>
  
  <p>What could be the reason for that behavior? Never happened to me before.</p>
  
  <p>If I enter another repository URL address it is fine.</p>