3.9 KiB
Live Jibo .NET Test Runbook
Goal
Run the first real Jibo -> .NET OpenJibo cloud test on the Ubuntu machine using the same working certificate and controlled routing that currently work with the Node server.
This runbook intentionally avoids introducing Azure, new hostnames, or new robot bootstrap changes during the first live test.
Recommended Approach
Use the existing Ubuntu networking path and certificate material first.
- keep the current controlled Wi-Fi / routing arrangement
- keep the current Jibo-facing hostnames:
api.jibo.comapi-socket.jibo.comneo-hub.jibo.com
- keep the Node server available as a fallback
- run the
.NETAPI with the same cert/key material by converting it to a temporary.pfxfor Kestrel
Prerequisites On Ubuntu
Install or confirm these tools:
dotnetopensslcurlpython3
Optional but useful:
pwsh
pwsh is not required anymore for the Ubuntu live test path if you use the bash/python helpers added here.
Certificate Plan
The Node server currently uses:
cert.pemkey.pem
The .NET API can reuse that same material for the test by converting it at startup into a temporary .pfx.
If your current cert file already includes the working chain, use it as-is.
If your chain is separate, pass it as CHAIN_PEM.
Step By Step
-
On Ubuntu, stop the Node server if it is currently bound to port
443. -
From the repo root, start the
.NETcloud using the same cert/key:
./scripts/cloud/start-dotnet-with-node-cert.sh
Optional environment overrides:
CERT_PEM=/path/to/cert.pem \
KEY_PEM=/path/to/key.pem \
CHAIN_PEM=/path/to/chain.pem \
ASPNETCORE_URLS="https://0.0.0.0:443;http://0.0.0.0:24605" \
./scripts/cloud/start-dotnet-with-node-cert.sh
- In another terminal, run the prep checklist:
./scripts/cloud/invoke-live-jibo-prep.sh
By default this uses the local HTTP port exposed by the launcher:
http://localhost:24605
That avoids certificate-name validation issues during preflight.
If you want to override it, either of these works:
BASE_URL=http://localhost:24605 ./scripts/cloud/invoke-live-jibo-prep.sh
BASEURL=http://localhost:24605 ./scripts/cloud/invoke-live-jibo-prep.sh
- Verify controlled routing from the Ubuntu environment:
./scripts/bootstrap/test-openjibo-routing.sh
-
Power on Jibo and let it connect using the existing controlled network configuration.
-
Perform the first live checks in this order:
- startup / bootstrap reachability
- one simple chat turn
- one joke turn
- After the run, summarize the captured websocket telemetry:
./scripts/cloud/get-websocket-capture-summary.sh
- Inspect exported fixtures under:
captures/websocket/fixtures/
- Import the best fixture into the checked-in websocket fixture set:
python3 ./scripts/cloud/import-websocket-capture-fixture.py \
/path/to/exported.flow.json \
neo-hub-real-jibo-first-chat
- Keep notes on:
- whether startup succeeded cleanly
- which websocket paths connected
- whether audio stayed pending or finalized
- whether EOS timing matched expectations
- whether any unexpected message families appeared
What To Do If The Test Fails
If the robot does not connect or the first turn fails:
- confirm the
.NETAPI is actually bound on443 - confirm the cert presented by the
.NETAPI matches the currently working Node cert path - confirm the Ubuntu routing still points Jibo traffic at the same machine
- compare the
.NETwebsocket capture output with prior Node logs - temporarily switch back to Node to confirm the environment still works
Not In Scope For This First Test
Do not mix these into the first live run:
- Azure deployment cutover
- new permanent OpenJibo hostnames
- IaC rollout
- new device bootstrap edits beyond the already working setup
Those are valid next steps, but they should follow the first successful .NET live capture, not precede it.