[GH-ISSUE #560] "connect to cloudflared: reach server timed out: http://localhost:51881/metrics" #118

Closed
opened 2026-03-04 00:24:04 +03:00 by kerem · 2 comments
Owner

Originally created by @amirisongithub on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/SignTools/SignTools/issues/560

I tried basic troubleshooting first

Describe the bug

When I run "SignTools -cloudflared-host localhost:51881" I get this error "connect to cloudflared: reach server timed out: http://localhost:51881/metrics"

To reproduce

Steps to reproduce the behavior:

  1. Run "SignTools -cloudflared-host localhost:51881"
  2. The error shows up

Expected behavior

For the application to run smoothly.

Logs

If possible, please include logs.

1:29AM INF obtaining server url
1:29AM FTL error="connect to cloudflared: reach server timed out: http://localhost:51881/metrics"

System configuration

  • SignTools version: 3.0.8
  • Installation type: cloudflared
  • Operating System: Arch Linux
  • Builder type: SignTools-CI
  • Builder version: 3c8bd98
Originally created by @amirisongithub on GitHub (Apr 2, 2025). Original GitHub issue: https://github.com/SignTools/SignTools/issues/560 **I tried basic troubleshooting first** - [ ✓] Updated **both** [SignTools](https://github.com/SignTools/SignTools) **and** the builder ([SignTools-CI](https://github.com/SignTools/SignTools-CI) or [SignTools-Builder](https://github.com/SignTools/SignTools-Builder)) to the latest version - [ ✓] Read through the [FAQ page](https://github.com/SignTools/SignTools/blob/master/FAQ.md) **Describe the bug** When I run "SignTools -cloudflared-host localhost:51881" I get this error "connect to cloudflared: reach server timed out: http://localhost:51881/metrics" **To reproduce** Steps to reproduce the behavior: 1. Run "SignTools -cloudflared-host localhost:51881" 2. The error shows up **Expected behavior** For the application to run smoothly. **Logs** If possible, please include logs. 1:29AM INF obtaining server url 1:29AM FTL error="connect to cloudflared: reach server timed out: http://localhost:51881/metrics" **System configuration** - SignTools version: 3.0.8 - Installation type: cloudflared - Operating System: Arch Linux - Builder type: SignTools-CI - Builder version: 3c8bd98
kerem 2026-03-04 00:24:04 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@amirisongithub commented on GitHub (Apr 3, 2025):

did some more investigating, turns out it's prob not signtool's issue and it's some weird network restriction thing I have

a simple fix would just to replace localhost:51881 with your local ip address (for example, 192.168.x.x:51881

<!-- gh-comment-id:2774972086 --> @amirisongithub commented on GitHub (Apr 3, 2025): did some more investigating, turns out it's prob not signtool's issue and it's some weird network restriction thing I have a simple fix would just to replace localhost:51881 with your local ip address (for example, 192.168.x.x:51881
Author
Owner

@ViRb3 commented on GitHub (Apr 3, 2025):

It sounds like your machine is missing localhost to 127.0.0.1 mapping in /etc/hosts. But yes, unrelated to SignTools.

<!-- gh-comment-id:2775278860 --> @ViRb3 commented on GitHub (Apr 3, 2025): It sounds like your machine is missing localhost to 127.0.0.1 mapping in /etc/hosts. But yes, unrelated to SignTools.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SignTools#118
No description provided.