what could be the issue for this error ```2:38:24,...
# all-things-deployment
c
what could be the issue for this error
Copy code
2:38:24,715 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [datahub-frontend/conf/logback.xml] at [file:/datahub-frontend/conf/logback.xml]
12:38:24,810 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Using current interpretation time, i.e. now, as time reference.
12:38:24,810 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Adding property to the context with key="bySecond" and value="2023-05-22_12-38-24" to the LOCAL scope
12:38:24,810 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Using current interpretation time, i.e. now, as time reference.
12:38:24,810 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Adding property to the context with key="byDate" and value="2023-05-22" to the LOCAL scope
12:38:24,811 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:38:24,814 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
12:38:24,844 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This appender no longer admits a layout as a sub-component, set an encoder instead.
12:38:24,844 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
12:38:24,844 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See also <http://logback.qos.ch/codes.html#layoutInsteadOfEncoder> for details
12:38:24,845 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
12:38:24,850 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
12:38:24,851 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:38:24,858 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@3e62d773 - No compression will be used
12:38:24,861 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: /tmp/datahub/logs/datahub-frontend-2023-05-22_12-38-24.log
12:38:24,861 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [/tmp/datahub/logs/datahub-frontend-2023-05-22_12-38-24.log]
12:38:24,862 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
12:38:24,862 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
12:38:24,862 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
12:38:24,863 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
12:38:24,863 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@81d9a72 - Registering current configuration as safe fallback point
12:38:25 [main] INFO  o.p.play.store.ShiroAesDataEncrypter - Generated key: 52a53270b47f43a0
May 22, 2023 12:38:25 PM com.google.inject.internal.MessageProcessor visit
INFO: An exception was caught and reported. Message: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'analytics.elastic.sslContext.sslProtocol'
com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'analytics.elastic.sslContext.sslProtocol'

Oops, cannot start the server.
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) An exception was caught and reported. Message: No configuration setting found for key 'analytics.elastic.sslContext.sslProtocol'
  at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:173)

2) Could not find a suitable constructor in react.analytics.AnalyticsService. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at react.analytics.AnalyticsService.class(AnalyticsService.java:37)
  while locating react.analytics.AnalyticsService
    for the 3rd parameter of react.controllers.GraphQLController.<init>(GraphQLController.java:51)
  while locating react.controllers.GraphQLController
    for the 11th parameter of router.Routes.<init>(Routes.scala:69)
  at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:121):
Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1)

2 errors
	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:543)
	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:159)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
	at com.google.inject.Guice.createInjector(Guice.java:87)
	at com.google.inject.Guice.createInjector(Guice.java:78)
	at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)
	at play.inject.guice.GuiceBuilder.injector(GuiceBuilder.java:221)
	at play.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.java:156)
	at play.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.java:34)
	at play.api.ApplicationLoader$JavaApplicationLoaderAdapter$1.load(ApplicationLoader.scala:87)
	at play.core.server.ProdServerStart$.start(ProdServerStart.scala:51)
	at play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)
	at play.core.server.ProdServerStart.main(ProdServerStart.scala)
Caused by: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'analytics.elastic.sslContext.sslProtocol'
	at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
	at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
	at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:180)
	at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:180)
	at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:180)
	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
	at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:250)
	at react.analytics.AnalyticsServiceModule.createSSLContext(AnalyticsServiceModule.java:83)
	at react.analytics.AnalyticsServiceModule.configure(AnalyticsServiceModule.java:63)
	at com.google.inject.AbstractModule.configure(AbstractModule.java:61)
	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:344)
	at com.google.inject.spi.Elements.getElements(Elements.java:103)
	at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:173)
	at com.google.inject.AbstractModule.configure(AbstractModule.java:61)
	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:344)
	at com.google.inject.spi.Elements.getElements(Elements.java:103)
	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:137)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
	... 10 more
f
base on this log, I guess the issue is elasticsearch of you is enable SSL for connection. You can try disable it on elastisearch and check, again. If you deployed
elasticsearch
service by prerequisites helm chart. Can you post the custom-values for this chart? I will help you to review it. @chilly-boots-22585
Copy code
No configuration setting found for key 'analytics.elastic.sslContext.sslProtocol'
c
Copy code
elasticsearch:
    host: "<http://search-datahub-starburst-es-m2rih5h43ca.eu-west-1.es.amazonaws.com|search-datahub-starburst-es-m2rih5h43ca.eu-west-1.es.amazonaws.com>"
    port: "443"
    skipcheck: "false"
    insecure: "false"
    useSSL: "true"
    auth:
      username: datahub-es
      password:
        secretRef: elasticsearch-secrets
        secretKey: elasticsearch-password

elasticsearchSetupJob:
    enabled: true
    image:
      repository: linkedin/datahub-elasticsearch-setup
      tag: "latest"
    extraEnvs:
      - name: USE_AWS_ELASTICSEARCH
        value: "true"
I have done changes using this link. I am configuring AWS opensearch with datahub. https://datahubproject.io/docs/deploy/aws/
f
Sorry, I only guess you have a missing something about SSL key. But I can’t simulate your situation to suggest a best solution, now.