Error AUTH-E-EREADSTREAM: Domain Managers fail to register with Broker
search cancel

Error AUTH-E-EREADSTREAM: Domain Managers fail to register with Broker

book

Article ID: 438605

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Domain Managers fail to register with the Broker despite services showing as running, resulting in the error AUTH-E-EREADSTREAM during authority file checks․․․․

ERROR MESSAGE: "AUTH-E-EREADSTREAM-While checkFeature was reading from [path]/sm_authority encountered error --Normal successful completion"

SYMPTOMS:

  • Command ./brcontrol reports "No Domain Managers are registered with the broker".

  • Service ./sm_service show confirms BROKER and InCharge-Domain are RUNNING.

  • Attempts to manually add Domain Managers fail with connection refused errors.

  • Domain logs indicate TLS certificate validation failures and IPv6-related errors.

CONTEXT: Occurs during Domain Manager registration with the Broker in environments experiencing slowness or protocol mismatches.

IMPACT: Management console is unable to see or manage registered Smarts domains.

Environment

Smart Assurance Manager 10.1.x and older.

Cause

The issue is caused by a combination of authentication timeouts, network protocol mismatches on single-stack IPv4 systems, and TLS version incompatibility during the handshake process.

PREVENTION: Ensure the runcmd_env.sh is configured to match the specific network stack (IPv4 vs IPv6) and security requirements of the host environment during initial deployment.

Resolution

PREREQUISITES:

  • Administrative access to the Smarts installation directory.

  • Backup of the runcmd_env.sh configuration file.

STEPS:

  1. CONFIGURE AUTHORITY TIMEOUT: Increase the timeout for authentication checks to prevent premature failure.

    Path: /smarts/local/conf/runcmd_env.sh

    Action: Add or update the following parameter: SM_AUTHORITY_TIMEOUT= [appropriate-value]

    EXPECTED: System allows more time for sm_authority file reads.

  2. ENFORCE IPV4 STACK: Restrict Smarts to IPv4 to resolve errors related to IPv6 slowness on single-stack machines.

    Path: /smarts/local/conf/runcmd_env.sh

    Action: Add or update the following parameter: SM_IP_VERSIONS=v4

    EXPECTED: IPv6-related errors cease in the AMPM domain logs.

  3. UPDATE TLS PROTOCOL VERSION: Align the TLS version to resolve certificate validation crashes.

    Path: /smarts/local/conf/runcmd_env.sh

    Action: Add or update the following parameter: SM_TLS_VERSIONS=+1.2

    EXPECTED: Domain Managers connect successfully to the Broker without TLS crashes.

  4. RESTART SERVICES: Apply changes by restarting the Smarts components.

    Command: ./sm_service stop [service-name] && ./sm_service start [service-name]

VERIFY SUCCESS:

  • Run ./brcontrol to confirm Domain Managers are listed.

  • Verify no new AUTH-E-EREADSTREAM errors appear in the logs.

  • Confirm TLS handshake completes successfully.