s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
888 stars 209 forks source link

unable to download the data/common.js file from online when connected to router after restart #356

Closed ChandrachurMaitra closed 7 months ago

ChandrachurMaitra commented 7 months ago

Sometimes getting these below errors if I press either this option named data/reload, or randomly if for some reason I power off the esp32 Cam and then restart there-after the camera sometimes starts just fine but for sometimes when my mobile hotspot is available then it connects to it and then it gives this error, [the errors are listed below] and then the only way to fix this is to open the camera and take off the sd card and insert the card into a SD card reader and then manually copy and paste the Data file into it, or just completely format it and reinsert it and connect to my mobile hotspot [Note: when I inserted the SD card then sometimes my pc said "rapair the sd card by formatting it but it's rare"]

NOTE: Im using Sandisk 4GB card, and ESP32-S module

(here are the errors )

[06:52:20.481 wgetFile] Downloading /data/common.js from /s60sc/ESP32-CAM_MJPEG2SD/master/data/common.js [06:52:21.827 ERROR @ setupAssist.cpp:41] Download failed: writeToStream [06:52:21.830 ERROR @ setupAssist.cpp:50] HTTP Get failed with code: 0 [06:52:48.810 setAlarm] Alarm scheduled at 02/02/2024 01:00:00 [06:52:52.427 saveConfigVect] Config file saved [06:52:52.432 doAppPing] Daily rollover [06:52:53.849 wgetFile] Downloading /data/common.js from /s60sc/ESP32-CAM_MJPEG2SD/master/data/common.js [06:52:55.424 ERROR @ setupAssist.cpp:41] Download failed: writeToStream [06:52:55.427 ERROR @ setupAssist.cpp:50] HTTP Get failed with code: 0

s60sc commented 7 months ago

see readme