[tor-relays] metrics
David Goulet
dgoulet at torproject.org
Sun Feb 21 12:48:38 UTC 2021
On 20 Feb (11:52:33), Manager wrote:
> Hello,
>
> im trying to enable prometheus metrics, and... something goes wrong:
>
> torrc:
> MetricsPort 9166
> MetricsPortPolicy accept *
>
> after tor restart in logs:
> Tor[15368]: Opening Metrics listener on 127.0.0.1:9166
> Tor[15368]: Could not bind to 127.0.0.1:9166: Address already in use. Is
> Tor already running?
>
> -- before restart, no one listen on this port, as `ss | grep :9166` can
> say.
>
> there is also backtrace in logs:
> Tor[15368]: connection_finished_flushing(): Bug: got unexpected conn type
> 20. (on Tor 0.4.5.6 )
> Tor[15368]: tor_bug_occurred_(): Bug:
> ../src/core/mainloop/connection.c:5192: connection_finished_flushing: This
> line should not have been reached. (Future instances of this warning will
> be silenced.) (on Tor 0.4.5.6 )
This was reported 3 days ago:
https://gitlab.torproject.org/tpo/core/tor/-/issues/40295
And we pushed a fix upstream and will be in the next tor stable release thus
0.4.5.7. As for the timeline of that release, unclear but I will make a point
to the network team to make it sooner than usually because this problem is
effectively making the MetricsPort unusable :S.
Sorry about this. Thanks for the report!!!
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20210221/021a575c/attachment.sig>
More information about the tor-relays
mailing list