Edzelf / ESP32Radio-V2

New version of the well known ESP32 Radio. Now optional I2S output!
Apache License 2.0
183 stars 45 forks source link

webserver returns blank page with word 'sorry' #82

Open Zjokkeh opened 1 year ago

Zjokkeh commented 1 year ago

Hi,

I don't know what the problem is. I have an ESP32-audiokit V2. It connects to wifi, but when I want to access the webserver via the IP adress I just get a blank page with the word 'sorry'

serial output:

D: Starting ESP32-radio running on CPU 1 at 240 MHz. D: Version Thu, 03 Nov 2022 13:00:00 GMT. Free memory 113792 D: Display type is DUMMY D: SPIFFS is okay, space 1378241, used 0 D: Found partition 'nvs ' at offset 0x009000 with size 20480 D: Found partition 'otadata ' at offset 0x00E000 with size 8192 D: Found partition 'spiffs ' at offset 0x290000 with size 1507328 D: Read 6 keys from NVS D: pin_spi_sck set to 18 D: pin_spi_miso set to 19 D: pin_spi_mosi set to 23 D: GPIO0 is HIGH D: GPIO2 is HIGH D: GPIO4 is HIGH D: GPIO5 is HIGH D: GPIO12 is HIGH D: GPIO13 is HIGH D: GPIO14 is HIGH D: GPIO15 is HIGH D: GPIO16 is HIGH D: GPIO17 is HIGH D: GPIO18 is HIGH D: GPIO19 is HIGH D: GPIO21 is HIGH D: GPIO22 is HIGH D: GPIO23 is HIGH D: GPIO25 is HIGH D: GPIO26 is HIGH D: GPIO27 is HIGH D: GPIO32 is HIGH D: GPIO33 is HIGH D: GPIO34 is HIGH D: GPIO35 is LOW, probably no PULL-UP D: GPIO39 is HIGH D: Start DUMMY display D: Create list with acceptable WiFi networks D: Added Home J&A to list of networks D: Scan Networks D: Scan completed D: Number of available networks: 3 D: 1 - Home J&A Signal: -58 dBm, Encryption WPA2_PSK, Acceptable D: 2 - WiFi-2.4-BDA9 Signal: -69 dBm, Encryption WPA2_PSK, D: 3 - Home J&A Signal: -74 dBm, Encryption WPA2_PSK, Acceptable D: End of list D: updateNr 0 <= 0 to 0, relative is 0 D: updateNr result is 0 D: nextPreset is 0 D: Starting I2S playtask.. D: Connect to network D: AI dac error! D: Output to I2S, pins -1, -1 and -1 D: I2S setpin error! D: Try WiFi Home J&A D: SSID = Home J&A D: IP = 192.168.2.48 D: Start web server D: Network found. Starting mp3 client, mqtt and OTA D: MDNS responder started D: Rotary encoder is disabled (-1/-1/-1) D: updateNr 0 <= 0 to 0, relative is 0 D: updateNr result is 0 D: nextPreset is 0 D: Radiofuncs cmd is 1 D: Connect to host D: Request failed!

fanfanlatulipe26 commented 1 year ago

Did you forget to initialize / upload the file system with the data directory of the sketch ??

Zjokkeh commented 1 year ago

I just changed config.h like said in the manual. I use platformio. Do I have to configure something in platformio for the datafolder? Did I miss something?

Zjokkeh commented 1 year ago

Nevermind. I just found it. Tnx for the hint fanfantulipe26.

For the other noobs like me. You have to build a file system image in platformio. https://randomnerdtutorials.com/esp32-vs-code-platformio-spiffs/