java.net.UnknownHostException: api while adding a new DVCS repository

Ganesh Gembali July 4, 2012

We have a github repository hosted @ https://github.scm.corp.company.com/reposiotory.git

When I try to add this I am getting following error :

Error!

The repository url [ https://github.scm.corp.company.com/reposiotory.git ] is incorrect or the repository is not responding.

In the logs:

/rest/bitbucket/1.0/urlinfo [plugins.bitbucket.spi.DefaultRequestHelper] java.net.UnknownHostException: api.github.scm.corp.company.com

/rest/bitbucket/1.0/urlinfo [plugins.bitbucket.spi.DefaultRequestHelper] Unable to retrieve repository info for: https://github.scm.corp.company.com/reposiotory.git

Note that I have replaced original urls

1 answer

0 votes
Dennis Kromhout van der Meer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2012

This is a low level error which says that it simply cannot find the host. Are you able to succesfully reach this host without JIRA? Are your network settings correct?

Ganesh Gembali July 4, 2012

Yes ... I am able to connect jira to git via other git plugins (Jira Git Plugin).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events