# keystoneauth1.exceptions.connection module

exception keystoneauth1.exceptions.connection.ConnectFailure(message: str | None = None)

  Bases: `ConnectionError`, `RetriableConnectionFailure`

  __annotate_func__ = None
  __annotations_cache__ = {}
  __doc__ = None
  __firstlineno__ = 40
  __module__ = 'keystoneauth1.exceptions.connection'
  __static_attributes__ = ()
  message = 'Connection failure that may be retried.'

exception keystoneauth1.exceptions.connection.ConnectTimeout(message: str | None = None)

  Bases: `ConnectionError`, `RetriableConnectionFailure`

  __annotate_func__ = None
  __annotations_cache__ = {}
  __doc__ = None
  __firstlineno__ = 36
  __module__ = 'keystoneauth1.exceptions.connection'
  __static_attributes__ = ()
  message = 'Timed out connecting to service.'

exception keystoneauth1.exceptions.connection.ConnectionError(message: str | None = None)

  Bases: `ClientException`

  __annotate_func__ = None
  __annotations_cache__ = {}
  __doc__ = None
  __firstlineno__ = 32
  __module__ = 'keystoneauth1.exceptions.connection'
  __static_attributes__ = ()
  message = 'Cannot connect to API service.'

exception keystoneauth1.exceptions.connection.RetriableConnectionFailure

  Bases: `Exception`

  A mixin class that implies you can retry the most recent request.

  __annotate_func__ = None
  __annotations_cache__ = {}
  __doc__ = 'A mixin class that implies you can retry the most recent request.'
  __firstlineno__ = 26
  __module__ = 'keystoneauth1.exceptions.connection'
  __static_attributes__ = ()
  __weakref__

    list of weak references to the object

exception keystoneauth1.exceptions.connection.SSLError(message: str | None = None)

  Bases: `ConnectionError`

  __annotate_func__ = None
  __annotations_cache__ = {}
  __doc__ = None
  __firstlineno__ = 44
  __module__ = 'keystoneauth1.exceptions.connection'
  __static_attributes__ = ()
  message = 'An SSL error occurred.'

exception keystoneauth1.exceptions.connection.UnknownConnectionError(msg: str, original: Exception)

  Bases: `ConnectionError`

  An error was encountered but we don’t know what it is.

  __annotate_func__ = None
  __annotations_cache__ = {}
  __doc__ = "An error was encountered but we don't know what it is."
  __firstlineno__ = 48
  __init__(msg: str, original: Exception)
  __module__ = 'keystoneauth1.exceptions.connection'
  __static_attributes__ = ('original',)

this page last updated: 2026-07-14 15:48:40

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug