Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Search does not work

Roel Van Zeebroeck April 2, 2019

When I search for something in the search box, nothing happens.

All the health checks are ok.

I have rebuilt the index (from scratch), but to no avail.

In the console (F12 in chrome), I see the following two errors:

Failed to load resource: the server responded with a status of 500 ()
2batch.js?locale=en-US:641 fail to load confluence-search-ui-plugin-main 

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 2, 2019

Hi! 

Do you know Confluence works behind reverse proxy?

If it is, could you double check direct search ? 

 

Cheers,

Gonchik Tsymzhitov

Roel Van Zeebroeck April 2, 2019

It is not behind a reverse proxy. We're accessing it directly on the network using our own local DNS server.

To rule out any DNS issues, I have temporarily changed the base URI to use the ip-address directly instead of the DNS name, and used the ip-address to access it. It did not fix the search. I did rebuild the index (indexing is fast because the Confluence DB is still very small).

Roel Van Zeebroeck April 25, 2019

Hello? This is not solved so I would like to get some support on this...

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 25, 2019

Hi! 

Could you reindex from scratch? 

Also, it will be good to know error info from the logs ? 

Roel Van Zeebroeck April 25, 2019

Hi,

As I mentioned in the original question, I already did a reindex from scratch, but it did not help.

The following logs appear when I give focus to the search box:

2019-04-25 14:58:11,123 ERROR [http-nio-8090-exec-8] [[Standalone].[localhost].[/].[file-server]] log Servlet.service() for servlet [file-server] threw exception
-- referer: http://wiki.x.local:8090/index.action | url: /s/ca6b4214dc4957e5b90edfd999cd552a-CDN/en_US/8100/655541fd8de32cde09f1d3f09341851d946007a5/0851ba4445a6ff500bff03738bc63de2/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js | traceId: dd6bcc9366f504fd | userName: RVZ
java.lang.StackOverflowError
at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
at java.util.regex.Pattern$Branch.match(Unknown Source)
at java.util.regex.Pattern$GroupHead.match(Unknown Source)
at java.util.regex.Pattern$Loop.match(Unknown Source)
at java.util.regex.Pattern$GroupTail.match(Unknown Source)
at java.util.regex.Pattern$BranchConn.match(Unknown Source)
at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
at java.util.regex.Pattern$Branch.match(Unknown Source)
at java.util.regex.Pattern$GroupHead.match(Unknown Source)
at java.util.regex.Pattern$Loop.match(Unknown Source)
at java.util.regex.Pattern$GroupTail.match(Unknown Source)
at java.util.regex.Pattern$BranchConn.match(Unknown Source)
at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
at java.util.regex.Pattern$Branch.match(Unknown Source)
at java.util.regex.Pattern$GroupHead.match(Unknown Source)
at java.util.regex.Pattern$Loop.match(Unknown Source)
at java.util.regex.Pattern$GroupTail.match(Unknown Source)
at java.util.regex.Pattern$BranchConn.match(Unknown Source)

... This stack trace repeats for nearly 1000 lines ...

2019-04-25 14:58:11,138 INFO [http-nio-8090-exec-8] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : c9593871-6085-42f6-98b3-8d0354188409
--------------------------
JVM Stats
--------------------------
usedMemory = 509608960
usedMemoryInMegabytes = 486
availableHeap = 564132864
freeMemoryInMegabytes = 537
allocatedHeap = 1073741824
freeAllocatedHeap = 564132864
totalMemory = 1073741824
totalMemoryInMegabytes = 1024
availablePermGen = 0
maxPermGen = -1
maxHeap = 1073741824
usedHeap = 509608960
freeMemory = 564132864
usedPermGen = -1
--------------------------
Request Information
--------------------------
URL: http://wiki.x.local:8090/500page.jsp
Scheme: http
Server: wiki.x.local
Port: 8090
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: locale=en-US
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /s/ca6b4214dc4957e5b90edfd999cd552a-CDN/en_US/8100/655541fd8de32cde09f1d3f09341851d946007a5/0851ba4445a6ff500bff03738bc63de2/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /s
javax.servlet.forward.path_info: /ca6b4214dc4957e5b90edfd999cd552a-CDN/en_US/8100/655541fd8de32cde09f1d3f09341851d946007a5/0851ba4445a6ff500bff03738bc63de2/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js
javax.servlet.forward.query_string: locale=en-US
javax.servlet.forward.mapping: org.apache.catalina.core.ApplicationMapping$MappingImpl@1a163fa
javax.servlet.error.status_code: 500
_statichash: ca6b4214dc4957e5b90edfd999cd552a-CDN/en_US/8100/655541fd8de32cde09f1d3f09341851d946007a5/0851ba4445a6ff500bff03738bc63de2
com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@1ea833e
com.opensymphony.sitemesh.APPLIED_ONCE: true
__cleanup_recursion_counter: 0
javax.servlet.error.message:
javax.servlet.error.servlet_name: noop
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp?locale=en-US
com.atlassian.labs.botkiller.BotKillerFilter: true
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
Confluence-Request-Time: 1556197090965
B3-TraceId: 58290b6f48feda
loginfilter.already.filtered: true
javax.servlet.error.request_uri: /s/ca6b4214dc4957e5b90edfd999cd552a-CDN/en_US/8100/655541fd8de32cde09f1d3f09341851d946007a5/0851ba4445a6ff500bff03738bc63de2/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true
javax.servlet.error.exception: javax.servlet.ServletException: Servlet execution threw an exception
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true
--------------------------
Parameters
--------------------------
locale : en-US
caused by: javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
caused by: java.lang.StackOverflowError
at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)

Roel Van Zeebroeck April 30, 2019

Any update on this?

Roel Van Zeebroeck May 16, 2019

Is anyone looking into this?

Reinhard Mayr October 24, 2019

Hi, I have the same issue, but only on a specific client machine -- all others are working fine.

Did you happen to solve the problem? Anything you can share here?

Thanks!

Roel Van Zeebroeck October 24, 2019

I'm afraid this as far as we got and we never solved this. We've moved to Confluence Cloud now.

Reinhard Mayr October 25, 2019

It turned out that omitting the "www." in the URL lead to a failing XSRF check as can be seen in the logs.

Using the "www." URL did the trick.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events