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

Constantly losing config #82

Closed
cnpatric opened this issue Jul 25, 2022 · 5 comments
Closed

Constantly losing config #82

cnpatric opened this issue Jul 25, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@cnpatric
Copy link

cnpatric commented Jul 25, 2022

Hey,

Pretty much every time I restart Webstorm i lose almost all configs, I have to reenter all my connection details.
This is incredibly frustrating to build a query and then have it disappear.

Please advise on how to support you with data to get rid of this issue:

WebStorm 2022.1
Elasticsearch Plugin 2022.2.0-221

Having to reenter my connection details also completely purges my request history...

Also having no other option but "delete" here is very counter intuitive:

image

I should be able to double click and jump to the query instead of having to double click the query in the project view

@AntonShuvaev
Copy link
Owner

Hi,

Thanks for reporting this. I will take a look at it.

@AntonShuvaev AntonShuvaev added the bug Something isn't working label Jul 25, 2022
@AntonShuvaev
Copy link
Owner

Fixed in 2022.2.1

@christopher-johnson
Copy link

This issue still exists with IntelliJ on MacOS. Reported via the IDE Internal Errors interface.

com.intellij.diagnostic.PluginException: Cannot init component state (componentName=GlobalElasticsearchConfiguration, componentClass=K) [Plugin: org.elasticsearch4idea]

Caused by: java.lang.IllegalArgumentException: Illegal base64 character 7b
at java.base/java.util.Base64$Decoder.decode0(Base64.java:847)

@AntonShuvaev
Copy link
Owner

Hi, can you try to restart IDE one more time. After the first start GlobalElasticsearchConfiguration is read in the old way with base64 decoding for backward compatibility. Then plugin will save GlobalElasticsearchConfiguration without base64 encoding and with property version=1. You can check it in configuration file /Users/{user}/Library/Application Support/JetBrains/IntelliJIdea2022.2/options/globalElasticsearchSettings.xml'. After the restart the problem should gone.

@christopher-johnson
Copy link

I was able to resolve the problem by manually removing the previous configurations from that file and then recreating the connections in the interface. 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

3 participants