Issue with reinstall anbox cloud appliance

I want reinstall and purge anbox cloud appliance.
I have run:
sudo snap remove anbox-cloud-appliance --purge
sudo snap remove lxd --purge

sudo snap install anbox-cloud-appliance
sudo snap install lxd
anbox-cloud-appliance prepare-node-script | sudo bash -ex
sudo anbox-cloud-appliance init

when I compele all step, I cannot access the stream,there is no fail ,only timeout at end.

Anbox stream failed

lost WebRTC connection
AWS g4dn.xlarge instance
ubuntu@ip-172-31-77-126:~$ nvidia-smi
Mon Aug 4 12:42:05 2025
±----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.158.01 Driver Version: 570.158.01 CUDA Version: 12.8 |
|-----------------------------------------±-----------------------±---------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 Tesla T4 Off | 00000000:00:1E.0 Off | 0 |
| N/A 35C P0 26W / 70W | 845MiB / 15360MiB | 0% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+

±----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 18894 C+G /usr/bin/anbox 118MiB |
| 0 N/A N/A 19323 C+G …anbox/bin/virgl_render_server 15MiB |
| 0 N/A N/A 20275 C+G …anbox/bin/virgl_render_server 18MiB |
| 0 N/A N/A 20555 C+G …anbox/bin/virgl_render_server 17MiB |
| 0 N/A N/A 28133 C+G /usr/bin/anbox 118MiB |
| 0 N/A N/A 28544 C+G …anbox/bin/virgl_render_server 15MiB |
| 0 N/A N/A 29519 C+G …anbox/bin/virgl_render_server 18MiB |
| 0 N/A N/A 29754 C+G …anbox/bin/virgl_render_server 17MiB |
| 0 N/A N/A 39617 C+G /usr/bin/anbox 118MiB |
| 0 N/A N/A 40090 C+G …anbox/bin/virgl_render_server 15MiB |
| 0 N/A N/A 40727 C+G /usr/bin/anbox 138MiB |
| 0 N/A N/A 41314 C+G …anbox/bin/virgl_render_server 15MiB |
| 0 N/A N/A 42190 C+G …anbox/bin/virgl_render_server 16MiB |
| 0 N/A N/A 42234 C+G …anbox/bin/virgl_render_server 18MiB |
| 0 N/A N/A 42493 C+G …anbox/bin/virgl_render_server 17MiB |
| 0 N/A N/A 43735 C+G …anbox/bin/virgl_render_server 18MiB |
| 0 N/A N/A 44030 C+G …anbox/bin/virgl_render_server 17MiB |
±----------------------------------------------------------------------------------------+
ubuntu@ip-172-31-77-126:~$ sudo lshw -short
H/W path Device Class Description

                            system         g4dn.xlarge

/0 bus Motherboard
/0/0 memory 64KiB BIOS
/0/4 processor Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
/0/4/5 memory 1536KiB L1 cache
/0/4/6 memory 24MiB L2 cache
/0/4/7 memory 35MiB L3 cache
/0/8 memory 16GiB System Memory
/0/8/0 memory 16GiB DIMM DDR4 Static column Pseudo-static Synchronous Window DRAM 2666 MHz (0.4 ns)
/0/100 bridge 440FX - 82441FX PMC [Natoma]
/0/100/1 bridge 82371SB PIIX3 ISA [Natoma/Triton II]
/0/100/1/0 system PnP device PNP0b00
/0/100/1/1 input PnP device PNP0303
/0/100/1/2 input PnP device PNP0f13
/0/100/1/3 printer PnP device PNP0400
/0/100/1/4 communication PnP device PNP0501
/0/100/1.3 generic 82371AB/EB/MB PIIX4 ACPI
/0/100/3 /dev/fb0 display Amazon.com, Inc.
/0/100/4 /dev/nvme0 storage Amazon Elastic Block Store
/0/100/4/0 hwmon0 disk NVMe disk
/0/100/4/2 /dev/ng0n1 disk NVMe disk
/0/100/4/1 /dev/nvme0n1 disk 161GB NVMe disk
/0/100/4/1/1 /dev/nvme0n1p1 volume 148GiB EXT4 volume
/0/100/4/1/e /dev/nvme0n1p14 volume 4095KiB BIOS Boot partition
/0/100/4/1/f /dev/nvme0n1p15 volume 105MiB Windows FAT volume
/0/100/4/1/10 /dev/nvme0n1p16 volume 913MiB EXT4 volume
/0/100/5 ens5 network Elastic Network Adapter (ENA)
/0/100/1e /dev/fb0 display TU104GL [Tesla T4]
/0/100/1f /dev/nvme1 storage Amazon EC2 NVMe Instance Storage
/0/100/1f/0 hwmon1 disk NVMe disk
/0/100/1f/2 /dev/ng1n1 disk NVMe disk
/0/100/1f/1 /dev/nvme1n1 disk 125GB NVMe disk
/0/100/1f/1/1 /dev/nvme1n1p1 volume 116GiB OS X ZFS partition or Solaris /usr partition
/0/100/1f/1/9 /dev/nvme1n1p9 volume 8191KiB reserved partition

Hello xzsean,
Could I ask you to ?

  1. share the system log of the running instance: amc logs <instance_id>
  2. check your browser’s console and follow the Troubleshoot streaming issues guide, dump the webrtc debug info from the webrtc session and share it with us.

Gary