-
Notifications
You must be signed in to change notification settings - Fork 32
lost connection to webserver #8
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
Comments
I'll try to reproduce this bug as soon as I'm in front of a dev board. |
I've tried to reproduce this behaviour on a ESP32 board and an ESP32-S3 board. Both refresh the login page as expected. I'm unable to reproduce this bug. Can you give me some more details on how it is failing? What does the log exactly show when the server is not refreshing? |
I tried to reproduce today. But I do not get consistent results. I will investigate further. Let you know. I do get warning during build. Is that "normal", or is that a build problem on my side ?
Processing nodemcu-32s (board: nodemcu-32s; framework: arduino; platform: espressif32)Verbose mode can be enabled via up to date, audited 294 packages in 987ms 67 packages are looking for funding found 0 vulnerabilities
vite v4.4.8 building SSR bundle for production... with click handler must have an ARIA role
131: 132: 133: <div ^ 134: slot="backdrop" 135: class="fixed inset-0 z-40 max-h-full max-w-full bg-black/20 backdrop-blur" 9:12:31 PM [vite-plugin-svelte] /src/routes/+layout.svelte:13:11 Layout has unused export property 'data'. If it is for external reference only, please consider using export const data 11: import Statusbar from "./statusbar.svelte"; 12: import Login from "./login.svelte"; 13: export let data; ^ 14: onMount(() => { 15: if ($user.bearer_token !== "") { 9:12:32 PM [vite-plugin-svelte] /src/routes/menu.svelte:173:3 A11y: with click handler must have an ARIA role 171: {$user.username} 172: 173: <div ^ 174: class="btn btn-ghost" 175: on:click={() => { 9:12:32 PM [vite-plugin-svelte] /src/lib/components/InputPassword.svelte:15:2 A11y: with click handler must have an ARIA role 13: 14: 15: <svg ^ 16: xmlns="http://www.w3.org/2000/svg" 17: class="text-base-content/50 h-6 {show ? 'block' : 'hidden'}" 9:12:32 PM [vite-plugin-svelte] /src/lib/components/InputPassword.svelte:37:2 A11y: with click handler must have an ARIA role 35: 36: 37: <svg ^ 38: xmlns="http://www.w3.org/2000/svg" 39: class="text-base-content/50 h-6 {show ? 'hidden' : 'block'}" 9:12:32 PM [vite-plugin-svelte] /src/routes/wifi/Scan.svelte:101:8 A11y: with click handler must have an ARIA role 99: 100: 101: <div ^ 102: class="bg-base-200 rounded-btn my-1 flex items-center space-x-3 hover:scale-[1.02] active:scale-[0.98]" 103: on:click={() => { 🌼 daisyUI 3.5.1 https://daisyui.com
✓ 201 modules transformed. vite v4.4.8 building for production... with click handler must have an ARIA role 131: 132: 133: <div ^ 134: slot="backdrop" 135: class="fixed inset-0 z-40 max-h-full max-w-full bg-black/20 backdrop-blur" 9:12:35 PM [vite-plugin-svelte] /src/routes/+layout.svelte:13:11 Layout has unused export property 'data'. If it is for external reference only, please consider using export const data 11: import Statusbar from "./statusbar.svelte"; 12: import Login from "./login.svelte"; 13: export let data; ^ 14: onMount(() => { 15: if ($user.bearer_token !== "") { 9:12:35 PM [vite-plugin-svelte] /src/routes/demo/+page.svelte:2:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data 1: <script lang="ts">import Demo from "./Demo.svelte"; 2: export let data; ^ 3: </script> 4: 9:12:35 PM [vite-plugin-svelte] /src/routes/connections/mqtt/+page.svelte:3:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data 1: <script lang="ts">import MQTT from "./MQTT.svelte"; 2: import MqttConfig from "./MQTTConfig.svelte"; 3: export let data; ^ 4: </script> 5: 9:12:35 PM [vite-plugin-svelte] /src/routes/system/update/+page.svelte:6:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data 4: import { user } from "$lib/stores/user"; 5: import { page } from "$app/stores"; 6: export let data; ^ 7: </script> 8: 9:12:35 PM [vite-plugin-svelte] /src/routes/user/+page.svelte:20:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data 18: import Cancel from "~icons/tabler/x"; 19: import Check from "~icons/tabler/check"; 20: export let data; ^ 21: let securitySettings; 22: async function getSecuritySettings() { 9:12:35 PM [vite-plugin-svelte] /src/routes/wifi/+page.svelte:3:11 Page has unused export property 'data'. If it is for external reference only, please consider using export const data 1: <script lang="ts">import Accesspoint from "./Accesspoint.svelte"; 2: import Wifi from "./Wifi.svelte"; 3: export let data; ^ 4: </script> 5: 9:12:36 PM [vite-plugin-svelte] /src/routes/menu.svelte:173:3 A11y: with click handler must have an ARIA role 171: {$user.username} 172: 173: <div ^ 174: class="btn btn-ghost" 175: on:click={() => { 9:12:36 PM [vite-plugin-svelte] /src/lib/components/InputPassword.svelte:15:2 A11y: with click handler must have an ARIA role 13: 14: 15: <svg ^ 16: xmlns="http://www.w3.org/2000/svg" 17: class="text-base-content/50 h-6 {show ? 'block' : 'hidden'}" 9:12:36 PM [vite-plugin-svelte] /src/lib/components/InputPassword.svelte:37:2 A11y: with click handler must have an ARIA role 35: 36: 37: <svg ^ 38: xmlns="http://www.w3.org/2000/svg" 39: class="text-base-content/50 h-6 {show ? 'hidden' : 'block'}" 9:12:38 PM [vite-plugin-svelte] /src/routes/wifi/Scan.svelte:101:8 A11y: with click handler must have an ARIA role 99: 100: 101: <div ^ 102: class="bg-base-200 rounded-btn my-1 flex items-center space-x-3 hover:scale-[1.02] active:scale-[0.98]" 103: on:click={() => { ✓ 209 modules transformed. rendering chunks... computing gzip size... .svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB .svelte-kit/output/client/vite-manifest.json 11.81 kB │ gzip: 1.17 kB .svelte-kit/output/client/_app/immutable/assets/logo.png 19.39 kB .svelte-kit/output/client/_app/immutable/assets/0.css 75.83 kB │ gzip: 11.84 kB .svelte-kit/output/client/_app/immutable/chunks/navigation.js 0.07 kB │ gzip: 0.08 kB .svelte-kit/output/client/_app/immutable/chunks/logo.js 0.08 kB │ gzip: 0.10 kB .svelte-kit/output/client/_app/immutable/nodes/3.js 0.19 kB │ gzip: 0.18 kB .svelte-kit/output/client/_app/immutable/nodes/7.js 0.19 kB │ gzip: 0.18 kB .svelte-kit/output/client/_app/immutable/chunks/stores.js 0.23 kB │ gzip: 0.16 kB .svelte-kit/output/client/_app/immutable/chunks/notifications.js 0.54 kB │ gzip: 0.33 kB .svelte-kit/output/client/_app/immutable/chunks/each.js 0.89 kB │ gzip: 0.53 kB .svelte-kit/output/client/_app/immutable/chunks/index3.js 0.92 kB │ gzip: 0.56 kB .svelte-kit/output/client/_app/immutable/chunks/await_block.js 0.94 kB │ gzip: 0.51 kB .svelte-kit/output/client/_app/immutable/chunks/info-circle.js 0.97 kB │ gzip: 0.58 kB .svelte-kit/output/client/_app/immutable/chunks/clock-check.js 0.98 kB │ gzip: 0.59 kB .svelte-kit/output/client/_app/immutable/chunks/reload.js 1.00 kB │ gzip: 0.61 kB .svelte-kit/output/client/_app/immutable/chunks/users.js 1.02 kB │ gzip: 0.60 kB .svelte-kit/output/client/_app/immutable/chunks/device-floppy.js 1.02 kB │ gzip: 0.60 kB .svelte-kit/output/client/_app/immutable/chunks/alert-triangle.js 1.04 kB │ gzip: 0.62 kB .svelte-kit/output/client/_app/immutable/chunks/stethoscope.js 1.06 kB │ gzip: 0.63 kB .svelte-kit/output/client/_app/immutable/chunks/topology-star-3.js 1.18 kB │ gzip: 0.62 kB .svelte-kit/output/client/_app/immutable/chunks/Spinner.js 1.67 kB │ gzip: 0.91 kB .svelte-kit/output/client/_app/immutable/chunks/utils.js 1.74 kB │ gzip: 0.81 kB .svelte-kit/output/client/_app/immutable/nodes/1.js 1.77 kB │ gzip: 0.91 kB .svelte-kit/output/client/_app/immutable/nodes/2.js 2.25 kB │ gzip: 1.10 kB .svelte-kit/output/client/_app/immutable/chunks/singletons.js 2.50 kB │ gzip: 1.28 kB .svelte-kit/output/client/_app/immutable/chunks/Collapsible.js 3.05 kB │ gzip: 1.49 kB .svelte-kit/output/client/_app/immutable/chunks/index2.js 3.28 kB │ gzip: 1.60 kB .svelte-kit/output/client/_app/immutable/chunks/InputPassword.js 3.38 kB │ gzip: 1.43 kB .svelte-kit/output/client/_app/immutable/chunks/ConfirmDialog.js 5.08 kB │ gzip: 2.30 kB .svelte-kit/output/client/_app/immutable/chunks/SettingsCard.js 5.28 kB │ gzip: 2.22 kB .svelte-kit/output/client/_app/immutable/chunks/index.js 5.76 kB │ gzip: 2.80 kB .svelte-kit/output/client/_app/immutable/chunks/RSSIIndicator.js 6.77 kB │ gzip: 1.66 kB .svelte-kit/output/client/_app/immutable/chunks/scheduler.js 7.42 kB │ gzip: 2.99 kB .svelte-kit/output/client/_app/immutable/chunks/compareVersions.js 8.54 kB │ gzip: 3.29 kB .svelte-kit/output/client/_app/immutable/nodes/6.js 8.61 kB │ gzip: 3.49 kB .svelte-kit/output/client/_app/immutable/chunks/x.js 8.77 kB │ gzip: 3.85 kB .svelte-kit/output/client/_app/immutable/entry/app.js 10.23 kB │ gzip: 2.78 kB .svelte-kit/output/client/_app/immutable/nodes/10.js 19.28 kB │ gzip: 6.82 kB .svelte-kit/output/client/_app/immutable/nodes/9.js 20.71 kB │ gzip: 6.44 kB .svelte-kit/output/client/_app/immutable/entry/start.js 24.05 kB │ gzip: 9.52 kB .svelte-kit/output/client/_app/immutable/nodes/8.js 26.73 kB │ gzip: 6.88 kB .svelte-kit/output/client/_app/immutable/nodes/4.js 29.35 kB │ gzip: 8.86 kB .svelte-kit/output/client/_app/immutable/nodes/5.js 33.68 kB │ gzip: 10.13 kB .svelte-kit/output/client/_app/immutable/nodes/0.js 54.56 kB │ gzip: 14.40 kB .svelte-kit/output/client/_app/immutable/nodes/11.js 66.85 kB │ gzip: 17.52 kB ✓ built in 4.34s .svelte-kit/output/server/vite-manifest.json 8.14 kB .svelte-kit/output/server/_app/immutable/assets/logo.png 19.39 kB .svelte-kit/output/server/_app/immutable/assets/_layout.css 75.73 kB .svelte-kit/output/server/chunks/logo.js 0.07 kB .svelte-kit/output/server/entries/pages/connections/ntp/_page.ts.js 0.08 kB .svelte-kit/output/server/entries/pages/connections/mqtt/_page.ts.js 0.08 kB .svelte-kit/output/server/entries/pages/user/_page.ts.js 0.08 kB .svelte-kit/output/server/entries/pages/system/status/_page.ts.js 0.09 kB .svelte-kit/output/server/entries/pages/system/update/_page.ts.js 0.09 kB .svelte-kit/output/server/entries/pages/wifi/_page.ts.js 0.09 kB .svelte-kit/output/server/entries/pages/demo/_page.ts.js 0.10 kB .svelte-kit/output/server/entries/pages/connections/_page.ts.js 0.13 kB .svelte-kit/output/server/entries/pages/system/_page.ts.js 0.13 kB .svelte-kit/output/server/internal.js 0.19 kB .svelte-kit/output/server/entries/pages/_layout.ts.js 0.30 kB .svelte-kit/output/server/chunks/stores.js 0.52 kB .svelte-kit/output/server/chunks/navigation.js 0.56 kB .svelte-kit/output/server/chunks/info-circle.js 0.61 kB .svelte-kit/output/server/chunks/clock-check.js 0.62 kB .svelte-kit/output/server/chunks/reload.js 0.63 kB .svelte-kit/output/server/chunks/users.js 0.65 kB .svelte-kit/output/server/chunks/wifi.js 0.66 kB .svelte-kit/output/server/chunks/alert-triangle.js 0.68 kB .svelte-kit/output/server/chunks/stethoscope.js 0.70 kB .svelte-kit/output/server/chunks/brand-github.js 0.80 kB .svelte-kit/output/server/chunks/topology-star-3.js 0.83 kB .svelte-kit/output/server/chunks/user.js 0.90 kB .svelte-kit/output/server/chunks/Spinner.js 0.98 kB .svelte-kit/output/server/entries/pages/_error.svelte.js 0.99 kB .svelte-kit/output/server/chunks/Collapsible.js 1.19 kB .svelte-kit/output/server/chunks/notifications.js 1.20 kB .svelte-kit/output/server/entries/pages/_page.svelte.js 1.41 kB .svelte-kit/output/server/chunks/InputPassword.js 1.81 kB .svelte-kit/output/server/chunks/SettingsCard.js 2.16 kB .svelte-kit/output/server/chunks/index.js 2.58 kB .svelte-kit/output/server/chunks/internal.js 5.39 kB .svelte-kit/output/server/entries/pages/demo/_page.svelte.js 5.69 kB .svelte-kit/output/server/entries/pages/user/_page.svelte.js 7.20 kB .svelte-kit/output/server/chunks/ssr.js 8.21 kB .svelte-kit/output/server/entries/pages/system/update/_page.svelte.js 11.79 kB .svelte-kit/output/server/entries/pages/connections/mqtt/_page.svelte.js 14.02 kB .svelte-kit/output/server/entries/pages/system/status/_page.svelte.js 15.21 kB .svelte-kit/output/server/entries/pages/wifi/_page.svelte.js 23.40 kB .svelte-kit/output/server/entries/pages/connections/ntp/_page.svelte.js 27.01 kB .svelte-kit/output/server/entries/pages/_layout.svelte.js 33.10 kB .svelte-kit/output/server/index.js 87.83 kB Run npm run preview to preview your production build locally.
Leaving... Please build project in debug configuration to get more details about an exception.
|
I switched to the latest release v0.2.2. In this release I do not see this problem anymore. I propose to close this issue. When it pops-up again, I will post it again with details how to reproduce. |
To reproduce
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
The text was updated successfully, but these errors were encountered: