Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI inaccessible #3105

Closed
CFenner opened this issue Jun 9, 2024 · 0 comments
Closed

WebUI inaccessible #3105

CFenner opened this issue Jun 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CFenner
Copy link
Contributor

CFenner commented Jun 9, 2024

The Problem

I have 4 watermeters with AI on the edge, one of them I cannot setup as the web ui is inaccessible.

I tried another SD card and flashed the esp several times, behavior is always the same. Could this be an hardware issue?

Version

latest

Logfile

I (17646) LOGFILE: Set log level to ERROR
W (17686) FLOWCTRL: Rebooting to activate new RSSITHRESHOLD ...
I (17686) OTA: Reboot triggered by Software (5s)
W (17686) OTA: Reboot in 5sec
E (20696) wifi:NAN WiFi stop
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7664
load:0x40078000,len:15360
load:0x40080400,len:3744
entry 0x4008067c
I (27) boot: ESP-IDF 4.3.2 2nd stage bootloader
I (27) boot: compile time 20:02:47
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed      : 40MHz
I (41) boot.esp32: SPI Mode       : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label            Usage          Type ST Offset   Length
I (67) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (74) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (82) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (89) boot:  3 ota_0            OTA app          00 10 00010000 001db000
I (97) boot:  4 ota_1            OTA app          00 11 001f0000 001db000
I (104) boot: End of partition table
I (109) boot_comm: chip revision: 1, min. application chip revision: 0
I (116) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=40014h (262164) map
I (225) esp_image: segment 1: paddr=0005003c vaddr=3ffb0000 size=040e8h ( 16616) load
I (232) esp_image: segment 2: paddr=0005412c vaddr=40080000 size=0beech ( 48876) load
I (253) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=1100f4h (1114356) map
I (680) esp_image: segment 4: paddr=0017011c vaddr=4008beec size=0e354h ( 58196) load
I (718) boot: Loaded app from partition at offset 0x10000
I (718) boot: Disabling RNG early entropy source...
I (730) cpu_start: Multicore app
I (730) quad_psram: This chip is ESP32-D0WD
I (730) esp_psram: Found 8MB PSRAM device
I (730) esp_psram: Speed: 40MHz
I (734) esp_psram: PSRAM initialized, cache is in low/high (2-core) mode.
W (741) esp_psram: Virtual address not enough for PSRAM, map as much as we can. 4MB is mapped
I (749) cpu_start: Pro cpu up.
I (752) cpu_start: Starting app cpu, entry point is 0x40082e0c
I (744) cpu_start: App cpu up.
I (1633) esp_psram: SPI SRAM memory test OK
I (1642) cpu_start: Pro cpu start user code
I (1642) cpu_start: cpu freq: 160000000 Hz
I (1642) cpu_start: Application information:
I (1643) cpu_start: Project name:     AI-on-the-edge
I (1647) cpu_start: App version:      v15.7.0
I (1651) cpu_start: Compile time:     Feb 17 2024 00:03:24
I (1657) cpu_start: ELF file SHA256:  71b36fda6e4066fa...
I (1662) cpu_start: ESP-IDF:          5.1.2
I (1666) cpu_start: Min chip rev:     v0.0
I (1670) cpu_start: Max chip rev:     v3.99 
I (1674) cpu_start: Chip rev:         v1.0
I (1678) heap_init: Initializing. RAM available for dynamic allocation:
I (1684) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1689) heap_init: At 3FFBC688 len 00023978 (142 KiB): DRAM
I (1694) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1700) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1705) heap_init: At 4009A240 len 00005DC0 (23 KiB): IRAM
I (1711) esp_psram: Adding pool of 4082K of PSRAM memory to heap allocator
I (1719) spi_flash: detected chip: generic
I (1721) spi_flash: flash io: dio
I (1736) app_start: Starting scheduler on CPU0
I (1736) app_start: Starting scheduler on CPU1
I (1736) main_task: Started on CPU0
I (1746) esp_psram: Reserving pool of 40K of internal memory for DMA/internal allocations
I (1746) main_task: Calling app_main()
I (1746) MAIN: 



