LDAP product tests fail with Docker for Mac
See original GitHub issueThe Presto server fails to start because it can’t talk to the LDAP server. It’s not clear if this is due to a network configuration problem with Docker or because the LDAP server is not starting or dies after starting.
2017-03-23T18:39:21.223Z ERROR main com.facebook.presto.server.PrestoServer Unable to create injector, see the following errors:
1) Error injecting constructor, java.lang.RuntimeException: javax.naming.CommunicationException: ldapserver:636 [Root exception is java.net.ConnectException: Connection refused]
at com.facebook.presto.server.security.LdapFilter.<init>(LdapFilter.java:92)
while locating com.facebook.presto.server.security.LdapFilter
at com.facebook.presto.server.security.ServerSecurityModule.lambda$setup$3(ServerSecurityModule.java:53) (via modules: com.facebook.presto.server.security.ServerSecurityModule -> io.airlift.configuration.ConditionalModule -> com.facebook.presto.server.security.ServerSecurityModule$$Lambda$27/333693383)
while locating javax.servlet.Filter annotated with @com.google.inject.multibindings.Element(setName=@io.airlift.http.server.TheServlet,uniqueId=336, type=MULTIBINDER, keyType=)
at io.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:68) (via modules: io.airlift.http.server.HttpServerModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
while locating java.util.Set<javax.servlet.Filter> annotated with @io.airlift.http.server.TheServlet()
for parameter 4 at io.airlift.http.server.HttpServerProvider.<init>(HttpServerProvider.java:72)
while locating io.airlift.http.server.HttpServerProvider
at io.airlift.http.server.HttpServerModule.configure(HttpServerModule.java:64)
while locating io.airlift.http.server.HttpServer
Caused by: java.lang.RuntimeException: javax.naming.CommunicationException: ldapserver:636 [Root exception is java.net.ConnectException: Connection refused]
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Docker failing for OpenLDAP build on m1 chip - Stack Overflow
Trying to build an OpenLDAP service in Docker but keep getting the below issues in the logs which cause it to exit.
Read more >How we spent a full day figuring out a MTU issue with docker
I created the virtualenv, fixed a bit the configuration and after few minutes, the application was running and … the LDAP login was...
Read more >Need help to get openLDAP to run - Docker Desktop for Mac
Hi,. I am new to docker and try to get a LDAP server to run. But it does not work. I do not...
Read more >Troubleshooting LDAP - GitLab Docs
If you're getting Connection Refused error messages when attempting to connect to the LDAP server, review the LDAP port and encryption settings used...
Read more >Install Elasticsearch with Docker - Elastic
Install Elasticsearch from archive on Linux or MacOS · Install Elasticsearch with .zip on Windows · Install Elasticsearch with Debian Package ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@maciejgrzybek Thanks! I had forgotten to increase the Docker memory on my new laptop. Increasing to 4GB from the default 2GB fixed it. We should update the README, since we only mention memory for the old Docker Toolbox.
@electrum : I’ll update the README