Stderr: fatal: unable to access 'http://sna1xxxxx.com/POS1.0/': Could not resolve host: sna1xxxxx.com

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:
stdout:
stderr: fatal: unable to access ‘http:// sna1xxxxx .com/POS1.0/’: Could not resolve host: sna1xxxxx .com

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2732)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2109)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:623)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:850)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1226)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1309)
at hudson.scm.SCM.checkout(SCM.java:540)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1240)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:649)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)
at hudson.model.Run.execute(Run.java:1900)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)

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.