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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Search does not work

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

Hi! 

Do you know Confluence works behind reverse proxy?

If it is, could you double check direct search ? 

 

Cheers,

Gonchik Tsymzhitov

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).

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

Hi! 

Could you reindex from scratch? 

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

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)

Any update on this?

Is anyone looking into this?

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!

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

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
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you