Hi Guys,
I am having trouble not sure what is the wrong but unable to access the OpenSearch Dashboard from the following link highlighted below. Actually, OpenSearch dashboard had been installed in the following server, but it is showing as following error when access the link. Appreciate if you could advise accordingly.
Thanks,
Yuga
Hi All,
My Opensearch Dashboard version 2.11.1 installed in the Opensearch server unable access.
Kindly assist to investigate what might went wrong
Configuration:
image488×385 13.3 KB
Relevant Logs or Screenshots:
– Logs begin at Tue 2025-02-25 04:11:07 UTC. –
Mar 29 11:46:25 opensearchdb opensearch-dashboards[3329479]: {“type”:“log”,“@timestamp”:“2025-03-29T11:46:25Z”,“tags”:[“fatal”,“root”],“pid”:3329479,“message”:“ValidationError: [config validation of [opensearch].ssl.verificationMode]: types that failed validation:\n- [config validation of [opensearch].ssl.verificationMode.0]: expected value to equal [none]\n- [config validation of [opensearch].ssl.verificationMode.1]: expected value to equal [certificate]\n- [config validation of [opensearch].ssl.verificationMode.2]: expected value to equal [full]\n at ObjectType.validate (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:72:19)\n at ConfigService.validateAtPath (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:157:23)\n … 2 lines matching cause stack trace …\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/ReplaySubject.js:80:28)\n at ReplaySubject.Observable._trySubscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:44:25)\n at ReplaySubject.Subject._trySubscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subject.js:102:51)\n at ReplaySubject.Observable.subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:30:22)\n at MapSubscriber.shareReplayOperation (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/shareReplay.js:53:32)\n at Observable.subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:25:31)\n at MapOperator.call (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:32:23) {\n cause: SchemaTypesError: types that failed validation:\n at UnionType.handleError (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/union_type.js:47:24)\n at UnionType.onError (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:90:40)\n at internals.Alternatives. (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:62:53)\n at internals.Alternatives._finalizeValue (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:733:46)\n at internals.Alternatives._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:641:29)\n at type._base (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/object/index.js:213:45)\n at type._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:637:31)\n at type._base (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/object/index.js:213:45)\n at type._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:637:31)\n at type._validateWithOptions (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:763:29)\n at module.exports.internals.Any.root.validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/index.js:147:23)\n at ObjectType.validate (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:67:72)\n at ConfigService.validateAtPath (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:157:23)\n at MapSubscriber.project (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:164:83)\n at MapSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18) {\n cause: undefined,\n path: [ ‘ssl’, ‘verificationMode’ ],\n errors: [ [SchemaTypeError], [SchemaTypeError], [SchemaTypeError] ]\n }\n}”}
Mar 29 11:46:25 opensearchdb opensearch-dashboards[3329479]: FATAL ValidationError: [config validation of [opensearch].ssl.verificationMode]: types that failed validation:
Mar 29 11:46:25 opensearchdb opensearch-dashboards[3329479]: - [config validation of [opensearch].ssl.verificationMode.0]: expected value to equal [none]
Mar 29 11:46:25 opensearchdb opensearch-dashboards[3329479]: - [config validation of [opensearch].ssl.verificationMode.1]: expected value to equal [certificate]
Mar 29 11:46:25 opensearchdb opensearch-dashboards[3329479]: - [config validation of [opensearch].ssl.verificationMode.2]: expected value to equal [full]
Mar 29 11:46:25 opensearchdb systemd[1]: opensearch-dashboards.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 11:46:25 opensearchdb systemd[1]: opensearch-dashboards.service: Failed with result ‘exit-code’.
Mar 29 11:46:26 opensearchdb systemd[1]: opensearch-dashboards.service: Scheduled restart job, restart counter is at 3.
Mar 29 11:46:26 opensearchdb systemd[1]: Stopped “OpenSearch Dashboards”.
Mar 29 11:46:26 opensearchdb systemd[1]: Started “OpenSearch Dashboards”.
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: {“type”:“log”,“@timestamp”:“2025-03-29T11:46:28Z”,“tags”:[“info”,“plugins-service”],“pid”:3329503,“message”:“Plugin "dataSourceManagement" has been disabled since the following direct or transitive dependencies are missing or disabled: [dataSource]”}
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: {“type”:“log”,“@timestamp”:“2025-03-29T11:46:28Z”,“tags”:[“info”,“plugins-service”],“pid”:3329503,“message”:“Plugin "dataSource" is disabled.”}
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: {“type”:“log”,“@timestamp”:“2025-03-29T11:46:28Z”,“tags”:[“info”,“plugins-service”],“pid”:3329503,“message”:“Plugin "visTypeXy" is disabled.”}
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: {“type”:“log”,“@timestamp”:“2025-03-29T11:46:28Z”,“tags”:[“fatal”,“root”],“pid”:3329503,“message”:“ValidationError: [config validation of [opensearch].ssl.verificationMode]: types that failed validation:\n- [config validation of [opensearch].ssl.verificationMode.0]: expected value to equal [none]\n- [config validation of [opensearch].ssl.verificationMode.1]: expected value to equal [certificate]\n- [config validation of [opensearch].ssl.verificationMode.2]: expected value to equal [full]\n at ObjectType.validate (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:72:19)\n at ConfigService.validateAtPath (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:157:23)\n … 2 lines matching cause stack trace …\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/ReplaySubject.js:80:28)\n at ReplaySubject.Observable._trySubscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:44:25)\n at ReplaySubject.Subject._trySubscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subject.js:102:51)\n at ReplaySubject.Observable.subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:30:22)\n at MapSubscriber.shareReplayOperation (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/shareReplay.js:53:32)\n at Observable.subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:25:31)\n at MapOperator.call (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:32:23) {\n cause: SchemaTypesError: types that failed validation:\n at UnionType.handleError (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/union_type.js:47:24)\n at UnionType.onError (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:90:40)\n at internals.Alternatives. (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:62:53)\n at internals.Alternatives._finalizeValue (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:733:46)\n at internals.Alternatives._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:641:29)\n at type._base (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/object/index.js:213:45)\n at type._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:637:31)\n at type._base (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/object/index.js:213:45)\n at type._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:637:31)\n at type._validateWithOptions (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:763:29)\n at module.exports.internals.Any.root.validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/index.js:147:23)\n at ObjectType.validate (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:67:72)\n at ConfigService.validateAtPath (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:157:23)\n at MapSubscriber.project (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:164:83)\n at MapSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18) {\n cause: undefined,\n path: [ ‘ssl’, ‘verificationMode’ ],\n errors: [ [SchemaTypeError], [SchemaTypeError], [SchemaTypeError] ]\n }\n}”}
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: FATAL ValidationError: [config validation of [opensearch].ssl.verificationMode]: types that failed validation:
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: - [config validation of [opensearch].ssl.verificationMode.0]: expected value to equal [none]
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: - [config validation of [opensearch].ssl.verificationMode.1]: expected value to equal [certificate]
Mar 29 11:46:28 opensearchdb opensearch-dashboards[3329503]: - [config validation of [opensearch].ssl.verificationMode.2]: expected value to equal [full]
Mar 29 11:46:28 opensearchdb systemd[1]: opensearch-dashboards.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 11:46:28 opensearchdb systemd[1]: opensearch-dashboards.service: Failed with result ‘exit-code’.
Mar 29 11:46:29 opensearchdb systemd[1]: opensearch-dashboards.service: Scheduled restart job, restart counter is at 4.
Mar 29 11:46:29 opensearchdb systemd[1]: Stopped “OpenSearch Dashboards”.
Mar 29 11:46:29 opensearchdb systemd[1]: Started “OpenSearch Dashboards”.
Thanks,
Yuga

Hi,
From the logging it seems like the Opensearch Dashboard service has an invalid ssl configuration: https://docs.dataminer.services/user-guide/Advanced_Functionality/Databases/Indexing_database/OpenSearch_Database/Installing_OpenSearch_database.html#setting-up-opensearch-dashboards