RuView icon indicating copy to clipboard operation
RuView copied to clipboard

0 data showing in docker web server

Open leeclay95 opened this issue 8 months ago • 4 comments

I am using a standard ESP32-S3 (16MB Flash) and flashing the v0.4.0-alpha binaries. The board connects to Wi-Fi successfully but crashes immediately when attempting to start CSI capture. I am running on kali vm but have bridged the network to ensure vm is on same subnet as host.

Steps to Reproduce:

Flash bootloader.bin, partition-table.bin, and esp32-csi-node.bin.

Provision WiFi via NVS.

Monitor Serial output.

Observe the CSI initialization failure and subsequent boot loop.

leeclay95 avatar Mar 11 '26 22:03 leeclay95

Image

error in the logs captured via minicom

E (3485) wifi:CSI not enabled in menuconfig!
_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4200a1d4
file: "./main/csi_collector.c" line 219
func: csi_collector_init
expression: esp_wifi_set_csi_config(&csi_config)

abort() was called at PC 0x4037e373 on core 0

More errors found

E (113) esp_image: image at 0x220000 has invalid magic byte (nothing flashed here?)
E (121) boot: OTA app partition slot 1 is not bootable
I (127) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=32550h (206160) map
I (172) esp_image: segment 1: paddr=00052578 vaddr=3fc9b500 size=04740h ( 18240) load
I (176) esp_image: segment 2: paddr=00056cc0 vaddr=40374000 size=09358h ( 37720) load
I (186) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d1dd8h (859608) map
I (341) esp_image: segment 4: paddr=00131e00 vaddr=4037d358 size=0e16ch ( 57708) load
I (363) boot: Loaded app from partition at offset 0x20000
I (364) boot: Disabling RNG early entropy source...
I (375) cpu_start: Multicore app
I (386) cpu_start: Pro cpu start user code

leeclay95 avatar Mar 11 '26 22:03 leeclay95

Your serial log shows the root cause:

E (3485) wifi:CSI not enabled in menuconfig!

This was a known bug in the v0.4.0 firmware — CSI capture wasn't enabled in the sdkconfig. It was fixed in v0.4.1 (PR #241).

Fix

Flash the v0.4.1 firmware:

esptool.py --chip esp32s3 --port /dev/ttyUSB0 --baud 460800 \
  write_flash 0x0 bootloader.bin 0x8000 partition-table.bin 0x20000 esp32-csi-node.bin

The image at 0x220000 has invalid magic byte warning about OTA slot 1 is harmless — it just means the secondary OTA partition is empty, which is expected on a fresh flash.

After flashing v0.4.1, the boot loop should stop and CSI data should flow to the docker web server.

ruvnet avatar Mar 13 '26 02:03 ruvnet

Fixed in v0.4.1 (PR #241) — CSI enabled in sdkconfig. Closing.

ruvnet avatar Mar 13 '26 02:03 ruvnet

How did you get to that page? Mine looks different

munozluis1015 avatar Mar 13 '26 17:03 munozluis1015