Skip to content

fix(slm): unreachable SLM counts as websocket auth failure (#21054 follow-up) #21191

Open

Description

@mrveiss

Follow-ups from unresolved review threads on merge train PR #21184, member PR #21054 (issues #20943, #20938). Not blocking.

  • autobot-backend/services/slm_client.py _on_ws_failure: any non-close failure, including an OSError from an unreachable SLM, increments _ws_auth_fail_count. After three, the client waits the maximum reconnect interval and the warning suggests checking secret alignment. Keep transport failures on normal exponential backoff and out of the authentication diagnosis.
  • Same file, connect exception handler: the "Unexpected WebSocket error" log omits the traceback; log with exc_info=True for TLS and other unexpected errors.

Acceptance criteria

  • Unreachable-SLM failures do not use the auth-failure counter or message
  • Unexpected WebSocket errors log a traceback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbugSomething isn't workingphase:M1.4Wizard and SLM: choose a mode, apply it, default models workpriority: low

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions