Epinova / Epinova.Elasticsearch

A search-plugin for Episerver CMS and Commerce
MIT License
29 stars 20 forks source link

One or more indices is missing, please create them. #181

Closed ghost closed 1 year ago

ghost commented 1 year ago

I got this error when i try to run; Elasticsearch: Index CMS content. I have Index in elasticsearch with same name

Processed 0 batches, for a total of 0 items to Elasticsearch index.

One or more indices is missing, please create them.

Stacktrace: at Epinova.ElasticSearch.Core.EPiServer.Plugin.IndexEPiServerContent.Execute() in C:\projects\epinova-elasticsearch\src\Epinova.ElasticSearch.Core.EPiServer\Plugin\IndexEPiServerContent.cs:line 89

otanum commented 1 year ago

Related to https://github.com/Epinova/Epinova.Elasticsearch/releases/tag/v11.7.4.214?

Changed index names to support specific cultures.

ghost commented 1 year ago

Are there exemple how index names should be to support specific cultures?

otanum commented 1 year ago

Just recreate indices with same name. You will notice that sunny sign separator is used between indexname and culture.

ghost commented 1 year ago

I had found error, why it not workning (no solution yet) Connection works without problems with postman

[2022-11-24T08:57:23,477][WARN ][o.e.h.AbstractHttpServerTransport] [LNOR080045] caught exception while handling client http traffic, closing connection Netty4HttpChannel{localAddress=/192.168.202.1:9200, remoteAddress=/192.168.202.1:63333}io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Invalid Alert message: no sufficient data at io.netty.codec@4.1.77.Final/io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:480) at io.netty.codec@4.1.77.Final/io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) at io.netty.transport@4.1.77.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.transport@4.1.77.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.transport@4.1.77.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)