java.net.UnknownHostException: artifacts.elastic.co
Written By
Pooja Bhambani
How To articles are not official guidelines or officially
supporteddocumentation. They are community-contributed content and may
not alwaysreflect the latest updates to Liferay DXP. We welcome your
feedback toimprove How to articles!
While we make every effort to ensure this Knowledge Base is accurate,
itmay not always reflect the most recent updates or official
guidelines.We appreciate your understanding and encourage you to reach
out with anyfeedback or concerns.
Legacy Article
You are viewing an article from our legacy
"FastTrack"publication program, made available for
informational purposes. Articlesin this program were published without a
requirement for independentediting or verification and are provided
"as is" withoutguarantee.
Before using any information from this article, independently verify
itssuitability for your situation and project.
Environment
- Liferay DXP 7.3
- Liferay DXP 7.4
- 2023.Q3
- 2023.Q4
Resolution
-
This error usually occurs when the server is running behind a proxy or without an internet connection; in that case, Liferay isn't able to connect with
artifacts.elastic.co
. This same behavior can be confirmed by navigating to liferay_home > elasticsearch-sidecar, the folder will be empty.
- Examine whether your internet connection is stable or not. If the internet connection is stable, then check if your server is running behind the proxy.
-
However, to start elasticsearch-sidecar without an internet connection, perform the following steps:
- Stop Liferay.
- Copy and paste the elasticsearch-sidecar folder (Copy this folder where elasticsearch-sidecar is running perfectly)
- Delete liferay_home/OSGi/state
- Delete liferay_home/work
- Delete liferay_home/tomcat/work
- Delete liferay_home/tomcat/temp
- Restart Liferay.
Did this article resolve your issue ?