-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to api.telegram.org #14
Comments
VID20210705151356.mp4How to fix this ..plz help me |
WiFiClientSecure client_tcp; |
// Enter your WiFi ssid and password #include <WiFi.h> //CAMERA_MODEL_AI_THINKER int gpioPIR = 13; //PIR Motion Sensor void setup() Serial.begin(115200); Serial.println(""); if (WiFi.status() != WL_CONNECTED) {
} camera_config_t config; if(psramFound()) // camera init sensor_t * s = esp_camera_sensor_get(); } void loop() pinMode(gpioPIR, INPUT_PULLUP); } String alerts2Telegram(String token, String chat_id) camera_fb_t * fb = NULL; WiFiClientSecure client_tcp;
{
{
} return getBody; This is my coding |
Hi |
same problem ! i can connect only when i send a message. Not connecting while sending the picture... |
Hi, I'm not sure what the problem is. Could you install the version of arduino core for ESP32 to 1.0.6 or 1.0.4 and try again? |
I found the issue. It is not due to the software. My power supply didn't provide enough current. I changed it with a higher current one and it now works. |
Hello;
I have been trying your code but it seems that can't connect to api.telegram.org. I show you a screen capture of serial monitor:
I have tried to use client_tcp.setInsecure(); but it takes an error....
Could you help me....
The text was updated successfully, but these errors were encountered: