Good evening,
I uploaded the project “2_1_output” on esp 32 Azdelivery module. I can see the page correctly, but if I press a button, on or off, Chrome tells me that the server is unable to process the request. In the other hand Firefox displays a blank page.
Where is the problem?
Thank you very much.
Hi Ferdinando.
That’s very weird.
Do you have any applications on your browser that block adds or similar?
Did you change anything in the code?
Can you show me a printscreen of your error?
At the same time, can you check if something is happening on the Serial Monitor?
Regards,
Sara
Hi Sara,
The only change I made was in platfomio.ini because I use an Azdelivery ESP32 device.
In the code I changed only SSID & Password
My enviroment:
- Ubuntu 18.04
- Vs Code Version: 1.51.1
Date: 2020-11-10T23:31:29.624Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 4.15.0-123-generic - Vs Code Terminal:
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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5828
entry 0x400806ac
Connecting to WiFi …192.168.1.102
SPIFFS mounted successfully
Last news!
for to check the program I inserted two lines in the “String processor (const String & var)” function to print the status of the LED.
After loading the new code (ONLY the code not data) … now everything works.
I have restored the function as originally, reloaded the code, it continues to work correctly.
I don’t understand what happened 🙁
Thanks.
REmark:
The Azdelivery module don’t mount the Led onboard.
Regard
Ferdinando
Hi.
I’m glad you found the issue.
Can you show me the lines you’ve inserted that caused the problem?
Regards,
Sara
Hi,
I did other tests, I found that if I upload the data files into the device before the code, everything works. otherwise if I upload the code before the data files, the problem arises.
Well, I need to upload in to the module, index.html, style.css, etc file before the code main.cpp.
Regards
Ferdinando
Hi.
I’m glad you found the issue.
I’ll mark this question as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara