HTTPS and Password Setup Issue #13586
Unanswered
singhnavi25
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Please paste stack traces in code blocks to make them more readable. There's an error saying that port 8080 is busy. Is there any other application using this port? Can you include the complete trino configuration your using? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Is it possible to hide credentials from catalog files like passwords? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to set up HTTPS access with a user id and password on a single node cluster. But it is prompting errors and I couldn't able to resolve them. Please help by seeing the below errors
2022-08-09T00:27:39.215+0530 INFO main Bootstrap transaction.idle-timeout 5.00m 5.00m Amount of time before an inactive transaction is considered expired
2022-08-09T00:27:39.215+0530 INFO main Bootstrap transaction.max-finishing-concurrency 1 1 Maximum parallelism for committing or aborting a transaction
2022-08-09T00:27:47.346+0530 ERROR main io.trino.server.Server Unable to create injector, see the following errors:
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
while locating ServiceAnnouncement annotated with @element(setName=,uniqueId=429, type=MULTIBINDER, keyType=)
at Announcer.(Announcer.java:68)
at DiscoveryModule.configure(DiscoveryModule.java:64)
at DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:122)
at DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:122)
while locating MergingServiceSelectorFactory
at DiscoveryModule.configure(DiscoveryModule.java:73)
at ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:50)
at ServerMainModule.setup(ServerMainModule.java:241)
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
Caused by: NullPointerException: Cannot invoke "io.airlift.discovery.client.AnnouncementHttpServerInfo.getHttpUri()" because "this.httpServerInfo" is null
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException: Failed to bind to /0.0.0.0:8080
Caused by: BindException: Address already in use
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException: Failed to bind to /0.0.0.0:8080
Caused by: BindException: Address already in use
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException (same stack trace as error #3)
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException (same stack trace as error #3)
5 errors
======================
Full classname legend:
======================
Announcer: "io.airlift.discovery.client.Announcer"
BindException: "java.net.BindException"
Bootstrap: "io.airlift.bootstrap.Bootstrap"
ConstructorBindingImpl$Factory: "com.google.inject.internal.ConstructorBindingImpl$Factory"
ConstructorInjector: "com.google.inject.internal.ConstructorInjector"
ConstructorInjector$1: "com.google.inject.internal.ConstructorInjector$1"
CoordinatorDiscoveryModule: "io.trino.server.CoordinatorDiscoveryModule"
CoordinatorModule: "io.trino.server.CoordinatorModule"
DefaultConstructionProxyFactory$FastClassProxy: "com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy"
DiscoveryBinder: "io.airlift.discovery.client.DiscoveryBinder"
DiscoveryBinder$HttpAnnouncementProvider: "io.airlift.discovery.client.DiscoveryBinder$HttpAnnouncementProvider"
DiscoveryModule: "io.airlift.discovery.client.DiscoveryModule"
Element: "com.google.inject.internal.Element"
EmbeddedDiscoveryModule: "io.airlift.discovery.server.EmbeddedDiscoveryModule"
FactoryProxy: "com.google.inject.internal.FactoryProxy"
GeneratedMethodAccessor26: "jdk.internal.reflect.GeneratedMethodAccessor26"
Guice: "com.google.inject.Guice"
HttpServerInfo: "io.airlift.http.server.HttpServerInfo"
HttpServerInfo$$FastClassByGuice$$20547567: "io.airlift.http.server.HttpServerInfo$$FastClassByGuice$$20547567"
Initializer: "com.google.inject.internal.Initializer"
Initializer$InjectableReference: "com.google.inject.internal.Initializer$InjectableReference"
InternalFactoryToInitializableAdapter: "com.google.inject.internal.InternalFactoryToInitializableAdapter"
InternalFactoryToProviderAdapter: "com.google.inject.internal.InternalFactoryToProviderAdapter"
InternalInjectorCreator: "com.google.inject.internal.InternalInjectorCreator"
InternalProviderInstanceBindingImpl$CyclicFactory: "com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory"
InternalProviderInstanceBindingImpl$CyclicFactory$1: "com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory$1"
InternalProviderInstanceBindingImpl$Factory: "com.google.inject.internal.InternalProviderInstanceBindingImpl$Factory"
InternalProviderInstanceBindingImpl$Factory$1: "com.google.inject.internal.InternalProviderInstanceBindingImpl$Factory$1"
LifeCycleModule: "io.airlift.bootstrap.LifeCycleModule"
LocalAnnouncementHttpServerInfo: "io.airlift.http.server.LocalAnnouncementHttpServerInfo"
MembersInjectorImpl: "com.google.inject.internal.MembersInjectorImpl"
MergingServiceSelectorFactory: "io.airlift.discovery.client.MergingServiceSelectorFactory"
Net: "sun.nio.ch.Net"
ProviderInternalFactory: "com.google.inject.internal.ProviderInternalFactory"
ProviderInternalFactory$1: "com.google.inject.internal.ProviderInternalFactory$1"
ProviderMethod: "com.google.inject.internal.ProviderMethod"
ProviderToInternalFactoryAdapter: "com.google.inject.internal.ProviderToInternalFactoryAdapter"
ProvisionListenerStackCallback: "com.google.inject.internal.ProvisionListenerStackCallback"
ProvisionListenerStackCallback$Provision: "com.google.inject.internal.ProvisionListenerStackCallback$Provision"
RealMultibinder$ExtensionRealMultibinderProvider: "com.google.inject.internal.RealMultibinder$ExtensionRealMultibinderProvider"
RealMultibinder$RealMultibinderProvider: "com.google.inject.internal.RealMultibinder$RealMultibinderProvider"
Server: "io.trino.server.Server"
ServerMainModule: "io.trino.server.ServerMainModule"
ServerSocketAdaptor: "sun.nio.ch.ServerSocketAdaptor"
ServerSocketChannelImpl: "sun.nio.ch.ServerSocketChannelImpl"
ServiceAnnouncement: "io.airlift.discovery.client.ServiceAnnouncement"
ServiceSelectorProvider: "io.airlift.discovery.client.ServiceSelectorProvider"
SingleMethodInjector: "com.google.inject.internal.SingleMethodInjector"
SingleParameterInjector: "com.google.inject.internal.SingleParameterInjector"
SingletonScope$1: "com.google.inject.internal.SingletonScope$1"
TrinoServer: "io.trino.server.TrinoServer"
UncheckedIOException: "java.io.UncheckedIOException"
========================
End of classname legend:
========================
com.google.inject.CreationException: Unable to create injector, see the following errors:
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
while locating ServiceAnnouncement annotated with @element(setName=,uniqueId=429, type=MULTIBINDER, keyType=)
at Announcer.(Announcer.java:68)
at DiscoveryModule.configure(DiscoveryModule.java:64)
at DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:122)
at DiscoveryModule.createMergingServiceSelectorFactory(DiscoveryModule.java:122)
while locating MergingServiceSelectorFactory
at DiscoveryModule.configure(DiscoveryModule.java:73)
at ServiceSelectorProvider.setServiceSelectorFactory(ServiceSelectorProvider.java:50)
at ServerMainModule.setup(ServerMainModule.java:241)
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
Caused by: NullPointerException: Cannot invoke "io.airlift.discovery.client.AnnouncementHttpServerInfo.getHttpUri()" because "this.httpServerInfo" is null
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException: Failed to bind to /0.0.0.0:8080
Caused by: BindException: Address already in use
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException: Failed to bind to /0.0.0.0:8080
Caused by: BindException: Address already in use
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException (same stack trace as error #3)
at HttpServerInfo.(HttpServerInfo.java:55)
at GeneratedMethodAccessor26.invoke(Unknown Source)
at LocalAnnouncementHttpServerInfo.(LocalAnnouncementHttpServerInfo.java:31)
while locating LocalAnnouncementHttpServerInfo
at GeneratedMethodAccessor26.invoke(Unknown Source)
at DiscoveryBinder$HttpAnnouncementProvider.setAnnouncementHttpServerInfo(DiscoveryBinder.java:122)
at DiscoveryBinder.bindServiceAnnouncement(DiscoveryBinder.java:79)
Learn more:
https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
Caused by: UncheckedIOException (same stack trace as error #3)
5 errors
======================
Full classname legend:
======================
Announcer: "io.airlift.discovery.client.Announcer"
BindException: "java.net.BindException"
Bootstrap: "io.airlift.bootstrap.Bootstrap"
ConstructorBindingImpl$Factory: "com.google.inject.internal.ConstructorBindingImpl$Factory"
ConstructorInjector: "com.google.inject.internal.ConstructorInjector"
ConstructorInjector$1: "com.google.inject.internal.ConstructorInjector$1"
CoordinatorDiscoveryModule: "io.trino.server.CoordinatorDiscoveryModule"
CoordinatorModule: "io.trino.server.CoordinatorModule"
DefaultConstructionProxyFactory$FastClassProxy: "com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy"
DiscoveryBinder: "io.airlift.discovery.client.DiscoveryBinder"
DiscoveryBinder$HttpAnnouncementProvider: "io.airlift.discovery.client.DiscoveryBinder$HttpAnnouncementProvider"
DiscoveryModule: "io.airlift.discovery.client.DiscoveryModule"
Element: "com.google.inject.internal.Element"
EmbeddedDiscoveryModule: "io.airlift.discovery.server.EmbeddedDiscoveryModule"
FactoryProxy: "com.google.inject.internal.FactoryProxy"
GeneratedMethodAccessor26: "jdk.internal.reflect.GeneratedMethodAccessor26"
Guice: "com.google.inject.Guice"
HttpServerInfo: "io.airlift.http.server.HttpServerInfo"
HttpServerInfo$$FastClassByGuice$$20547567: "io.airlift.http.server.HttpServerInfo$$FastClassByGuice$$20547567"
Initializer: "com.google.inject.internal.Initializer"
Initializer$InjectableReference: "com.google.inject.internal.Initializer$InjectableReference"
InternalFactoryToInitializableAdapter: "com.google.inject.internal.InternalFactoryToInitializableAdapter"
InternalFactoryToProviderAdapter: "com.google.inject.internal.InternalFactoryToProviderAdapter"
InternalInjectorCreator: "com.google.inject.internal.InternalInjectorCreator"
InternalProviderInstanceBindingImpl$CyclicFactory: "com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory"
InternalProviderInstanceBindingImpl$CyclicFactory$1: "com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory$1"
InternalProviderInstanceBindingImpl$Factory: "com.google.inject.internal.InternalProviderInstanceBindingImpl$Factory"
InternalProviderInstanceBindingImpl$Factory$1: "com.google.inject.internal.InternalProviderInstanceBindingImpl$Factory$1"
LifeCycleModule: "io.airlift.bootstrap.LifeCycleModule"
LocalAnnouncementHttpServerInfo: "io.airlift.http.server.LocalAnnouncementHttpServerInfo"
MembersInjectorImpl: "com.google.inject.internal.MembersInjectorImpl"
MergingServiceSelectorFactory: "io.airlift.discovery.client.MergingServiceSelectorFactory"
Net: "sun.nio.ch.Net"
ProviderInternalFactory: "com.google.inject.internal.ProviderInternalFactory"
ProviderInternalFactory$1: "com.google.inject.internal.ProviderInternalFactory$1"
ProviderMethod: "com.google.inject.internal.ProviderMethod"
ProviderToInternalFactoryAdapter: "com.google.inject.internal.ProviderToInternalFactoryAdapter"
ProvisionListenerStackCallback: "com.google.inject.internal.ProvisionListenerStackCallback"
ProvisionListenerStackCallback$Provision: "com.google.inject.internal.ProvisionListenerStackCallback$Provision"
RealMultibinder$ExtensionRealMultibinderProvider: "com.google.inject.internal.RealMultibinder$ExtensionRealMultibinderProvider"
RealMultibinder$RealMultibinderProvider: "com.google.inject.internal.RealMultibinder$RealMultibinderProvider"
Server: "io.trino.server.Server"
ServerMainModule: "io.trino.server.ServerMainModule"
ServerSocketAdaptor: "sun.nio.ch.ServerSocketAdaptor"
ServerSocketChannelImpl: "sun.nio.ch.ServerSocketChannelImpl"
ServiceAnnouncement: "io.airlift.discovery.client.ServiceAnnouncement"
ServiceSelectorProvider: "io.airlift.discovery.client.ServiceSelectorProvider"
SingleMethodInjector: "com.google.inject.internal.SingleMethodInjector"
SingleParameterInjector: "com.google.inject.internal.SingleParameterInjector"
SingletonScope$1: "com.google.inject.internal.SingletonScope$1"
TrinoServer: "io.trino.server.TrinoServer"
UncheckedIOException: "java.io.UncheckedIOException"
========================
End of classname legend:
========================
Beta Was this translation helpful? Give feedback.
All reactions