> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Verify your Livepeer Gateway on Docker, Linux, or Windows

> Confirm your Livepeer Gateway is running correctly. Health checks, end-to-end tests, and on-chain verification for video, AI, and dual-mode nodes.

# &#x20;Verify Your Gateway

Confirm your Livepeer Gateway is alive, connected, and routing jobs for {video()}, {ai()} Pipelines, or {dual()} service.

*This guide covers:*

* Health checks for {onChain()} and {offChain()} Livepeer Gateway nodes
* End-to-end tests for {video()} **Video transcoding**,  {ai()} **AI inference**,  and {dual()} **Dual-mode**  gateways
* On-chain deposit and Arbitrum RPC verification

> [!TIP]
>
> Run these checks immediately after completing the [Install](/v2/gateways/setup/install.md) and [Configure](/v2/gateways/setup/configure.md) steps. Once verification passes, proceed to [Monitor](/v2/gateways/setup/monitor.md) to set up production observability with Prometheus and Grafana.

> [tab] Docker
>
> ## &#x20;Docker Verification
>
> {dockerGroup()}
>
> ### 1. Process Health
>
> Confirm the gateway container is running and responding.
>
> **Check container status:**
>
> ```bash theme={null}
> docker ps --filter name=<container_name>
> ```
>
> **Check the health endpoint:**
>
> ```bash theme={null}
> curl http://localhost:8935/health
> ```
>
> **Expected response:**
>
> ```json theme={null}
> {"status": "OK"}
> ```
>
> HTTP 200 confirms the process is running. If the endpoint does not respond, check container logs:
>
> ```bash theme={null}
> docker logs <container_name> --tail 50
> ```
>
> > [!TIP]
> >
> > Add a `HEALTHCHECK` directive to your Dockerfile or Compose file for automatic container restarts on failure:
> >
> > ```dockerfile theme={null}
> > HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
> >   CMD curl --silent --fail http://localhost:8935/health || exit 1
> > ```
>
> ### 1. Node Status
>
> Use `livepeer_cli` inside the container to inspect node identity, sessions, and on-chain balances.
>
> ```bash theme={null}
> docker exec -it <container_name> livepeer_cli -host <container_hostname> -http 5935
> ```
>
> Select **Option 1: Get node status**. The output shows:
>
> * **Version** and network connection
>
> * **ETH Account** address
>
> * **BROADCASTER STATS** — active sessions, deposit, and reserve balances
>
> > [!WARNING]
> >
> > Use the container hostname (not `localhost`) inside Docker networking. Using `localhost` causes connection failures.
>
> **Hardware check** (for nodes with GPU resources):
>
> ```bash theme={null}
> curl -s http://localhost:8935/hardware/stats | python3 -m json.tool
> ```
>
> Returns GPU utilisation, memory, and temperature.
>
> ### 1. End-to-End Test
>
> Run a test job through the gateway to confirm full pipeline operation.
>
> > [tab] Video
> >
> > Push a test stream via RTMP and check HLS output:
> >
> > ```bash theme={null}
> > ffmpeg -re -f lavfi -i testsrc=size=1280x720:rate=30 \
> >   -c:v libx264 -preset ultrafast \
> >   -f flv rtmp://localhost:1935/live/test
> > ```
> >
> > In a separate terminal, fetch the HLS manifest:
> >
> > ```bash theme={null}
> > curl http://localhost:8935/stream/test.m3u8
> > ```
> >
> > A valid M3U8 playlist confirms transcoding is working end-to-end.
> >
> > **Also verify Orchestrator connectivity:**
> >
> > ```bash theme={null}
> > curl http://localhost:5935/getOrchestrators
> > ```
> >
> > The response should list at least one Orchestrator with pricing information.
>
> > [tab] AI
> >
> > Submit a test inference job:
> >
> > ```bash theme={null}
> > curl -X POST http://localhost:8935/text-to-image \
> >   -H "Content-Type: application/json" \
> >   -d '{
> >     "model_id": "ByteDance/SDXL-Lightning",
> >     "prompt": "a simple geometric test pattern",
> >     "width": 512,
> >     "height": 512,
> >     "num_images_per_prompt": 1
> >   }'
> > ```
> >
> > A successful response contains image data.
> >
> > **If the request fails, verify:**
> >
> > 1. The Orchestrator supports the requested pipeline (`text-to-image`)
> > 2. The `model_id` exactly matches the Orchestrator's available models (case-sensitive)
> >
> > **Off-chain mode** — confirm Orchestrators in `-orchAddr` are reachable:
> >
> > ```bash theme={null}
> > curl https://<orchestrator-address>:<port>/getOrchestratorInfo
> > ```
> >
> > **On-chain mode** — the node uses `-aiServiceRegistry` for automatic discovery. Confirm via `livepeer_cli` Option 1 that sessions are available.
>
> > [tab] Dual
> >
> > Dual gateways must pass **both** the video RTMP test and the AI inference test. Both endpoints respond on port **8935** (single port architecture).
> >
> > 1. Run the video RTMP test from the Video tab
> > 2. Run the AI inference test from the AI tab
> > 3. Both must succeed
> >
> > **Monitor GPU during the tests:**
> >
> > ```bash theme={null}
> > watch -n 10 'curl -s http://localhost:8935/hardware/stats'
> > ```
> >
> > Watch for `gpu_memory_used` approaching `gpu_memory_total`. If GPU memory is consistently above 85%, consider separating video and AI onto dedicated nodes.
>
> ### 1. On-Chain Verification
>
> > [!NOTE]
> >
> > Skip this step for **off-chain** deployments.
>
> **Test the Arbitrum RPC connection:**
>
> ```bash theme={null}
> curl -X POST <YOUR_ETH_URL> \
>   -H "Content-Type: application/json" \
>   -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
> ```
>
> A valid response contains a `result` field with a hex block number.
>
> **Verify deposit and reserve:**
>
> ```bash theme={null}
> docker exec -it <container_name> livepeer_cli -host <container_hostname> -http 5935
> ```
>
> Select **Option 1: Get node status** and check the **BROADCASTER STATS** section:
>
> * Both **Deposit** and **Reserve** must be non-zero
>
> * Minimum recommended for testing: **0.1 ETH total** (\~0.07 ETH deposit + 0.03 ETH reserve)
>
> > [!WARNING]
> >
> > When the deposit reaches zero, the gateway silently stops routing jobs with no client-facing error. Top up via `livepeer_cli` **Option 11: Deposit broadcasting funds**.
>
> **Check your gateway on Arbiscan:**
>
> Visit `https://arbiscan.io/address/<GATEWAY_ETH_ADDRESS>` to view transaction history and confirm deposits were registered on-chain.
>
> > [card] [Next Step: Monitor your Gateway](/v2/gateways/setup/monitor.md)
> >
> > Set up Prometheus, Grafana, and alert rules for production observability

> [tab] Linux
>
> ## &#x20;Linux Verification
>
> {linuxGroup()}
>
> ### 1. Process Health
>
> Confirm the gateway process is running and responding.
>
> **Check if the process is active:**
>
> ```bash theme={null}
> pgrep -a livepeer
> ```
>
> **Check the health endpoint:**
>
> ```bash theme={null}
> curl http://localhost:8935/health
> ```
>
> **Expected response:**
>
> ```json theme={null}
> {"status": "OK"}
> ```
>
> HTTP 200 confirms the process is running. If the endpoint does not respond, check your startup logs or run with `-v 6` for verbose output:
>
> ```bash theme={null}
> ./livepeer -gateway [flags] -v 6 2>&1 | tee livepeer.log
> ```
>
> > [!TIP]
> >
> > Set up a cron job to monitor gateway health automatically:
> >
> > ```bash theme={null}
> > #!/usr/bin/env bash
> > # gateway-health.sh — run every 5 minutes via cron
> > GATEWAY_PORT="${1:-8935}"
> > ALERT_EMAIL="ops@example.com"
> >
> > if ! curl --silent --fail --max-time 5 \
> >   http://localhost:${GATEWAY_PORT}/health > /dev/null 2>&1; then
> >   echo "Gateway on port ${GATEWAY_PORT} is not responding" | \
> >     mail -s "ALERT: Livepeer Gateway Down" "$ALERT_EMAIL"
> > fi
> > ```
> >
> > Crontab entry: `*/5 * * * * /path/to/gateway-health.sh 8935`
>
> ### 1. Node Status
>
> Use `livepeer_cli` to inspect node identity, sessions, and on-chain balances.
>
> ```bash theme={null}
> livepeer_cli -host 127.0.0.1 -http 5935
> ```
>
> Select **Option 1: Get node status**. The output shows:
>
> * **Version** and network connection
> * **ETH Account** address
> * **BROADCASTER STATS** — active sessions, deposit, and reserve balances
>
> **Hardware check** (for nodes with GPU resources):
>
> ```bash theme={null}
> curl -s http://localhost:8935/hardware/stats | python3 -m json.tool
> ```
>
> Returns GPU utilisation, memory, and temperature.
>
> ### 1. End-to-End Test
>
> Run a test job through the gateway to confirm full pipeline operation.
>
> > [tab] Video
> >
> > Push a test stream via RTMP and check HLS output:
> >
> > ```bash theme={null}
> > ffmpeg -re -f lavfi -i testsrc=size=1280x720:rate=30 \
> >   -c:v libx264 -preset ultrafast \
> >   -f flv rtmp://localhost:1935/live/test
> > ```
> >
> > In a separate terminal, fetch the HLS manifest:
> >
> > ```bash theme={null}
> > curl http://localhost:8935/stream/test.m3u8
> > ```
> >
> > A valid M3U8 playlist confirms transcoding is working end-to-end.
> >
> > **Also verify Orchestrator connectivity:**
> >
> > ```bash theme={null}
> > curl http://localhost:5935/getOrchestrators
> > ```
> >
> > The response should list at least one Orchestrator with pricing information.
>
> > [tab] AI
> >
> > Submit a test inference job:
> >
> > ```bash theme={null}
> > curl -X POST http://localhost:8935/text-to-image \
> >   -H "Content-Type: application/json" \
> >   -d '{
> >     "model_id": "ByteDance/SDXL-Lightning",
> >     "prompt": "a simple geometric test pattern",
> >     "width": 512,
> >     "height": 512,
> >     "num_images_per_prompt": 1
> >   }'
> > ```
> >
> > A successful response contains image data.
> >
> > **If the request fails, verify:**
> >
> > 1. The Orchestrator supports the requested pipeline (`text-to-image`)
> > 2. The `model_id` exactly matches the Orchestrator's available models (case-sensitive)
> >
> > **Off-chain mode** — confirm Orchestrators in `-orchAddr` are reachable:
> >
> > ```bash theme={null}
> > curl https://<orchestrator-address>:<port>/getOrchestratorInfo
> > ```
> >
> > **On-chain mode** — the node uses `-aiServiceRegistry` for automatic discovery. Confirm via `livepeer_cli` Option 1 that sessions are available.
>
> > [tab] Dual
> >
> > Dual gateways must pass **both** the video RTMP test and the AI inference test. Both endpoints respond on port **8935** (single port architecture).
> >
> > 1. Run the video RTMP test from the Video tab
> > 2. Run the AI inference test from the AI tab
> > 3. Both must succeed
> >
> > **Monitor GPU during the tests:**
> >
> > ```bash theme={null}
> > watch -n 10 'curl -s http://localhost:8935/hardware/stats'
> > ```
> >
> > Watch for `gpu_memory_used` approaching `gpu_memory_total`. If GPU memory is consistently above 85%, consider separating video and AI onto dedicated nodes.
>
> ### 1. On-Chain Verification
>
> > [!NOTE]
> >
> > Skip this step for **off-chain** deployments.
>
> **Test the Arbitrum RPC connection:**
>
> ```bash theme={null}
> curl -X POST <YOUR_ETH_URL> \
>   -H "Content-Type: application/json" \
>   -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
> ```
>
> A valid response contains a `result` field with a hex block number.
>
> **Verify deposit and reserve:**
>
> ```bash theme={null}
> livepeer_cli -host 127.0.0.1 -http 5935
> ```
>
> Select **Option 1: Get node status** and check the **BROADCASTER STATS** section:
>
> * Both **Deposit** and **Reserve** must be non-zero
>
> * Minimum recommended for testing: **0.1 ETH total** (\~0.07 ETH deposit + 0.03 ETH reserve)
>
> > [!WARNING]
> >
> > When the deposit reaches zero, the gateway silently stops routing jobs with no client-facing error. Top up via `livepeer_cli` **Option 11: Deposit broadcasting funds**.
>
> **Check your gateway on Arbiscan:**
>
> Visit `https://arbiscan.io/address/<GATEWAY_ETH_ADDRESS>` to view transaction history and confirm deposits were registered on-chain.
>
> > [card] [Next Step: Monitor your Gateway](/v2/gateways/setup/monitor.md)
> >
> > Set up Prometheus, Grafana, and alert rules for production observability

> [tab] Windows
>
> ## &#x20;Windows Verification
>
> {windowsGroup()}
>
> > [!WARNING]
> >
> > The Livepeer AI Gateway binary is **not available for Windows or macOS (Intel)**. Windows supports Video video transcoding only. For AI or Dual-mode gateways, use Docker on a Linux host or Docker Desktop with WSL2. See the Docker tab for AI and Dual verification.
>
> ### 1. Process Health
>
> Confirm the gateway process is running and responding.
>
> **Check if the process is active (PowerShell):**
>
> ```powershell theme={null}
> Get-Process livepeer -ErrorAction SilentlyContinue
> ```
>
> **Check the health endpoint:**
>
> ```powershell theme={null}
> Invoke-RestMethod -Uri http://localhost:8935/health
> ```
>
> **Expected response:**
>
> ```json theme={null}
> {"status": "OK"}
> ```
>
> HTTP 200 confirms the process is running.
>
> **If using WSL2:**
>
> ```bash theme={null}
> curl http://localhost:8935/health
> ```
>
> If the endpoint does not respond, check the gateway output window or restart with `-v 6` for verbose logging.
>
> ### 1. Node Status
>
> Use `livepeer_cli` to inspect node identity, sessions, and on-chain balances.
>
> **PowerShell:**
>
> ```powershell theme={null}
> .\livepeer_cli.exe -host 127.0.0.1 -http 5935
> ```
>
> **WSL2:**
>
> ```bash theme={null}
> livepeer_cli -host 127.0.0.1 -http 5935
> ```
>
> Select **Option 1: Get node status**. The output shows:
>
> * **Version** and network connection
> * **ETH Account** address
> * **BROADCASTER STATS** — active sessions, deposit, and reserve balances
>
> ### 1. End-to-End Test
>
> Run a test stream to confirm the video pipeline is working.
>
> > [!NOTE]
> >
> > Windows supports Video **transcoding only**. For AI or Dual tests, use the Docker tab.
>
> Push a test stream via RTMP:
>
> **PowerShell (with FFmpeg installed):**
>
> ```powershell theme={null}
> ffmpeg -re -f lavfi -i testsrc=size=1280x720:rate=30 `
>   -c:v libx264 -preset ultrafast `
>   -f flv rtmp://localhost:1935/live/test
> ```
>
> **WSL2:**
>
> ```bash theme={null}
> ffmpeg -re -f lavfi -i testsrc=size=1280x720:rate=30 \
>   -c:v libx264 -preset ultrafast \
>   -f flv rtmp://localhost:1935/live/test
> ```
>
> In a separate terminal, fetch the HLS manifest:
>
> ```powershell theme={null}
> Invoke-RestMethod -Uri http://localhost:8935/stream/test.m3u8
> ```
>
> A valid M3U8 playlist confirms transcoding is working end-to-end.
>
> **Also verify Orchestrator connectivity:**
>
> ```powershell theme={null}
> Invoke-RestMethod -Uri http://localhost:5935/getOrchestrators
> ```
>
> The response should list at least one Orchestrator with pricing information.
>
> ### 1. On-Chain Verification
>
> > [!NOTE]
> >
> > Skip this step for **off-chain** deployments.
>
> **Test the Arbitrum RPC connection (PowerShell):**
>
> ```powershell theme={null}
> $body = '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
> Invoke-RestMethod -Uri <YOUR_ETH_URL> -Method POST `
>   -ContentType "application/json" -Body $body
> ```
>
> A valid response contains a `result` field with a hex block number.
>
> **Verify deposit and reserve:**
>
> ```powershell theme={null}
> .\livepeer_cli.exe -host 127.0.0.1 -http 5935
> ```
>
> Select **Option 1: Get node status** and check the **BROADCASTER STATS** section:
>
> * Both **Deposit** and **Reserve** must be non-zero
>
> * Minimum recommended for testing: **0.1 ETH total** (\~0.07 ETH deposit + 0.03 ETH reserve)
>
> > [!WARNING]
> >
> > When the deposit reaches zero, the gateway silently stops routing jobs with no client-facing error. Top up via `livepeer_cli` **Option 11: Deposit broadcasting funds**.
>
> **Check your gateway on Arbiscan:**
>
> Visit `https://arbiscan.io/address/<GATEWAY_ETH_ADDRESS>` to view transaction history and confirm deposits were registered on-chain.
>
> ### 1. Port Verification
>
> If you experience connection issues, verify the gateway ports are not blocked.
>
> **Check port availability (PowerShell):**
>
> ```powershell theme={null}
> netstat -ano | findstr :8935
> netstat -ano | findstr :1935
> netstat -ano | findstr :5935
> ```
>
> | Port | Service | Purpose |
> | - | - | - |
> | **8935** | HTTP API | Health, metrics, HLS output |
> | **1935** | RTMP | Video stream ingest |
> | **5935** | CLI API | `livepeer_cli` communication |
>
> If a port is occupied by another process, find and stop it:
>
> ```powershell theme={null}
> taskkill /PID <PID> /F
> ```
>
> Or change the gateway port with the corresponding flag (e.g. `-httpAddr 0.0.0.0:9000`).
>
> > [card] [Next Step: Monitor your Gateway](/v2/gateways/setup/monitor.md)
> >
> > Set up Prometheus, Grafana, and alert rules for production observability


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.