Code Monkey home page Code Monkey logo

Comments (2)

Meloknight89 avatar Meloknight89 commented on June 12, 2024

It would be greatly appreciated if I could receive some assistance with this matter. In the meantime, we have made some additional findings. We have observed that the service becomes unresponsive due to the LDAP server failing to handle search queries properly. Upon examining the access logs on the LDAP server, the following warning message appears on the CA below:

[CertStatusUpdateTask] WARNING: CertStatusUpdateTask: CertRecordPagedList: Error to get a new page
java.lang.RuntimeException: CertRecordPagedList: Error to get a new page
at com.netscape.cmscore.dbs.RecordPagedList.(RecordPagedList.java:46)
at com.netscape.cmscore.dbs.CertificateRepository.findPagedCertRecords(CertificateRepository.java:1269)
at com.netscape.cmscore.dbs.CertificateRepository.getRevokedCertsByNotAfterDate(CertificateRepository.java:1970)
at com.netscape.cmscore.dbs.CertStatusUpdateTask.updateRevokedExpiredCertificates(CertStatusUpdateTask.java:128)
at com.netscape.cmscore.dbs.CertStatusUpdateTask.updateCertStatus(CertStatusUpdateTask.java:167)
at com.netscape.cmscore.dbs.CertStatusUpdateTask.run(CertStatusUpdateTask.java:198)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: Unable to search LDAP record: Failed to send request
at com.netscape.cmscore.dbs.LDAPPagedSearch.getPage(LDAPPagedSearch.java:129)
at com.netscape.cmscore.dbs.LDAPPagedSearch.getPage(LDAPPagedSearch.java:76)
at com.netscape.cmscore.dbs.RecordPagedList.(RecordPagedList.java:44)
... 11 more
Caused by: netscape.ldap.LDAPException: Failed to send request (80)
at netscape.ldap.LDAPConnection.sendRequest(LDAPConnection.java:1875)
at netscape.ldap.LDAPConnection.search(LDAPConnection.java:2617)
at com.netscape.cmscore.dbs.LDAPPagedSearch.getPage(LDAPPagedSearch.java:118)
... 13 more

In the LDAP server access log, we can see the following entries:

[26/Apr/2024:19:11:17.634742447 +0200] conn=163 fd=157 slot=157 SSL connection from x.x.x.x to x.x.x.x
[26/Apr/2024:19:11:17.641196105 +0200] conn=163 TLS1.3 128-bit AES-GCM
[26/Apr/2024:19:11:17.642141920 +0200] conn=163 op=0 BIND dn="cn=Directory Manager" method=128 version=3
[26/Apr/2024:19:11:17.642308589 +0200] conn=163 op=0 RESULT err=0 tag=97 nentries=0 wtime=0.007012918 optime=0.000186442 etime=0.007192975 dn="cn=directory manager"
[26/Apr/2024:19:11:17.642806488 +0200] conn=163 op=1 SRCH base="ou=certificateRepository,ou=ca,dc=ca,dc=pki,dc=domain,dc=com" scope=1 filter="(&(certStatus=VALID)(notAfter<=20240426171117Z))" attrs="objectClass serialno notBefore notAfter duration extension subjectName issuerName userCertificate version algorithmId signingAlgorithmId publicKeyData"
[26/Apr/2024:19:11:17.643079624 +0200] conn=163 op=1 RESULT err=0 tag=101 nentries=0 wtime=0.000176064 optime=0.000277317 etime=0.000442265 notes=P details="Paged Search" pr_idx=0 pr_cookie=-1
[26/Apr/2024:19:11:17.643952845 +0200] conn=163 op=-1 fd=157 closed error - B1

The "B1 Closed Error" suggests issues with network problems or improper LDAP client operations, such as a client aborting before receiving all the results. However, it cannot be due to network problems, as spawning the PKI instance would not work, which is not the case here.

Thanks in advance and Best Regards,
Joel

from pki.

jchapma avatar jchapma commented on June 12, 2024

Hi Joel, apologies for the delay, I am looking into this issue now

from pki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.