Bug Report for Metrics Endpoint
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.