anomaly-detection icon indicating copy to clipboard operation
anomaly-detection copied to clipboard

Anomaly detector not working

Open itsmjeu opened this issue 4 years ago • 0 comments

I'm not able to use anomaly detector after the upgrade using custom certificates it always throw me this error:

respons [07:57:18.817] POST /api/anomaly_detectors/detectors/_search 200 9ms - 9.0B Anomaly detector - PutDetector { Error: [s_s_l_peer_unverified_exception] Host name 'localhost' does not match the certificate subject provided by the peer (CN=myhost.local, OU=MyOU, O=Company, L=Location, ST=State, C=EU) at respond (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/elasticsearch/src/lib/transport.js:349:15) at checkRespForFailure (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/elasticsearch/src/lib/transport.js:306:7) at HttpConnector. (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/elasticsearch/src/lib/connectors/http.js:173:7) at IncomingMessage.wrapper (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/lodash/lodash.js:4949:19) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) status: 500, displayName: 'InternalServerError', message: '[s_s_l_peer_unverified_exception] Host name 'localhost' does not match the certificate subject provided by the peer (CN=myhost.local, OU=MyOU, O=Company, L=Location, ST=State, C=EU)', path: '/_opendistro/_anomaly_detection/detectors', query: {}, body: { error: { root_cause: [Array], type: 's_s_l_peer_unverified_exception', reason: 'Host name 'localhost' does not match the certificate subject provided by the peer (CN=myhost.local, OU=MyOU, O=Company, L=Location, ST=State, C=EU)' }, status: 500 }, statusCode: 500, response: '{"error":{"root_cause":[{"type":"s_s_l_peer_unverified_exception","reason":"Host name 'localhost' does not match the certificate subject provided by the peer (CN=myhost.local, OU=MyOU, O=Company, L=Location, ST=State, C=EU)"}],"type":"s_s_l_peer_unverified_exception","reason":"Host name 'localhost' does not match the certificate subject provided by the peer (CN=myhost.local, OU=MyOU, O=Company, L=Location, ST=State, C=EU)"},"status":500}', toString: [Function], toJSON: [Function] } respons [07:57:18.900] POST /api/anomaly_detectors/detectors 200 41ms - 9.0B Anomaly detector - Unable to search detectors { Error: [index_not_found_exception] no such index [.opendistro-anomaly-detectors], with { resource.type="index_or_alias" & resource.id=".opendistro-anomaly-detectors" & index_uuid="na" & index=".opendistro-anomaly-detectors" } at respond (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/elasticsearch/src/lib/transport.js:349:15) at checkRespForFailure (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/elasticsearch/src/lib/transport.js:306:7) at HttpConnector. (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/elasticsearch/src/lib/connectors/http.js:173:7) at IncomingMessage.wrapper (/ec/local/reuse/opendistroforelasticsearch-kibana-1.11.0/node_modules/lodash/lodash.js:4949:19) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) status: 404, displayName: 'NotFound', message: '[index_not_found_exception] no such index [.opendistro-anomaly-detectors], with { resource.type="index_or_alias" & resource.id=".opendistro-anomaly-detectors" & index_uuid="na" & index=".opendistro-anomaly-detectors" }', path: '/_opendistro/_anomaly_detection/detectors/_search', query: {}, body: { error: { root_cause: [Array], type: 'index_not_found_exception', reason: 'no such index [.opendistro-anomaly-detectors]', 'resource.type': 'index_or_alias', 'resource.id': '.opendistro-anomaly-detectors', index_uuid: 'na', index: '.opendistro-anomaly-detectors' }, status: 404 }, statusCode: 404, response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.opendistro-anomaly-detectors]","resource.type":"index_or_alias","resource.id":".opendistro-anomaly-detectors","index_uuid":"na","index":".opendistro-anomaly-detectors"}],"type":"index_not_found_exception","reason":"no such index [.opendistro-anomaly-detectors]","resource.type":"index_or_alias","resource.id":".opendistro-anomaly-detectors","index_uuid":"na","index":".opendistro-anomaly-detectors"},"status":404}', toString: [Function], toJSON: [Function] }

KR,

itsmjeu avatar Dec 01 '20 08:12 itsmjeu