Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"indices" as disappeared on some of my clusters #148

Closed
lazeyliu opened this issue Mar 21, 2024 · 5 comments
Closed

"indices" as disappeared on some of my clusters #148

lazeyliu opened this issue Mar 21, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@lazeyliu
Copy link

lazeyliu commented Mar 21, 2024

plugin version: 2024.1.0-233
elasticsearch version : 6.8.23

image

2024-03-21 17:12:04,161 [4131919]   FINE - #org.elasticsearch4idea.lH - GET http://10.168.81.14:9500/_data_stream/*?expand_wildcards=open 405 {"error":"Incorrect HTTP method for uri [/_data_stream/*?expand_wildcards=open] and method [GET], allowed: [POST]","status":405}
org.elasticsearch4idea.ex: GET http://10.168.81.14:9500/_data_stream/*?expand_wildcards=open 405 {"error":"Incorrect HTTP method for uri [/_data_stream/*?expand_wildcards=open] and method [GET], allowed: [POST]","status":405}
	at org.elasticsearch4idea.lk$a.a(SourceFile:577)
	at org.elasticsearch4idea.lk$a.a(SourceFile:572)
	at org.elasticsearch4idea.lk$j.a(SourceFile:300)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
	at org.elasticsearch4idea.lk$k.invoke(SourceFile:328)
	at org.elasticsearch4idea.q.a(SourceFile:24)
	at org.elasticsearch4idea.q$b.invoke(SourceFile:69)
	at org.elasticsearch4idea.q.a(SourceFile:24)
	at org.elasticsearch4idea.q.b(SourceFile:49)
	at org.elasticsearch4idea.q.a(SourceFile:57)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)
2024-03-21 17:12:04,162 [4131920]   FINE - #org.elasticsearch4idea.lH - GET http://10.168.81.14:9500/_cat/indices/*?format=json&expand_wildcards=open 400 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"}],"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"},"status":400}
org.elasticsearch4idea.ex: GET http://10.168.81.14:9500/_cat/indices/*?format=json&expand_wildcards=open 400 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"}],"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"},"status":400}
	at org.elasticsearch4idea.lk$a.a(SourceFile:577)
	at org.elasticsearch4idea.lk$a.a(SourceFile:572)
	at org.elasticsearch4idea.lk$b.handleResponse(SourceFile:558)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
	at org.elasticsearch4idea.lk$k.invoke(SourceFile:328)
	at org.elasticsearch4idea.q.a(SourceFile:24)
	at org.elasticsearch4idea.q.b(SourceFile:49)
	at org.elasticsearch4idea.q.a(SourceFile:57)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)
2024-03-21 17:12:05,355 [4133113]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files
@lazeyliu lazeyliu added the bug Something isn't working label Mar 21, 2024
@AntonShuvaev
Copy link
Owner

Thanks for reporting this. I'll look into it.

@AntonShuvaev
Copy link
Owner

The issue has been fixed. Please update to the version 2024.1.1

@lazeyliu
Copy link
Author

emm... ,When I click the "refresh" button for the first time,"indices" still doesn't appear, when I click the "refresh" button for the second time,"indices" appears, and I get the following error on the first click:

2024-03-25 09:56:18,926 [ 103939]   FINE - #org.elasticsearch4idea.lH - GET http://10.168.81.14:9500/_cat/indices/*?format=json&expand_wildcards=open 400 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"}],"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"},"status":400}
org.elasticsearch4idea.ex: GET http://10.168.81.14:9500/_cat/indices/*?format=json&expand_wildcards=open 400 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"}],"type":"illegal_argument_exception","reason":"request [/_cat/indices/*] contains unrecognized parameter: [expand_wildcards]"},"status":400}
	at org.elasticsearch4idea.lk$a.a(SourceFile:596)
	at org.elasticsearch4idea.lk$a.a(SourceFile:591)
	at org.elasticsearch4idea.lk$b.handleResponse(SourceFile:577)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
	at org.elasticsearch4idea.lk$k.invoke(SourceFile:347)
	at org.elasticsearch4idea.q.a(SourceFile:24)
	at org.elasticsearch4idea.q$b.invoke(SourceFile:69)
	at org.elasticsearch4idea.q.a(SourceFile:24)
	at org.elasticsearch4idea.q.b(SourceFile:49)
	at org.elasticsearch4idea.q.a(SourceFile:57)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)

@AntonShuvaev
Copy link
Owner

@lazeyliu, just released version 2024.1.2 with a new fix for the bug. Sorry for the oversight. Please try it and let me know if it works now.

@lazeyliu
Copy link
Author

@lazeyliu, just released version 2024.1.2 with a new fix for the bug. Sorry for the oversight. Please try it and let me know if it works now.

Yes, It works , thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants