LRS Endpoints & Health

Manage NELC connection targets

← Admin Panel

What is an endpoint?

An endpoint is a complete NELC LRS target: URL, credentials, platform metadata, and sandbox flag. Each outbox row is tagged with an endpoint ID so the dispatcher always sends to the correct LRS.

Built-in endpoints

IDPurposeDefault URL
stagingSandbox — testing & portal validationlrs-license-stg/xapi/statements
productionLive NELC LRS after approvallrs-license/xapi/statements

Seeded from .env on first run. Editable in UI; cannot be deleted.

Active environment

The active endpoint determines:

Switching to a production (non-sandbox) endpoint requires confirmation.

Custom endpoints

Use + Add Endpoint for backup staging URLs, DR targets, or testing. Slug rules: lowercase, starts with a letter, 2–49 chars (a-z, 0-9, -, _).

Health status

StatusMeaning
HealthyLRS reachable; auth OK (HTTP 200 or 409)
UnhealthyTimeout, network error, or HTTP error (e.g. 401)
Not configuredMissing URL, username, or password
UnknownNever checked, or credentials changed since last check

Health checks send a lightweight probe — they do not write to the outbox. Use Check All Health or per-endpoint Health button.

Enable / disable / delete

.env variables (initial seed)

STAGING_NELC_LRS_ENDPOINT=https://lrs.nelc.gov.sa/lrs-license-stg/xapi/statements
STAGING_NELC_LRS_USERNAME=elearn_oc_edu_sa
STAGING_NELC_LRS_PASSWORD=...

PRODUCTION_NELC_LRS_ENDPOINT=https://lrs.nelc.gov.sa/lrs-license/xapi/statements
PRODUCTION_NELC_LRS_USERNAME=
PRODUCTION_NELC_LRS_PASSWORD=