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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

179 views 1 17
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