mirror of
https://github.com/misiektoja/instagram_monitor.git
synced 2026-04-26 06:45:50 +03:00
[GH-ISSUE #63] Inconsistent Instagram Network Warnings #48
Labels
No labels
Stale
Stale
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/instagram_monitor#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomballgithub on GitHub (Feb 7, 2026).
Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/63
Is it purposeful that not all instagram account errors generate alerts? Sometimes I get emails and webhooks, sometimes I don't.
Here's an example, none of this alerted me. I'd prefer to be able to alert on a configurable # of failures that looks like an instagram account issue (locked, challenge, 429, etc):
Or this, which I've seen a few times (@ startup [Jan 20]):
Or this:
* Error, retrying in 1 hour, 1 minute: ConnectionException: JSON Query to api/v1/users/web_profile_info/?username=YYY: 429 Too Many Requests when accessing https://i.instagram.com/api/v1/users/web_profile_info/?username=YYYThese did send alerts:
@tomballgithub commented on GitHub (Feb 8, 2026):
I did not receive an alert for this:
@misiektoja commented on GitHub (Feb 11, 2026):
Yes, these areas were not addressed in the code, I fixed it (
23661f4b4c). I also introduced newERROR_FAILURE_THRESHOLDconfig option which defines the number of consecutive errors required before triggering an alert to avoid spamming on transient network glitches.@tomballgithub commented on GitHub (Feb 13, 2026):
Seems to be working. I presume that retries with back-offs do not count as multiple failures, despite all the retries over 20 minutes.
The following did not trigger an error with the threshold set to 2. It DID trigger 10 hours later when attempting to "Fetching profile data from Instagram API..."
@misiektoja commented on GitHub (Feb 14, 2026):
Yes, back-offs are not reported as errors by Instaloader. It is just retrying and eventually it returns the error that we can catch and report.
I redesigned the ERROR_FAILURE_THRESHOLD logic a little bit and implemented separate error counters for BeHuman simulation and main monitoring (
48b18b847c).@tomballgithub commented on GitHub (Feb 21, 2026):
Looks good.