You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
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,
The text was updated successfully, but these errors were encountered:
jcgraybill
transferred this issue from opendistro-for-elasticsearch/sample-code
Jan 4, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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,
The text was updated successfully, but these errors were encountered: