I am getting the following error spamming my logs:
2019-05-05 14:03:35 ERROR (updater) [telegram.ext.updater] Error while getting Updates: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)
Telegram appears to be working properly and all three notifications are working as expected in telegram. Only real issue is that my logs are filling up.
I have only one bot created with my telegram account. I then have three groups created HA_Status, HA_Logging, and HA_Alerts.
Here is my Home assistant configuration generalized to avoid providing ids and tokens:
By anychance are you using nodered and the chatbot nodes? If I disable/prevent nodered from also connecting to my bot, the errors stop in Home Assistant. Honestly haven’t worked on this much since my original posting. I was thinking about configuring both for webhooks (currently using polling) to see if it works without the errors.
Using node-red with Telegram, getting the same error messages every 5 seconds. Only have one bot, listening for a few commands. Disabling all flows still lets the errors come in.
Here is what I did, seems to be working. I have homeassistant telegram bot connected via webhooks. Node red is connected to the telegram bot via polling doing it this way I don’t get the errors every few seconds. My only issue is on restart of home assistant sometimes the telegram bot does not load. I think it’s a webhook thing. If I immediately restart the issue goes away. Haven’t troubleshot this issue yet.
My issue ended up being that I had two different node pallets related to Telegram installed. I deleted one and the error no longer shows up when debugging node red.
I have the same problem:
ERROR (updater) [telegram.ext.updater] Error while getting Updates: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)