Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
LDAP through vpn ErrorCode: 10301 - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • LDAP through vpn ErrorCode: 10301
KB0725650

LDAP through vpn ErrorCode: 10301


3827 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

This issue if  related to a JDK bug. https://bugs.openjdk.java.net/browse/JDK-8075484 

When connect with encrypted VPN LDAP test connection failed intermittent getting 10301 socket connection errors. 








Release



Error in System Log:

22:50:06.496 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : 204.68.34.195:389 
22:50:06.497 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : Communication error: 204.68.34.195:389 
22:50:06.497 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : java.net.SocketTimeoutException: connect timed out 
22:50:06.498 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : 204.68.34.194:389 
22:50:06.498 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : Communication error: 204.68.34.194:389 
22:50:06.498 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : java.net.SocketTimeoutException: connect timed out 
22:50:06.504 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : 204.68.34.193:389 
22:50:06.504 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : Communication error: 204.68.34.193:389 
22:50:06.504 Info ldap.connection.tester SYSTEM LDAP API - LDAPLogger : java.net.SocketTimeoutException: connect timed out 
22:50:06.513 Error worker.5 worker.5 txid=c179667d1bd7 SEVERE *** ERROR *** LDAP: LDAP Server: tmc.tmcaz.com URL: ldap://<ldpap server name>:389/ failed scheduled connection test. ErrorCode: 10301. ErrorMessage: Connection timed out, failed to connect to server. 

Cause

This issue related to the Java JDK library bug, is fixed in the JDK 9, ServiceNow is currently on JDK 8 

The JDK upgrade cannot apply on a single instance, it has to upgrade to all platform, right now there is no plan to upgrade JDK at ServiceNow platform 
Checking the logs I am seeing: 



Resolution


Your next step would be to take this information to the ldap server provider, Microsoft I would assume. Show them the bug 
ask what they can do to resolve. Other option would be to setup ldap to not use VPN but use a mid server:


https://docs.servicenow.com/csh?topicname=c_LDAPIntegrationViaMIDServer.html&version=latest


The vpn connection test will work if you check it. 

The telnet from the app node to the ldap server address will also work. 

This occurs intermittent when the ldap listener connection test is run from ServiceNow, you will see the error in the system logs during that time. 


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.