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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,811 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot