Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA behind an Apache Proxy - 'An unknown error occurred while trying to perform a search.'

Taylor Huston
Contributor
April 17, 2018

I set up JIRA behind a very basic Apache proxy. This is more for a proof of concept for a bigger project I am working on.

It's a new JIRA install with one sample project in it. When I first log in I am seeing this error message in the default Assigned to Me gadget:

 

An unknown error occurred while trying to perform a search.

 

This is my Virtual Host file in Apache if it helps. Again, pretty basic.

 

<VirtualHost *:80>
  ProxyRequests Off
  ProxyVia Off
  ProxyPreserveHost On

<Proxy *>
  Require all granted
</Proxy>

  ProxyPass / http://10.0.0.5:8080/
  ProxyPassReverse / http://10.0.05:8080/

</VirtualHost>

 

10.0.0.5 is the internal IP of the Application VM. The only line I am getting in my catalina.out is

 

17-Apr-2018 22:55:21.370 WARNING [http-nio-8080-exec-13] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://52.175.235.37/rest/activity-stream/1.0/preferences?_=1524005721330, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.. 

 

52.175.235.37 is the IP of my proxy, no domain name or anything set up at the moment.

It just seems to be that gadget. If I use the Issue Navigator and the 'My open issues' filter, for example, it returns fine.

Also, oddly enough, the Activity Stream gadget works just fine.

UPDATE: Looks like the Filter Results gadget is having the same problem.

1 answer

0 votes
Taylor Huston
Contributor
April 17, 2018

Ignore this. Seems to be an issue with our internal network. Works fine when I am connected to the internet in any other way so :shrug:?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events