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

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

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?

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
Community showcase
Posted yesterday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

21 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you