question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LDAP product tests fail with Docker for Mac

See original GitHub issue

The 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:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
electrumcommented, Mar 28, 2017

@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.

0reactions
sanjay990commented, Mar 28, 2017

@electrum : I’ll update the README

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found