Skip to content

lost connection to webserver #8

@EvEggelen

Description

@EvEggelen

To reproduce

  1. Clean build and upload SW.
  2. Connect to device ( 192.168.4.1)
  3. Login screen shows
  4. Do a refresh in browser.
  5. You will get an error message in the log window and the connection is lost forever.
    Sometimes I see the error something like" Too many messages in the queue"

ESP32-sveltekit:
https://github.com/theelims/ESP32-sveltekit/releases/tag/v0.2.1

Added to platformio.ini
[env:nodemcu-32s]
board = nodemcu-32s
board_build.partitions = min_spiffs.csv

Hardware:
https://www.aliexpress.com/item/1005001636295529.html

[features]
build_flags =
-D FT_SECURITY=1
-D FT_MQTT=1
-D FT_NTP=1
-D FT_OTA=0 ; Not recommended, will be deprectiated in an upcomming release
-D FT_UPLOAD_FIRMWARE=1
-D FT_DOWNLOAD_FIRMWARE=1 ; requires FT_NTP=1
-D FT_SLEEP=1
-D FT_BATTERY=0

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_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:184
load:0x40078000,len:12732
␛[33m=> 0x40078000: ?? ??:0␛[0m
ho 0 tail 12 room 4
load:0x40080400,len:2908
␛[33m=> 0x40080400: _init at ??:?␛[0m
entry 0x400805c4
␛[33m=> 0x400805c4: ?? ??:0␛[0m
[ 33][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 90][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 0 - WIFI_READY
[ 189][V][WiFiGeneric.cpp:340] _arduino_event_cb(): STA Started
[ 190][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: [ - 191_ST][W
iG[neri92]E:34iF Gendrico_even042event Sloppck(
: esp_wifi_set_ps failed
[ 199][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 3 - STA_STOP
Running Firmware Version: 0.2.1
Starting software access point
[ 439][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 0 - WIFI_READY
[ 447][V][WiFiGeneric.cpp:392] _arduino_event_cb(): AP Started
[ 448][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 10 - AP_START
[ 455][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring SoftAP static IP: 192.168.4.1, MASK: 255.255.255.0, GW: 192.168.4.1
[ 462][V][WiFiGeneric.cpp:143] set_esp_interface_ip(): SoftAP: 192.168.4.1 | Gateway: 192.168.4.1 | DHCP Start: 0.0.0.0 | Netmask: 255.255.255.0
[ 474][V][WiFiGeneric.cpp:190] set_esp_interface_ip(): DHCP Server Range: 192.168.4.2 to 192.168.4.12
[ 1138][V][WiFiGeneric.cpp:395] _arduino_event_cb(): AP Stopped
[ 1138][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 11 - AP_STO 1139][V][WiFiGeneric.cpp:392] _arduino_event_cb(): AP Started
[ 1145][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 10 - AP_START
Starting captive portal on 192.168.4.1
[ 14808][V][WiFiGeneric.cpp:407] _arduino_event_cb(): AP Station Connected: MAC: 44:78:3e:f6:b0:21, AID: 1
[ 14808][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 12 - AP_STACONNECTED
[ 15063][V][WiFiGeneric.cpp:421] _arduino_event_cb(): AP Station IP Assigned:192.168.4.2
[ 15064][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 14 - AP_STAIPASSIGNED
[ 32654][W][AsyncTCP.cpp:976] _poll(): pcb is NULL
New client connected to Event Source: 1 Clients connected
[ 38216][W][AsyncTCP.cpp:976] _poll(): pcb is NULL

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions