script fixes

This commit is contained in:
Jacob Dubin
2026-04-14 21:16:23 -05:00
parent f06be66804
commit 0b9e4ee9f3
2 changed files with 15 additions and 1 deletions

View File

@@ -72,6 +72,19 @@ ASPNETCORE_URLS="https://0.0.0.0:443;http://0.0.0.0:24605" \
./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:
```bash
BASE_URL=http://localhost:24605 ./scripts/cloud/invoke-live-jibo-prep.sh
BASEURL=http://localhost:24605 ./scripts/cloud/invoke-live-jibo-prep.sh
```
4. Verify controlled routing from the Ubuntu environment:
```bash

View File

@@ -3,7 +3,7 @@ set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
BASE_URL="${BASE_URL:-https://localhost:5001}"
BASE_URL="${BASE_URL:-${BASEURL:-${BASE_URL_OLD:-http://localhost:24605}}}"
CAPTURE_DIRECTORY="${CAPTURE_DIRECTORY:-${REPO_ROOT}/captures/websocket}"
EXPECTED_HOSTS=(
"api.jibo.com"
@@ -34,5 +34,6 @@ echo " - keep the Ubuntu/Jibo routing setup in place"
echo " - keep the Node server available as a fallback"
echo " - point Jibo at the .NET server using the same controlled network settings"
echo " - perform one startup check, one chat turn, and one joke turn"
echo " - if you want to probe HTTPS directly, use BASE_URL=https://api.jibo.com with routing in place"
echo " - after the run, inspect capture output with scripts/cloud/get-websocket-capture-summary.sh"
echo " - import the best exported fixture with scripts/cloud/import-websocket-capture-fixture.py"