-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tari_base_node: UnknownError on Fedora 34 #3423
Comments
I already solved it and put this issue to help other Fedora users. Fedora sets the value of CookieAuthentication parameter (of tor) to 1 in the
|
Nice find. There is an option to provide a tor password or cookie in config.toml so you don’t have to run tor without auth 👍 will link to it later |
Resolution for this is to at least have a more descriptive error or log message pointing to the tor auth issue |
Description --- This PR adds (requires) details to `UnknownError`. Motivation and Context --- Related to #3423 Without the fix some errors are indiscernible. Example: ```sh Running `target/debug/tari_base_node` Initializing logging according to "/home/denis/.tari/config/log4rs_base_node.yml" 10:47 ERROR Network discovery errored: Connectivity error: Internal actor response was unexpectedly cancelled. Waiting for 5s 10:47 ERROR DhtConnectivity exited with error: ConnectivityError(ActorDisconnected) UnknownError 10:47 ERROR Exiting with code (102): UnknownError ``` With the fix: ```sh Running `target/debug/tari_base_node` Initializing logging according to "/home/denis/.tari/config/log4rs_base_node.yml" 10:48 ERROR Network discovery errored: Connectivity error: Internal actor response was unexpectedly cancelled. Waiting for 5s UnknownError("Failed to initialize tor hidden service: TorClientError: Command failed: Authentication failed: Wrong length on authentication cookie.") 10:48 ERROR Exiting with code (102): UnknownError("Failed to initialize tor hidden service: TorClientError: Command failed: Authentication failed: Wrong length on authentication cookie.") ``` How Has This Been Tested? --- Manually by activating **CookieAuthentication 1** option in the Tor's settings.
Describe the bug
Node failed with
UnknownError
on Fedora 34.To Reproduce
Steps to reproduce the behavior:
tor
:$ sudo -u toranon tor --allow-missing-torrc --ignore-missing-torrc --clientonly 1 --socksport 9050 --controlport 127.0.0.1:9051 --log "notice stdout" --clientuseipv6 1
tari_base_node
:tor
's logs:Desktop (please complete the following information):
Linux fedora 5.14.9-200.fc34.x86_64 #1 SMP Thu Sep 30 11:55:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Tor version 0.4.5.10.
The text was updated successfully, but these errors were encountered: