Open Cenness opened 5 days ago
After setting FEATURE_LIVE_SETTINGS_ENABLED
to False
option did appear, but adding new channel can't complete - bot sees the message with uuid and does nothing:
source=engine:app google_trace_id=none logger=engine.management.commands.start_telegram_polling
Update from Telegram: {'message': {'text': '412208db-98b0-4c51-8410-ab5ad56ccdfa_5b5bdc56-e629-4ebe-ab56-53ae7a72095a',
'date': 1729240907, 'photo': [], 'sender_chat': {'id': -1008888888888, 'title': Redacted alerts Chat', 'type': 'supergroup'},
'message_id': 40, 'group_chat_created': False, 'entities': [], 'delete_chat_photo': False, 'caption_entities': [],
'supergroup_chat_created': False, 'chat': {'id': -1008888888888, 'title': 'Redacted alerts Chat', 'type': 'supergroup'},
'new_chat_members': [], 'new_chat_photo': [], 'channel_chat_created': False,
'from': {'id': 1087968824, 'username': 'GroupAnonymousBot', 'is_bot': True, 'first_name': 'Group'}}, 'update_id': 629379463}
source=engine:app google_trace_id=none logger=apps.telegram.updates.update_manager No update handlers applied for update
Connecting personal account does work:
source=engine:app google_trace_id=none logger=engine.management.commands.start_telegram_polling
Update from Telegram: {'update_id': 629379487, 'message': {'new_chat_photo': [], 'message_id': 61, 'date': 1729244057,
'delete_chat_photo': False, 'chat': {Redacted, 'username': 'Cenness'},
'channel_chat_created': False, 'photo': [], 'group_chat_created': False, 'entities': [], 'supergroup_chat_created': False,
'new_chat_members': [], 'text': '412208db-98b0-4c51-8410-ab5ad56ccdfa_b9e12fd3-b416-4987-9083-90b71c32c699',
'caption_entities': [], 'from': {Redacted, 'username': 'Cenness'}}}
source=engine:app google_trace_id=none logger=apps.telegram.updates.update_manager
Processing update with handler: PersonalVerificationCodeHandler
Oh. my mistake, instructions mentioning both channel and discussion group made me confused where bot was expecting confirmation code - "Send this verification code to the channel and wait for the confirmation message" Poller clearly seeing that confirmation code in discussion group made my confusion deeper.
Its already parsing both, why wouldn't OnCall accept code from group?
What went wrong?
What happened:
I've installed OnCall via helm with telegram integration and polling enabled. Target channel has discussion enabled and bot is added to both.
In polling pod I see logs
ChatOps setting UI shows like there are no TELEGRAM.* env vars set:
but they are:
What did you expect to happen:
chatops allowing to add my channels buttons appearing on alert messages
How do we reproduce it?
Grafana OnCall Version
v1.11.3
Product Area
Chatops
Grafana OnCall Platform?
Kubernetes
User's Browser?
Firefox 131
Anything else to add?
No response