org.apache.http.client.HttpResponseException: Unauthorized

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Spray framework cookie handling
    via Stack Overflow by Knows Not Much
    ,
  • Throws Unauthorized Exception
    via GitHub by rajkumarkscme
    ,
  • Seeing two possibly related errors in User Management: # Application Access > For JIRA and/or Confluence instead of the available seats, the message *An unknown error has occurred* is displayed. # https://example.atlassian.net/admin/billing/overview > Getting two errors on screen: Could not retrieve pricing information. Could not retrieve all customer information. From Horde's log: {code} 2014-09-18 14:45:32.264462500 Caused by: org.apache.http.client.HttpResponseException: {"error":"We are unable to process your request at this moment in time.","errorKey":"internal.server.error","errorDetail":"PSQLException: This connection has been closed.","uuid":"382fddb7-59bc-4e49-a540-aa53fd9b19a4"} 2014-09-18 14:45:32.264465500 at com.atlassian.crowd.plugin.adminbilling.utils.ExternalServiceProxy$1.handleResponse(ExternalServiceProxy.java:73) 2014-09-18 14:45:32.264466500 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:218) 2014-09-18 14:45:32.264469500 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160) 2014-09-18 14:45:32.264469500 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:136) 2014-09-18 14:45:32.264470500 at com.atlassian.crowd.plugin.adminbilling.utils.HamsPricingServiceProxy.getCustomerDetails(HamsPricingServiceProxy.java:181) 2014-09-18 14:45:32.264470500 at com.atlassian.crowd.plugin.adminbilling.rest.controllers.GlobalAdminBillingController.getCustomerDetails(GlobalAdminBillingController.java:254) 2014-09-18 14:45:32.264472500 ... 55 more 2014-09-18 14:45:32.264472500 2014-09-18 14:45:32,264 TP-Processor7 ERROR [rest.exception.mapper.HamsExceptionMapper] Translating hams error to ... Status: 500 Message: Could not retrieve all customer information. {code}
    via by Jason Worley [Atlassian],
  • Seeing two possibly related errors in User Management: # Application Access > For JIRA and/or Confluence instead of the available seats, the message *An unknown error has occurred* is displayed. # https://example.atlassian.net/admin/billing/overview > Getting two errors on screen: Could not retrieve pricing information. Could not retrieve all customer information. From Horde's log: {code} 2014-09-18 14:45:32.264462500 Caused by: org.apache.http.client.HttpResponseException: {"error":"We are unable to process your request at this moment in time.","errorKey":"internal.server.error","errorDetail":"PSQLException: This connection has been closed.","uuid":"382fddb7-59bc-4e49-a540-aa53fd9b19a4"} 2014-09-18 14:45:32.264465500 at com.atlassian.crowd.plugin.adminbilling.utils.ExternalServiceProxy$1.handleResponse(ExternalServiceProxy.java:73) 2014-09-18 14:45:32.264466500 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:218) 2014-09-18 14:45:32.264469500 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160) 2014-09-18 14:45:32.264469500 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:136) 2014-09-18 14:45:32.264470500 at com.atlassian.crowd.plugin.adminbilling.utils.HamsPricingServiceProxy.getCustomerDetails(HamsPricingServiceProxy.java:181) 2014-09-18 14:45:32.264470500 at com.atlassian.crowd.plugin.adminbilling.rest.controllers.GlobalAdminBillingController.getCustomerDetails(GlobalAdminBillingController.java:254) 2014-09-18 14:45:32.264472500 ... 55 more 2014-09-18 14:45:32.264472500 2014-09-18 14:45:32,264 TP-Processor7 ERROR [rest.exception.mapper.HamsExceptionMapper] Translating hams error to ... Status: 500 Message: Could not retrieve all customer information. {code}
    via by Jason Worley [Atlassian],
  • GitHub comment 40#133629660
    via GitHub by jhpoelen
    ,
    • org.apache.http.client.HttpResponseException: Unauthorized at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69) at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65) at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates