Error fetching latest Newt version #1035

Closed
opened 2026-04-05 18:09:03 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @marc-codina on 8/23/2025

For some reason, my VPS' IP is blocked from api.github.com. (The error appeared 6 hours after creating the instance and installing Pangolin.)

https://api.github.com/repos/fosrl/newt/tags
Resolving api.github.com (api.github.com)... 140.82.121.5
Connecting to api.github.com (api.github.com)|140.82.121.5|:443... failed: Connection timed out.
Retrying.

This causes an error in the Pangolin logs when trying to access the Sites section.

error]: Error fetching latest Newt version: fetch failed
Stack: TypeError: fetch failed
    at node:internal/deps/undici/undici:13510:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async KS (file:///app/dist/server.mjs:28:3098)
    at async Wn (file:///app/dist/server.mjs:28:5039) {"cause":{"name":"ConnectTimeoutError","code":"UND_ERR_CONNECT_TIMEOUT"}}

This slows down the system until a timeout occurs, and the Sites section appears empty. If I try to create a new Resource, I cannot do so because there is no Site.

My temporary solution is to modify the server.mjs file and point to a local IP address from which to obtain the ‘tags’ file.

*Originally created by @marc-codina on 8/23/2025* For some reason, my VPS' IP is blocked from api.github.com. (The error appeared 6 hours after creating the instance and installing Pangolin.) ``` https://api.github.com/repos/fosrl/newt/tags Resolving api.github.com (api.github.com)... 140.82.121.5 Connecting to api.github.com (api.github.com)|140.82.121.5|:443... failed: Connection timed out. Retrying. ``` This causes an error in the Pangolin logs when trying to access the Sites section. ``` error]: Error fetching latest Newt version: fetch failed Stack: TypeError: fetch failed at node:internal/deps/undici/undici:13510:13 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async KS (file:///app/dist/server.mjs:28:3098) at async Wn (file:///app/dist/server.mjs:28:5039) {"cause":{"name":"ConnectTimeoutError","code":"UND_ERR_CONNECT_TIMEOUT"}} ``` This slows down the system until a timeout occurs, and the Sites section appears empty. If I try to create a new Resource, I cannot do so because there is no Site. My temporary solution is to modify the server.mjs file and point to a local IP address from which to obtain the ‘tags’ file.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1035