Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 344
    • Issues 344
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #40295

Bug Report for Metrics Endpoint

From RT:

I am testing the metrics port from this issue: #40063 (closed)

The issue I am getting is "connection_finished_flushing(): Bug: got unexpected conn type 20. (on Tor 0.4.5.6 )"

My setup is the following:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
$ tor --version
Tor version 0.4.5.6.

I added the following values to my torrc:

MetricsPort 127.0.0.1:9135
MetricsPortPolicy accept 127.0.0.1

Several issues arise:

a) Tor is not able to determine, that the Metrics Port has already been opened. Tor tried to open it again

b) Something inside tor crashes as soon as someone tries to access the metrics information.

I attached the log messages from syslog. logfile.txt

Please note, that I am using tor for relay as well as for a hidden service. I checked, there is nothing listening on port 9135. Tor has this port exclusively.

The metrics port is disabled again for my setup. If you need more information, please don't hesitate to ask.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking