com.sun.jersey.api.client.UniformInterfaceException: Client response status: 301

I am getting this error when trying to connect to JIRA server running local on my PC.

Jira server url: http://localhost:8080, I am just getting started to run jira and integrate within eclipse.

Any idea ?

2 answers

1 accepted

1 vote
Accepted answer

Hi Parvesh,

The 301 error you're getting suggests that the connection is facing one of the following problems:

  • Obtain an IP address from the IP name of the site (the site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
  • Open an IP socket connection to that IP address.
  • Write an HTTP data stream through that socket.
  • Receive an HTTP data stream back from the Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.

So, can I ask you to try connecting to your JIRA instance using the IP address of the server rather than localhost as I believe this will probably workaround the problem you are experincing.

All the best,
John

Thanks worked for me!!

Thanks worked for me!!

Hi

Sorry to piggy back on this thread, but I get the same error on a connection which has previously been working, using the URL of a remote JIRA instance.

I have not changed my settings, it just went away and will not longer sync. The odd thing is, if I select the 'view in browser' option, I am show the correct filter results within the exlipse browser window.

Any help much appreciated.

Thanks

Nathan

Dang, that should have been a comment too. I double points there.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,711 views 17 21
Read article

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