Open javi-14 opened 5 years ago
Did this ever get resolved? I now have this problem on a piece of code that works perfectly on on ESP32 but not on two others. Exactly the same symptoms and the code is very similar.
Did this ever get resolved? I now have this problem on a piece of code that works perfectly on on ESP32 but not on two others. Exactly the same symptoms and the code is very similar.
Hello, I have never come back to this, so I have no idea. I didn't continue with the project.
With debugging switched to maximum you can see there is a problem in ssl_client.cpp. If you send very small images (small icons and such) that are about the same size as a text message they go through. But anything largish (100k) triggers this error. I still can't figure out why it's only affecting some of my ESP32s running the exact same code.
I was able to solve this problem be replacing the WiFiClientSecure library with the source that’s dated 2-Oct-19. When I upgraded my Mac to Big Sur, I also had to upgrade the ESP32 library - and that one also has a newer WiFiClientSecure which doesn’t work on larger files.
The working version of WiFiClientSecure library is in the esp32-1.0.4 package on GitHub.
Thank you, @ambanmba
I was able to solve this problem be replacing the WiFiClientSecure library with the source that’s dated 2-Oct-19. When I upgraded my Mac to Big Sur, I also had to upgrade the ESP32 library - and that one also has a newer WiFiClientSecure which doesn’t work on larger files.
The working version of WiFiClientSecure library is in the esp32-1.0.4 package on GitHub.
thanks! this worked!
(Update: Example PhotoFromURL.ino works perfectly, I can receive correctly that photo from link)
Hello everyone, first of all thanks for this amazing project.
I am having some issue trying to send a photo from an SD card in a ESP32-CAM module (Ai Thinker). I am using the "PhotoFromSD.ino" example, adapted for ESP32 and SD_MMC fuctionality. My SD card works correctly, and inside it contains a few images. The library version that I am using is 1.1.0 .
I have already checked that the image is in the SD card and the name is correct. Even the sent() funcition is successful, because I recieve the confirmation in my serial port. But somehow, I never receive the image in my Telegram chat. I have checked that I can recieve text messages from my bot correctly, so my problem is just with images.
Here is my serial monitor after sending a few messages to the bot.
And here is the code that I am using (library, definitions and setup are just ok I think).
Thank you all in advance.