Skip to main content

Known gaps

Be aware of these before treating this as production-ready:

  • Tickets work on dev only (2026-11-04). The dev gateway verifies tickets against the dev HTTP server's key route (wsTicketJwksUrl), which is live, so auth and every integration/web-console message work on dev. Staging and production are not deployed: the project is dev only for now, and neither has a key URL set.

  • Tickets are optional on dev and staging. The gateway verifies realtime tickets (see Authentication), but runs in optional mode until the mobile app sends them. In that mode a connection without a ticket still works as before: watch, unwatch and read_registers check nothing about who is asking, and every other mobile message trusts the userId it carries. Anyone who learns a user's id can act as that user on such a connection, including deleting their devices and registering a phone for their push notifications. Production runs required, which closes this. A connection with a ticket ignores userId entirely.

  • Blocking a plant does not switch its inverters off yet (2026-11-13). A blocked plant is refused to everyone and records no readings, but the shutdown (and the start on unblock) is sent only when tcpserver runs with POWER_CONTROL_ENABLED=true, which no stage does. Until then each device's shutdown stays queued and is reported to the HTTP server as SHUTDOWN_QUEUED.

  • The IP20 3K6/5K's pairing is never verified, so its logger cannot be swapped (2026-11-23). The bench Yorker 3.6 kW reports a placeholder serial (27 repeated 2s): the factory never programmed one. The server treats that as no serial, so the device is served on its logger alone, and a serial supplied at registration (inverterSn, from the label) is kept but never checked against the hardware. A logger change needs a hardware-verified serial, so update_device with a new loggerId is refused with INVERTER_UNKNOWN; to move such a unit to a new logger, delete and re-register it. A logger moved without update_device from a Modbus inverter onto one of these is refused (the protocol shows it is a different inverter), but a logger moved between two of these units cannot be detected and is served as the old device. A unit with a real serial programmed works like any other model. See IP20 3K6/5K.

  • Ending a sign-in closes its connections at once only where the event bus is on (2026-11-30). When a user ends a sign-in on the HTTP server (this device, another device, or all others), the HTTP server refuses new tickets for it right away, but a connection already authenticated with one of its tickets keeps working until that ticket runs out. Tickets last 10 minutes, and the gateway closes a connection 60 seconds after its ticket expires unless a new ticket arrives (close code 4401). So an ended sign-in's connections drop within about 11 minutes. The gateway accepts only HTTP-issued tickets, never Cognito tokens, so a sign-in's still-valid Cognito tokens cannot open a connection. Two exceptions:

    • Where the HTTP server's event bus is on, it sends access.revoked.v1 with reason SESSIONS_ENDED and the ended sign-ins' ids (originJtis), and the gateway closes those sign-ins' connections at once (plus connections whose ticket has no oj claim) and refuses their tickets; "End all sessions" closes every connection of the user. The bus is off in every stage today, so the 11-minute limit applies.
    • On a connection without a ticket (allowed while tickets are optional, see above), ending a sign-in changes nothing: it never depended on one.
  • Most role-based grants match nothing yet. Grants by operator org, tag, region or customer need plant details from the HTTP server's event bus, which is switched off in every stage. Until it is on, only grants that list plants by id and the all-plants grant work. Request tickets narrowed with plantIds. This also limits search_devices: an operator-org user finds only their own devices, their org's unbound stock and the plants their ticket lists by id.

  • Three mobile messages act on your own devices only, even with a ticket: combined (parallel) watch, update_device and delete_device. The last two are deliberate. delete_device erases a device's history, which only its owner may do, and the web console moves devices between plants with bind_device, unbind_device and transfer_device, which honour grants. Every other mobile message honours ticket grants: see Who can see what.

  • Plant membership is not checked on the mobile messages. update_device moves a device to whatever plantId the app names; plants live in the HTTP server, and the app is responsible for offering only the user's own plants. (What is checked is the target plant's inverters: a plant that already has one takes another only as an identical, confirmed-parallel Nexus — see Parallel inverters.) A logger change is safer than a plant move here: it completes only when the new logger reports the device's own inverter serial, which needs physical access to the inverter. See Updating a device.

  • Crown staff ids on rows before 2026-11-26 (RBAC-S3). The operation log, its CSV export, the device event log, get_activity_detail, command and bulk-task replies and command_status show Crown staff acting through platform access as "Crown Support" to anyone outside Crown (see Web console devices and Commands). Rows written before migration 0156 carry no flag and still show the person's id until an operator runs scripts/sql/2026-11-26_oplog_actor_via_platform_backfill.sql.

  • wss:// is not live on dev yet. It is switched on in the configuration (wsGatewayWss, see Infrastructure) and comes on with the next deploy. Until then the dev gateway is plain ws://<Elastic IP>:8090/ws, so a page served over https:// cannot connect (browsers block it as mixed content); a local console on http://localhost can. That deploy also closes the plain ws:// address, so clients must switch URLs together.

  • CloudFront to the gateway is not encrypted. With wss:// on, TLS ends at CloudFront; the hop from CloudFront to the gateway host is plain WebSocket over the internet. The gateway's port then accepts only CloudFront's addresses, but traffic on that hop can still be read. The production setup (a load balancer with its own certificate behind CloudFront) closes this.

  • Custom domain pending on dev. The wsDomainName deploy setting puts ws-gateway on our own domain (wss://<ws-gateway-host>/ws); until DNS for it is live, the URL is CloudFront's default *.cloudfront.net name, which keeps working afterwards. Clients should move to the custom domain. A ws-gateway redeploy briefly drops every connection, and CloudFront may close very long-lived connections, so clients must reconnect.

  • Origin allowlisting only protects browser clients. A native app sends no Origin header and is not checked. It is not access control; tickets are.

  • Local control over BLE bypasses the backend. The app reads and writes the inverter directly, with no access check, and the cloud only sees a changed setting on its next read. The app uploads its BLE writes to the Activity Trail afterwards with sync_ble_activity, but those entries are the app's claim: the server checks only that the device, plant and owner line up, not that the write happened. See Local control over BLE.

  • min/max are not enforced on write. They are advisory bounds copied from vendor text; see the Settings reference.

  • presence carries no online/offline status. See presence has no status.