Does Workplace search 7.12 confluence server supports only these versions of confluence server?

As documentation for Elastic workplace search states:

Workplace Search supports Confluence Server versions: 7.2.1 , 6.15.x

So basically if i have confluence server version 7.11.1 i should use Custom API source instead for indexing confluence server content?

Or Elastic documentation is slightly outdated?

I moved this topic from the ECK section to the Enterprise Search / Workplace Search section.

hi @vjerts !

Good question. We haven't certified Confluence Server 7.11.1, but as it is still in the same major version (7) as one we have certified (7.2.1) I would expect it to work. Have you run into any particular issues?

We have installed ECK on our on-premise Open Shift cluster. We left default self signed certificate for Elasticsearch cluster. But on the the "Route" of Enterprise search made it go true OpenShift cluster F5.
So TLS config in rote we made like so:

tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect

We made configuration of the confluence server source as described here: Connecting Confluence Server | Workplace Search Guide [7.12] | Elastic

When i go to Elastic workplace search interface and try to connect to Confluense server the page just starts to load and nothing happens

In the log of the Enterprise search Pods we have the following stack trace:

[2021-05-13T08:11:37.693+00:00][8][2490][app-server][INFO]: [a9c14582-8e6e-4dc4-8624-18f2202247bf] Started GET "/ws/org/settings/connectors/confluence_server" for 10.129.10.1 at 2021-05-13 08:11:37 +0000
[2021-05-13T08:11:37.696+00:00][8][2490][action_controller][INFO]: [a9c14582-8e6e-4dc4-8624-18f2202247bf] Processing by FritoPie::Organizations::ContentSourceOauthConfigurationsController#show as JSON
[2021-05-13T08:11:37.696+00:00][8][2490][action_controller][INFO]: [a9c14582-8e6e-4dc4-8624-18f2202247bf] Parameters: {"context"=>:organization, "service_type"=>"confluence_server"}
[2021-05-13T08:11:37.726+00:00][8][2490][action_controller][INFO]: [a9c14582-8e6e-4dc4-8624-18f2202247bf] Completed 500 Internal Server Error in 30ms
[2021-05-13T08:11:37.729+00:00][8][2490][app-server][ERROR]: [a9c14582-8e6e-4dc4-8624-18f2202247bf] Exception: ArgumentError: wrong number of arguments calling `slice` (given 6, expected 1..2)
/usr/share/enterprise-search/lib/war/frito_pie/app/controllers/frito_pie/concerns/formatting_concern.class:246:in `block in format_content_source_config': wrong number of arguments calling `slice` (given 6, expected 1..2) (ArgumentError)
from org/jruby/RubyKernel.java:1897:in `tap'
from /usr/share/enterprise-search/lib/war/frito_pie/app/controllers/frito_pie/concerns/formatting_concern.class:233:in `format_content_source_config'
from /usr/share/enterprise-search/lib/war/frito_pie/app/controllers/frito_pie/organizations/content_source_oauth_configurations_controller.class:30:in `show'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb:198:in `process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:117:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:555:in `block in compile'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:505:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb:36:in `block in process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb:164:in `block in instrument'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb:164:in `instrument'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb:137:in `process'
from /usr/share/enterprise-search/lib/war/gems/gems/actionview-4.2.11.3/lib/action_view/rendering.rb:30:in `process'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb:196:in `dispatch'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb:237:in `block in action'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:43:in `serve'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
from org/jruby/RubyArray.java:1809:in `each'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb:30:in `serve'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:817:in `call'
from /usr/share/enterprise-search/lib/war/lib/middleware/system_logging_middleware.class:37:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-attack-5.0.1/lib/rack/attack.rb:147:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
from org/jruby/RubyKernel.java:1189:in `catch'
from /usr/share/enterprise-search/lib/war/gems/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-cors-1.0.6/lib/rack/cors.rb:98:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/etag.rb:24:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/breach-mitigation-rails-0.2.2/lib/breach_mitigation/length_hiding.rb:10:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/conditionalget.rb:25:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/head.rb:13:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
from /usr/share/enterprise-search/lib/war/lib/middleware/content_security_policy_middleware.class:16:in `call'
from /usr/share/enterprise-search/lib/war/lib/middleware/content_type_middleware.class:21:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/flash.rb:260:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/session/abstract/id.rb:252:in `context'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/session/abstract/id.rb:247:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/cookies.rb:560:in `call'
from /usr/share/enterprise-search/lib/war/lib/middleware/cookie_strip_middleware.class:12:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
from /usr/share/enterprise-search/lib/war/shared_togo/config/initializers/actionpack.class:25:in `call_app'
from /usr/share/enterprise-search/lib/war/gems/gems/railties-4.2.11.3/lib/rails/rack/logger.rb:20:in `block in call'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:26:in `tagged'
from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:68:in `tagged'
from /usr/share/enterprise-search/lib/war/gems/gems/railties-4.2.11.3/lib/rails/rack/logger.rb:20:in `call'
from /usr/share/enterprise-search/lib/war/lib/middleware/silencer_middleware.class:9:in `call'
from /usr/share/enterprise-search/lib/war/lib/middleware/request_id_middleware.class:11:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/methodoverride.rb:22:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/runtime.rb:18:in `call'
from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13

