Tor issues

Hi, just starting out with HA and wanted to use the Tor add-on for remote access.
I think I have it working without the stealth feature - I can log in through the Tor browser on my laptop, even if I connect the laptop to my mobile hotspot so the laptop is no longer part of the house’s local network.

This is the working configuration:
{
“socks”: false,
“hidden_services”: true,
“stealth”: false,
“client_names”: [
“mymobile”,
“mylaptop”
],
“ports”: [
“ha.local:8123:80”
],
“log_level”: “debug”
}

So far, so good. But as soon as I change the stealth option to “true”, the service doesn’t start anymore. The only error message displayed is this:
[cont-init.d] 90-hostname.sh: executing…
[04:00:44] INFO: Starting Tor temporarly…
[cont-init.d] 90-hostname.sh: exited 1.
[cont-finish.d] executing container finish scripts…
[cont-finish.d] 99-message.sh: executing…
-----------------------------------------------------------
Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
----------------------------------------------------------

I have also tried to use the IP address of the hass.io device instead of ha.local but the result is the same.

Trace logging doesn’t reveal any clues either - at least not any clues which make sense to me:
[cont-init.d] 90-hostname.sh: executing…
[04:05:46] TRACE: bashio::config.true: hidden_services
[04:05:46] TRACE: bashio::config: hidden_services
[04:05:46] TRACE: bashio::jq: /data/options.json if (.hidden_services == null) then
null
elif (.hidden_services | type == “string”) then
.hidden_services // empty
elif (.hidden_services | type == “boolean”) then
.hidden_services // false
elif (.hidden_services | type == “array”) then
if (.hidden_services == []) then
empty
else
.hidden_services[]
end
elif (.hidden_services | type == “object”) then
if (.hidden_services == {}) then
empty
else
.hidden_services
end
else
.hidden_services
end
[04:05:46] TRACE: bashio::var.true: true
[04:05:46] INFO: Starting Tor temporarly…
[04:05:46] TRACE: bashio::fs.file_exists: /ssl/tor/hidden_service/hostname
[cont-init.d] 90-hostname.sh: exited 1.

Any suggestions?

Regards,
Bent

As I have the very same issue, did you fix it yet?

Hi!

No I was not able to resolve this, and my ISP started fussing about strange network traffic from my IP. Tor is not always so popular as it’s used a lot also for illegitimate purposes (you probably know that already) but maybe your ISP is more tolerant than mine.

So in the end I disabled the Tor addon and used NginX proxy on my server instead - with MFA authentication for security (thank you #hass-io for providing that)

Sorry I can’t be of more help here.

Regards,
Bent