Closed cakarlen closed 1 year ago
Hi, this is duplicate of #82. It was fixed in the last release. You need to restart IDE second time after updating plugin. 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.
Hi, thanks for the response. I restarted PyCharm and checked the XML file several times after restarting, but still getting the base64 decode error. I don't see a key named version
in the XML file either.
Hoping that I can fix the XML file because I had many connections that I don't really want to have to recreate
Probably the config cannot be saved because it cannot be read normally. I will fix it in the next release.
The plugin decodes to base64 credentials which is stored securely in OS.
As a workaround you need for each entry of <option name="clusterConfigurations">
to change <option name="credentialsStored" value="true" />
from true
to false
. But in this case you will need to setup credentials again.
You can try to change entries one by one, in case if the problem is only with one of them.
That ended up working. Thanks for your help!
Receiving this error from the Elasticsearch plugin on the most recent stable releases of the plugin and IDE: