[GH-ISSUE #1321] Error fetching latest Newt version #1856

Closed
opened 2026-04-16 08:43:00 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @marc-codina on GitHub (Aug 23, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1321

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 GitHub (Aug 23, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1321 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.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1856