Of course I feel that I should configure TLS on Enterprise search itself as connector generates public key for confluence server. However I'm not shore if this public key is not coming from Elastic cluster. And documentation does not point anything about this out.
Do you have any ideas what is the problem in this case? Is the problem in TLS not configured on Enterprise search or it is rather connector incompatibility with confluence server 7.11.1?

/usr/share/enterprise-search/lib/war/frito_pie/app/controllers/frito_pie/concerns/formatting_concern.class:246:in 'block in format_content_source_config': wrong number of arguments calling 'slice' (given 6, expected 1..2) (ArgumentError)
Do you have any ideas what is the problem in this case?

This error happens when you have started Enterprise Search with one value of secret_management.encryption_keys, configure a connector, and then either restart that instance or start a new instance with a different value of secret_management.encryption_keys and try to read that configuration. If you know what your original value of that configuration option was, revert to that and restart your instances. If you don't know what it was, I suggest that you start over by cleaning out elasticsearch. Make sure that all your instances of Enterprise Search use the same value of secret_management.encryption_keys.

Is the problem in TLS not configured on Enterprise search or it is rather connector incompatibility with confluence server 7.11.1?

I don't see evidence of either of these being an issue in the logs above. Not saying there isn't an issue, just that we need to resolve the other one first before we can move forward. :slight_smile:

Thank you for your answer!

Yes. That might be the case. Cause I was reinstalled Elastic search instances several times after we made the source configuration for confluence server.

Actually, even before that issue, I had the another issue, that my Enterprise search Pods did not trusted SSL certificate of confluence server. So I have made changes to the Enterprise search pods config pointing to the configMap which contained injected company trusted ca bundle. At this point SSL issue have disappeared and this new issue posted above have appeared.

At this point I already cleaned Elasticsearch cluster from enterprise search indexes and reinstall Enterprise again. So next step will be to reconfigure confluence server connector again and see if it will solve the issue. I will let you know what will be the result. Thank you very much for your support!

1 Like

So...we have reconfigured the confluence server with new instance of the "Enterprise search" and now we have this SSL issue again:

[2021-05-19T10:22:04.385+00:00][7][2498][app-server][INFO]: [a47e16c3-7609-439e-b9ce-d92031dbae34] Started GET "/ws/org/sources/confluence_server/prepare" for 10.130.10.1 at 2021-05-19 10:22:04 +0000
[2021-05-19T10:22:04.387+00:00][7][2498][action_controller][INFO]: [a47e16c3-7609-439e-b9ce-d92031dbae34] Processing by FritoPie::ContentSourcesController#prepare as JSON
[2021-05-19T10:22:04.387+00:00][7][2498][action_controller][INFO]: [a47e16c3-7609-439e-b9ce-d92031dbae34]   Parameters: {"context"=>:organization, "service_type"=>"confluence_server"}
[2021-05-19T10:22:04.467+00:00][7][2498][action_controller][INFO]: [a47e16c3-7609-439e-b9ce-d92031dbae34] Completed 500 Internal Server Error in 80ms
[2021-05-19T10:22:04.470+00:00][7][2498][app-server][ERROR]: [a47e16c3-7609-439e-b9ce-d92031dbae34] Exception: Faraday::SSLError: certificate verify failed
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http.rb:1002:in `connect': certificate verify failed (Faraday::SSLError)
	from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http.rb:924:in `do_start'
	from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http.rb:913:in `start'
	from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http.rb:1465:in `request'
	from /usr/share/enterprise-search/lib/war/gems/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:87:in `perform_request'
	from /usr/share/enterprise-search/lib/war/gems/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:43:in `block in call'
	from /usr/share/enterprise-search/lib/war/gems/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:92:in `with_net_http_connection'
	from /usr/share/enterprise-search/lib/war/gems/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:38:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/faraday-0.17.3/lib/faraday/request/url_encoded.rb:15:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/signet-0.14.0/lib/signet/oauth_1/client.rb:671:in `fetch_temporary_credential'
	from /usr/share/enterprise-search/lib/war/gems/gems/signet-0.14.0/lib/signet/oauth_1/client.rb:708:in `fetch_temporary_credential!'
	from /usr/share/enterprise-search/lib/war/frito_pie/lib/frito_pie/content_source_service/atlassian.class:53:in `oauth_url'
	from /usr/share/enterprise-search/lib/war/frito_pie/lib/frito_pie/content_source_service.class:221:in `oauth_url_for'
	from /usr/share/enterprise-search/lib/war/frito_pie/app/controllers/frito_pie/content_sources_controller.class:63:in `prepare'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb:198:in `process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:117:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:555:in `block in compile'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:505:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb:36:in `block in process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb:164:in `block in instrument'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb:164:in `instrument'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb:137:in `process'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionview-4.2.11.3/lib/action_view/rendering.rb:30:in `process'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb:196:in `dispatch'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb:237:in `block in action'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:43:in `serve'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
	from org/jruby/RubyArray.java:1809:in `each'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb:30:in `serve'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:817:in `call'
	from /usr/share/enterprise-search/lib/war/lib/middleware/system_logging_middleware.class:37:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/rack-attack-5.0.1/lib/rack/attack.rb:147:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
	from org/jruby/RubyKernel.java:1189:in `catch'
	from /usr/share/enterprise-search/lib/war/gems/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/rack-cors-1.0.6/lib/rack/cors.rb:98:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/etag.rb:24:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/breach-mitigation-rails-0.2.2/lib/breach_mitigation/length_hiding.rb:10:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/conditionalget.rb:25:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/head.rb:13:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
	from /usr/share/enterprise-search/lib/war/lib/middleware/content_security_policy_middleware.class:16:in `call'
	from /usr/share/enterprise-search/lib/war/lib/middleware/content_type_middleware.class:21:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/flash.rb:260:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/session/abstract/id.rb:252:in `context'
	from /usr/share/enterprise-search/lib/war/gems/gems/rack-1.6.13/lib/rack/session/abstract/id.rb:247:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/cookies.rb:560:in `call'
	from /usr/share/enterprise-search/lib/war/lib/middleware/cookie_strip_middleware.class:12:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
	from /usr/share/enterprise-search/lib/war/gems/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
	from /usr/share/enterprise-search/lib/war/shared_togo/config/initializers/actionpack.class:25:in `call_app'
	from /usr/share/enterprise-search/lib/war/gems/gems/railties-4.2.11.3/lib/rails/rack/logger.rb:20:in `block in call'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:26:in `tagged'
	from /usr/share/enterprise-search/lib/war/gems/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:68:in `tagged'
	from /usr/share/enterprise-search/lib/war/gems/gems/railties-4.2.11.3/lib/rails/rack/logger.rb:20:in `call'
	from /usr/share/enterprise-search/lib/war/lib/middleware/silencer_middleware.class:9:in `call'
	from /usr/share/enterprise-search/lib/war/lib/middleware/request_id_middleware.class:11:in `call'

Seems like trusted ca bundle injection did not helped...My pods still does not tryst to confluence server

@vjerts is your Confluence Server certificate included in the Java truststore on the pods where Enterprise Search is running? $JAVA_HOME/lib/security/cacerts is the file that I believe is relevant here.

Thank you for your reference! I will check that!

Hi! Finally made it work by configuring the right volume path for my tls-ca-bundle.pem that I previously injected from the ConfigMap. Big thanks to @Sean_Story for helping me out and giving the references.

1 Like