ESP32 OTA from Github - Not connecting to raw.githubusercontent.com
Posted: Sun Sep 08, 2024 11:20 am
Hi all,
I am trying to do OTA updates where the bin file is fetched from github. I tried to follow this simple example here:
https://medium.com/@adityabangde/esp32- ... 3a95f4a97b
However, my program is unable to connect to GitHub server. This is the line of code that is giving me problems:
Can someone advise me on what could be the problem? Thanks in advance!
I am trying to do OTA updates where the bin file is fetched from github. I tried to follow this simple example here:
https://medium.com/@adityabangde/esp32- ... 3a95f4a97b
However, my program is unable to connect to GitHub server. This is the line of code that is giving me problems:
Code: Select all
// Define server details and file path
#define HOST "raw.githubusercontent.com"
#define PORT 443
if (client.connect(HOST, PORT)) { // Connect to the server