首页 > 其他分享 >es启动报错exception during geoip databases update

es启动报错exception during geoip databases update

时间:2024-07-01 23:19:36浏览次数:17  
标签:7.14 exception java geoip ingest 报错 elasticsearch net

解决:在es配置文件中添加如下重启

ingest.geoip.downloader.enabled: false

 

 

报错信息

{"type": "server", "timestamp": "2024-07-01T15:11:05,965Z", "level": "ERROR", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "es", "node.name": "d96519157942", "message": "exception during geoip databases update", "cluster.uuid": "YiWZTYVLS3OTlDopuYHMMg", "node.id": "aXPyG-PVSkablosQgq9ENQ" , 
"stacktrace": ["java.net.UnknownHostException: geoip.elastic.co",
"at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]",
"at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333) ~[?:?]",
"at java.net.Socket.connect(Socket.java:645) ~[?:?]",
"at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:300) ~[?:?]",
"at sun.net.NetworkClient.doConnect(NetworkClient.java:177) ~[?:?]",
"at sun.net.www.http.HttpClient.openServer(HttpClient.java:497) ~[?:?]",
"at sun.net.www.http.HttpClient.openServer(HttpClient.java:600) ~[?:?]",
"at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265) ~[?:?]",
"at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:379) ~[?:?]",
"at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:189) ~[?:?]",
"at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232) ~[?:?]",
"at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1120) ~[?:?]",
"at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:175) ~[?:?]",
"at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1653) ~[?:?]",
"at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577) ~[?:?]",
"at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527) ~[?:?]",
"at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) ~[?:?]",
"at org.elasticsearch.ingest.geoip.HttpClient.lambda$get$0(HttpClient.java:55) ~[ingest-geoip-7.14.2.jar:7.14.2]",
"at java.security.AccessController.doPrivileged(AccessController.java:554) ~[?:?]",
"at org.elasticsearch.ingest.geoip.HttpClient.doPrivileged(HttpClient.java:97) ~[ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.ingest.geoip.HttpClient.get(HttpClient.java:49) ~[ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.ingest.geoip.HttpClient.getBytes(HttpClient.java:40) ~[ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.ingest.geoip.GeoIpDownloader.fetchDatabasesOverview(GeoIpDownloader.java:115) ~[ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:103) ~[ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:235) [ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:94) [ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:43) [ingest-geoip-7.14.2.jar:7.14.2]",
"at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:40) [elasticsearch-7.14.2.jar:7.14.2]",
"at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:732) [elasticsearch-7.14.2.jar:7.14.2]",
"at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.14.2.jar:7.14.2]",
"at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]",
"at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]",
"at java.lang.Thread.run(Thread.java:831) [?:?]"] }
{"type": "server", "timestamp": "2024-07-01T15:11:26,163Z", "level": "INFO", "component": "o.e.x.s.a.AuthenticationService", "cluster.name": "es", "node.name": "d96519157942", "message": "Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]", "cluster.uuid": "YiWZTYVLS3OTlDopuYHMMg", "node.id": "aXPyG-PVSkablosQgq9ENQ"  }

 

标签:7.14,exception,java,geoip,ingest,报错,elasticsearch,net
From: https://www.cnblogs.com/cgy-home/p/18279031

相关文章