Skip to main content
Connection errors that can occur during XMPP connection establishment and maintenance.

Error Constants

CONFERENCE_REQUEST_FAILED

Value: connection.conferenceRequestFailed Cause: The conference request to jicofo (Jitsi Conference Focus) fails. When it occurs:
  • Jicofo service is unavailable or unreachable
  • Network issues preventing communication with jicofo
  • Invalid conference configuration
Handling recommendations:

CONNECTION_DROPPED_ERROR

Value: connection.droppedError Cause: Connection was unexpectedly closed due to networking issues (not on user’s request). When it occurs:
  • BOSH session times out after 60 seconds of inactivity
  • Network connectivity is lost
  • Prosody throws ‘item-not-found’ error due to session timeout
  • BOSH request sent with unknown session-id
Handling recommendations:

NOT_LIVE_ERROR

Value: connection.notLiveError Cause: The conference is not ready according to jicofo. When it occurs:
  • Conference has not been fully initialized on the server
  • Jicofo is still setting up conference resources
  • Conference may have been shut down
Handling recommendations:

OTHER_ERROR

Value: connection.otherError Cause: Unspecified or unknown connection errors. When it occurs:
  • Errors that don’t fit into other specific categories
  • Unexpected server responses
  • Protocol-level errors
Handling recommendations:

PASSWORD_REQUIRED

Value: connection.passwordRequired Cause: A password is required to join the conference. When it occurs:
  • Conference room is password-protected
  • Attempting to join without providing credentials
Handling recommendations:

SERVER_ERROR

Value: connection.serverError Cause: Connection dropped due to too many 5xx HTTP errors on BOSH requests. When it occurs:
  • Server experiencing internal errors
  • Backend services failing repeatedly
  • Infrastructure issues on the server side
Handling recommendations:

SHARD_CHANGED_ERROR

Value: connection.shardChangedError Cause: Connection was dropped because the conference was moved to a new shard. When it occurs:
  • Server infrastructure is rebalancing conferences
  • Conference migrated to different server instance
  • Load balancing operations
Handling recommendations:

Usage Example

See Also