================ Start app_main =================
I (1866) MAIN: =================================================
I (1876) MAIN: ==================== Start ======================
I (1886) MAIN: =================================================
I (1886) MAIN: PSRAM size: 8388608 byte (8MB / 64MBit)
I (1896) MAIN: Total heap: 4380199 byte
I (1906) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (3906) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2 
I (3906) cam_hal: cam init ok
I (3906) sccb: pin_sda 26 pin_scl 27
I (3906) sccb: sccb_i2c_port=1
I (3906) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (3946) camera: Detected camera at address=0x30
I (3946) camera: Detected OV2640 camera
I (3946) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2
I (4026) cam_hal: buffer_size: 32768, half_buffer_size: 4096, node_buffer_size: 2048, node_cnt: 16, total_cnt: 15
I (4026) cam_hal: Allocating 61440 Byte frame buffer in PSRAM
I (4036) cam_hal: cam config ok
I (4036) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8
I (6116) MAIN: Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
I (6116) SDCARD: Basic R/W check started...
I (6146) SDCARD: Basic R/W check successful
I (6196) SNTP: TimeServer not defined, using default: pool.ntp.org
I (6206) SNTP: Configuring NTP Client...
I (6216) SNTP: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
I (6216) SNTP: time zone: +0200 Delta to UTC: 7200 seconds
I (6226) SNTP: Time is already set: 2024-06-08 23:10:14
I (6246) MAIN: CPU frequency: 160 MHz
I (6256) OTA: Start CheckOTAUpdateCheck...
I (6276) OTA: SHA-256 for the partition table: : 9d4a2809ae90fb20709a8ca3dd3ac3462e1e73286bcd31b689060c91de06fa3a
I (6296) OTA: SHA-256 for bootloader: : 4a9573dafac5d5c79c43e5a356568332da3a99dd2e220da6ceeadc96d32708a2
I (6676) OTA: SHA-256 for current firmware: : 9a05b58889422bcde87ba674b3146abea61153f01a9043d02ab6712d64cd4a6f
I (6716) SDCARD: Folder/file presence check started...
I (6756) SDCARD: Folder/file presence check successful
I (6776) MAIN: Tag: 'v15.7.0', Release: v15.7.0 (Commit: 0d0b018+), Date/Time: 2024-02-17 00:15, Web UI: Release: v15.7.0 (Commit: 0d0b018+)
I (6816) MAIN: Reset reason: Via esp_restart
I (6826) WLANINI: SSID: ...
I (6836) WLANINI: Password: XXXXXXXX
I (6846) WLANINI: Hostname: ESP32-Wasserzaehler-OG
I (6856) WLANINI: DNS: 192.168.5.50
I (6856) WLANINI: RSSIThreshold: -75
I (6866) MAIN: WLAN config loaded, init WIFI...
I (6876) WIFI: Automatic interface config --> Use DHCP service
I (6896) wifi:wifi driver task: 3ffcff14, prio:23, stack:6144, core=0
I (6906) wifi:wifi firmware version: 91b9630
I (6906) wifi:wifi certification version: v7.0
I (6906) wifi:config NVS flash: enabled
I (6916) wifi:config nano formating: enabled
I (6916) wifi:Init data frame dynamic rx buffer num: 16
I (6916) wifi:Init static rx mgmt buffer num: 5
I (6926) wifi:Init management short buffer num: 32
I (6926) wifi:Init static tx buffer num: 16
I (6936) wifi:Init tx cache buffer num: 16
I (6936) wifi:Init static rx buffer size: 1600
I (6936) wifi:Init static rx buffer num: 16
I (6946) wifi:Init dynamic rx buffer num: 16
I (6946) wifi_init: rx ba win: 16
I (6956) wifi_init: tcpip mbox: 32
I (6956) wifi_init: udp mbox: 6
I (6956) wifi_init: tcp mbox: 6
I (6956) wifi_init: tcp tx win: 5744
I (6966) wifi_init: tcp rx win: 5744
I (6966) wifi_init: tcp mss: 1440
I (6966) wifi_init: WiFi/LWIP prefer SPIRAM
I (6976) wifi_init: WiFi IRAM OP enabled
I (6976) wifi_init: WiFi RX IRAM OP enabled
I (6986) phy_init: phy_version 4780,16b31a7,Sep 22 2023,20:42:16
I (7066) wifi:mode : sta (40:22:d8:04:e4:14)
I (7076) wifi:enable tsf
I (7076) WIFI: Set hostname to: ESP32-Wasserzaehler-OG
I (7086) WIFI: Init successful
I (9486) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
I (9496) wifi:state: init -> auth (b0)
I (9506) wifi:state: auth -> assoc (0)
I (9526) wifi:state: assoc -> run (10)
I (9726) wifi:connected with ..., aid = 2, channel 6, BW20, bssid = ea:38:83:25:33:92
I (9726) wifi:security: WPA2-PSK, phy: bgn, rssi: -44
I (9736) wifi:pm start, type: 1

I (9736) WIFI: Connected to: ..., RSSI: -44
I (9806) wifi:<ba-add>idx:0 (ifx:0, ea:38:83:25:33:92), tid:6, ssn:3, winSize:64
I (9826) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (10736) esp_netif_handlers: sta ip: ..., mask: ..., gw: ...
I (10736) WIFI: Assigned IP: ...
I (13736) wifi:<ba-add>idx:1 (ifx:0, ea:38:83:25:33:92), tid:0, ssn:0, winSize:64
I (13766) SNTP: Time is synced with NTP Server pool.ntp.org: 2024-06-08 23:10:21
I (15096) MAIN: Device info: CPU cores: 2, Chip revision: 100
I (15096) MAIN: SD card info: Name: SH32G, Capacity: 30436MB, Free: 30412MB
I (17106) MAIN SERVER: Starting server on port: '80'
I (17106) MAIN SERVER: Registering URI handlers
I (17106) MAINCTRL: server_main_flow_task - Registering URI handlers
I (17106) OTA: Registering URI handlers
I (17106) GPIO: start GpioHandler
I (17116) GPIO: register GPIO Uri
I (17116) GPIO: server_GPIO - Registering URI handlers
I (17116) MAIN: Initialization completed successfully
I (17136) main_task: Returned from app_main()
I (17176) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8
I (19276) LOGFILE: Set log level to ERROR
I (19286) GPIO: read GPIO config and init GPIO
I (19306) GPIO: GPIO init completed, handler is disabled
I (19306) MAINCTRL: We are in Setup Mode -> Not starting Auto Flow!
I (28886) MAINCTRL: Autostart is not enabled -> Not starting Flow
W (47766) httpd_txrx: httpd_sock_err: error in send : 104
E (47766) SERVER HELP: File sending failed!
W (47766) httpd_txrx: httpd_sock_err: error in send : 104
W (47766) httpd_txrx: httpd_resp_send_err: 500 Internal Server Error - Failed to send file
W (47776) httpd_txrx: httpd_resp_send_err: error calling setsockopt : 22
W (47786) httpd_txrx: httpd_sock_err: error in send : 128
W (47786) httpd_txrx: httpd_sock_err: error in send : 128
W (47796) httpd_uri: httpd_uri: uri handler execution failed
W (48066) httpd_txrx: httpd_sock_err: error in send : 104
E (48066) SERVER HELP: File sending failed!
W (48066) httpd_txrx: httpd_sock_err: error in send : 104
W (48076) httpd_txrx: httpd_resp_send_err: 500 Internal Server Error - Failed to send file
W (48076) httpd_txrx: httpd_resp_send_err: error calling setsockopt : 22
W (48086) httpd_txrx: httpd_sock_err: error in send : 128
W (48096) httpd_txrx: httpd_sock_err: error in send : 128
W (48096) httpd_uri: httpd_uri: uri handler execution failed
W (690516) httpd_txrx: httpd_sock_err: error in recv : 104
Terminal disconnected: NetworkError: The device has been lost.

Expected Behavior

No response

Screenshots

No response

Additional Context

No response

@CFenner CFenner added the bug Something isn't working label Jun 9, 2024
Repository owner locked and limited conversation to collaborators Jun 9, 2024
@caco3 caco3 converted this issue into discussion #3106 Jun 9, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant