Stderr: fatal: unable to access '': Could not resolve host:

What am I missing?

using GIT_ASKPASS to set credentials Gitlab
git fetch --tags --force --progress – http:// sna1xxxxx .com/POS1.0/ +refs/heads/:refs/remotes/origin/ # timeout=10
ERROR: Error cloning remote repo ‘origin’
hudson.plugins.git.GitException: Command “git fetch --tags --force --progress – http:// sna1xxxxx .com/POS1.0/ +refs/heads/:refs/remotes/origin/” returned status code 128:
stderr: fatal: unable to access ‘http:// sna1xxxxx .com/POS1.0/’: Could not resolve host: sna1xxxxx .com

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(
at hudson.plugins.git.GitSCM.retrieveChanges(
at hudson.plugins.git.GitSCM.checkout(
at hudson.scm.SCM.checkout(
at hudson.model.AbstractProject.checkout(
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(
at jenkins.scm.SCMCheckoutStrategy.checkout(
at hudson.model.AbstractBuild$
at hudson.model.Run.execute(
at hudson.model.ResourceController.execute(

ERROR: Error cloning remote repo ‘origin’

The Jenkins agent or the Jenkins controller (or both) are unable to convert the hostname sna1xxxxx .com into an IP address. Usually that means the DNS configuration is incorrect on the machine where that failure is happening.

COuld it be that you have a whitespace in the url?

Thank you.
I’m going to look at it.

As i’m new here, I cannot post more than 2 URLs in the same post. So I changed the URL’s in order to be able to post.