-
Notifications
You must be signed in to change notification settings - Fork 337
Error when fetching IP-blocklists and Telegram config, while manual download works #340
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
When running mtg, I see numerous warning messages in the logs indicating failures to update IP-blocklists and Telegram public configurations. The error reported is Get "URL": EOF.
Crucially, I can download these exact URLs manually from the same host using curl, wget and fetch without any issues.
Log Output:
{"level":"warn","filename":"https://iplists.firehol.org/files/blocklist_de_apache.ipset","logger":"blocklist.ipblockist.firehol","error":"cannot get url https://iplists.firehol.org/files/blocklist_de_apache.ipset: Get \"https://iplists.firehol.org/files/blocklist_de_apache.ipset\": EOF","timestamp":1771983825836,"message":"update has failed"}
{"level":"warn","logger":"proxy.telegram-updaters.public-config","error":"cannot fetch url https://core.telegram.org/getProxyConfigV6: Get \"https://core.telegram.org/getProxyConfigV6\": EOF","timestamp":1771983826516,"message":"cannot update: %w"}
Note: many more similar errors for firehol.org and core.telegram.org occur.
Manual Verification
I have verified that the URLs are accessible from the command line:
curl -O https://iplists.firehol.org/files/blocklist_de_apache.ipset-> 200 OKwget https://core.telegram.org/getProxyConfigV6-> Success
Additional Observations & Inconsistencies
IPv6 config fetch despite only-ipv4
- I have
prefer-ip = "only-ipv4"set in my configuration. Despite this,mtgstill attempts to fetch the IPv6 configuration from Telegram:
https://core.telegram.org/getProxyConfigV6 - It seems unexpected for the application to try and update IPv6 configs when it's explicitly restricted to IPv4.
allowlist.ipblocklist.firehol activity
- The logs show activity from
allowlist.ipblocklist.firehol(including an initial "info" message about a successful update), even though I haven't configured any Firehol-related allowlists:
{"level":"info","logger":"allowlist.ipblocklist.firehol","timestamp":1771983825666,"message":"ip list was updated"}
- Is this enabled by default, and if so, can it be disabled via config?
Environment:
mtgversion: 2.1.11- OS: FreeBSD 14.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed