Connection aborted error again and again

I’ve been trying to execute my telegram alert project ,but it is always showing this msg

here is my conf file

and the code is like this

i’m not exactly getting where i did the mistake,i did gave my chat_id and bot_id yet i’m getting the same error
can anyone suggest solution for my issue.

See to it that you have entered all the credentials correctly in the configuration file also the bot is correctly added to your channel wrt the settings.

You can try doing following issues:

  1. check your id credentials
  2. try changing GET to POST
  3. try checking your thresholds (maybe try to increase the limits.)
  4. try checking your connection code.(maybe once it exceeds the thresholds, the connection is closing)