Details
-
Task
-
Status: Closed
-
Resolution: Fixed
-
7.3.5 CE GA6, 7.3.10 DXP GA1
-
7.3.x
-
Committed
-
Search|S04Sprint 2|11.23-12.14, Search|S04Sprint 3|12.14-1.4
Description
Solution notes
The following new properties have been added to
com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConfiguration (Elasticsearch 7 in System Settings) and
com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConnectionConfiguration (Elasticsearch Connections in System Settings):
proxyHost
proxyPort (defaults to "0")
proxyUserName
proxyPassword
Steps to Reproduce:
- Use the official documentation to configure Liferay DXP to connect to Elasticsearch on Elastic Cloud: https://help.liferay.com/hc/en-us/articles/360046314732
- Configure a proxy between your Liferay server and Elastic Cloud, so that all external requests from your Liferay server network require proxy.
- Start your server using system properties http.proxyHost and http.proxyPort to use your proxy configuration.
Actual Results:
Connection isn't possible
Expected Results:
Connection should be possible.
See https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-low-usage-initialization.html for proxy usage example.
Attachments
Issue Links
- demands
-
LRDOCS-9382 Document new proxy properties for Elasticsearch configs
-
- Closed
-
- is a dependency of
-
LPS-132373 Elasticsearch is not taking into account <http.nonProxyHosts> parameter and fails to connect
- Closed
- Testing discovered
-
LPS-131497 Typo in ProxyConfig in fallback mechanism to retrieve proxy port
- Closed