Skip to content

Connection Issues

Use this guide when clients can’t connect or connections fail intermittently.

Terminal window
# Service health
curl http://localhost:8080/readyz
# Channel status
curl -s http://localhost:8080/observe/channels | jq
# Database connectivity
curl -s http://localhost:8080/observe/doctor | jq '.checks[] | select(.name | startswith("db"))'
Terminal window
curl -s http://localhost:8080/observe/channels | jq '.ldap'

Expected: enabled: true, running: true

If disabled: Set channels.ldap.enabled = true in config.

Terminal window
curl -s http://localhost:8080/observe/channels | jq '.ldap.bindings[].actualPort'

The actual port may differ from configured port if using ephemeral ports.

Verify traffic is allowed to the LDAP port:

Terminal window
nc -zv identity-scribe-host 10389
Terminal window
curl http://localhost:8080/startedz

If not started: Check logs for startup errors.

Terminal window
curl -s http://localhost:8080/observe/doctor | jq '.checks.db'
Terminal window
curl http://localhost:8080/readyz?verbose

Readiness requires initial sync to complete.

Terminal window
curl -s http://localhost:8080/metrics | grep -E "hikari.*(pending|active)"

If pending > 0 frequently: Increase pool sizes.

Check ingest lag:

Terminal window
curl -s http://localhost:8080/observe/stats/ingest | jq '.entry_types[].lag_seconds'

High lag may indicate source LDAP connectivity issues.

Increase timeouts if network is slow:

ldap.soTimeout = 30000
database.queryHttpAcquisitionTimeout = 10s
CheckCommand
PostgreSQL runningpg_isready -h localhost -p 5432
Credentials correctCheck SCRIBE_DATABASE_USER/PASSWORD
SSL requiredSet ?sslmode=require in URL
Network reachablenc -zv db-host 5432
Pool not exhaustedCheck hikaricp_connections_pending