No Jobs Appear in UI
Check:
- Stack is running:
make ps(ormake ps ENGINE=docker). - TCP listener port is correct (default
9100). - Sender is reaching the emulator host/port (not
127.0.0.1inside another container). - Sidecar logs:
make logs.
Quick test:
printf "\x1B\x40Hello ESC/POS\n\x1D\x56\x00" | nc 127.0.0.1 9100
Realtime Not Updating
- Confirm
reverbservice is up and port8081is exposed. - Verify
VITE_REVERB_*andREVERB_*env values. - UI should fall back to polling; refresh
/jobsand check browser console/network.
Parse Error / Partial Status
- Open job detail and inspect Warnings and Command Inspector.
- Check Raw Data Viewer (hex/base64).
- Some ESC/POS commands are rendered as placeholders or best-effort.
Sidecar Listener Status Stale
kiri compose exec web php artisan sidecar:sync-listeners
# Docker: docker compose exec web php artisan sidecar:sync-listeners
Prune / Retention
Dry run:
kiri compose exec web php artisan jobs:prune --dry-run
Configure PRINT_JOBS_RETENTION_DAYS in apps/web/.env.
E2E Fails
- Ensure stack is healthy at
localhost:8080. - Ports
8080/8081/9100/3001free. - Check Playwright traces in
apps/web/test-results.
Docker/Kiri Networking Confusion
If using Docker Compose or Kiri, remember container networking differs from host networking.
127.0.0.1means “this same container/machine”. From inside a container, it does not point to your host unless specially mapped.- For container-to-host access, use the runtime-appropriate host alias (often
host.docker.internal) or attach services to the same network and use service names.