Apprise failing with no retry #168

Closed
opened 2026-10-05 02:01:34 +02:00 by adam · 6 comments
Owner
Image

remoteterm-1 | 2026-04-28 19:17:26 - app.services.messages - INFO - Stored channel message "S_Borkin: @[VZ 📡] уже. Помехи ес..." for '#vostok' (msg ID 203121 in chan ID 0B29780E5BD8C6A31F6517CCD8DB91D1)
remoteterm-1 | 2026-04-28 19:17:26 - apprise - WARNING - Failed to send Telegram notification to ##########: Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 20, error=400.
remoteterm-1 | 2026-04-28 19:17:26 - app.fanout.apprise_mod - WARNING - Apprise notification failed for module 8840c84d-8c77-4431-8139-5ce933a49a82

this way on error integration silently disables itself and not enables it after

<img width="700" height="208" alt="Image" src="https://github.com/user-attachments/assets/476e4e80-73e1-473a-9fbf-e117d526a2af" /> > remoteterm-1 | 2026-04-28 19:17:26 - app.services.messages - INFO - Stored channel message "S_Borkin: @[VZ 📡] уже. Помехи ес..." for '#vostok' (msg ID 203121 in chan ID 0B29780E5BD8C6A31F6517CCD8DB91D1) > remoteterm-1 | 2026-04-28 19:17:26 - apprise - WARNING - Failed to send Telegram notification to ##########: Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 20, error=400. > remoteterm-1 | 2026-04-28 19:17:26 - app.fanout.apprise_mod - WARNING - Apprise notification failed for module 8840c84d-8c77-4431-8139-5ce933a49a82 > > this way on error integration silently disables itself and not enables it after <!-- github-sync-id:4346200866 -->
adam closed this issue 2026-10-05 02:01:34 +02:00
Author
Owner

It will continue to retry, it just won't retry the failed message (the integration doesn't disable itself; just marks that an error occurred. That error will clear on the next success).

can't parse entities: Can't find end of the entity is a telegram error indicating an issue with formatting/characters in the message.

Retrying to clear transient errors is reasonable, though; I'll add that.

It will continue to retry, it just won't retry the failed message (the integration doesn't disable itself; just marks that an error occurred. That error will clear on the next success). `can't parse entities: Can't find end of the entity` is a telegram error indicating an issue with formatting/characters in the message. Retrying to clear transient errors is reasonable, though; I'll add that. <!-- github-comment-id:4339242445 -->
Author
Owner

Keeping this open for feedback, but the issue you're having won't resolve until the message string is patched up 🙂

Keeping this open for feedback, but the issue you're having won't resolve until the message string is patched up 🙂 <!-- github-comment-id:4339473125 -->
Author
Owner

i'm not sure what's wrong with my message string :)

it's working most of the time and fails only in some strange rare cases. i have feelings it's somehow related to unicode chars in username. i will monitor this more

i'm not sure what's wrong with my message string :) it's working most of the time and fails only in some strange rare cases. i have feelings it's somehow related to unicode chars in username. i will monitor this more <!-- github-comment-id:4343210655 -->
Author
Owner

okay, i finally figured out my problem:

i'm using markdown mode. but {sender_name} is not escaping anything within it.
so when username is, for example, John_Snow, markdown brokens

not sure who to blame, probably mr. Durov, will try to migrate to html messages instead of markdown

okay, i finally figured out my problem: i'm using markdown mode. but {sender_name} is not escaping anything within it. so when username is, for example, John_Snow, markdown brokens not sure who to blame, probably mr. Durov, will try to migrate to html messages instead of markdown <!-- github-comment-id:4343899316 -->
Author
Owner

Ahhh interesting. Maybe I can make an option for escaping markdown syntax

Ahhh interesting. Maybe I can make an option for escaping markdown syntax <!-- github-comment-id:4344039073 -->
Author
Owner
Image

Added a friendlier option for ya 🙂

<img width="666" height="88" alt="Image" src="https://github.com/user-attachments/assets/ef92d5db-8a5f-428e-9a23-6f1f83c1bd03" /> Added a friendlier option for ya 🙂 <!-- github-comment-id:4357541804 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Remote-Terminal-for-MeshCore#168