can reach the service with system's tor service and tb's SOCKSPORT 9150, but not in new tabs/windows. this script compares reachability with two tor clients, might be useful for other things as well.
I wonder if it's related to the version of tor bundled with 8.5a1. I know dgoulet and asn have been troubleshooting this off and on. Looks like tor-0.3.4.7-rc. What version is your local tor service (where you connect using torsocks)?
You could try copying that over the tor we ship in Tor Browser and check whether that solves your problem. If so, then waiting for the first 0.3.5 alpha and shipping that one seems to be the solution here.
i boldly claim that this issue is not caused by TB, but is inherent in tor's network architecture, because it regularly happens with tor nightly as well:
~/tor/webwml$ torsocks git pull1536852541 ERROR torsocks[22353]: Connection timed out (in socks5_recv_connect_reply() at socks5.c:553)fatal: unable to access 'http://dccbbv6cooddgcrq.onion/project/web/webwml.git/': Couldn't connect to server~/tor/webwml$ torsocks git pull1536858225 ERROR torsocks[22766]: Connection timed out (in socks5_recv_connect_reply() at socks5.c:553) fatal: unable to access 'http://dccbbv6cooddgcrq.onion/project/web/webwml.git/': Couldn't connect to server~/tor/webwml$ torsocks -P 9150 git pullremote: Counting objects: 18, done.remote: Compressing objects: 100% (18/18), done.remote: Total 18 (delta 13), reused 0 (delta 0)Unpacking objects: 100% (18/18), done.From http://dccbbv6cooddgcrq.onion/project/web/webwml 8c324824..daa74388 master -> upstream/masterUpdating 8c324824..daa74388Fast-forward~/tor/webwml$ torsocks git pull 1536859186 ERROR torsocks[22841]: General SOCKS server failure (in socks5_recv_connect_reply() at socks5.c:533) fatal: unable to access 'http://dccbbv6cooddgcrq.onion/project/web/webwml.git/': Couldn't connect to server~/tor/webwml$ torsocks git pull 1536859186 ERROR torsocks[22841]: General SOCKS server failure (in socks5_recv_connect_reply() at socks5.c:533) fatal: unable to access 'http://dccbbv6cooddgcrq.onion/project/web/webwml.git/': Couldn't connect to server ~/tor/webwml$ torsocks -P 9150 git push origin masterEnumerating objects: 1, done.Counting objects: 100% (1/1), done.Writing objects: 100% (1/1), 223 bytes | 223.00 KiB/s, done.Total 1 (delta 0), reused 0 (delta 0)To github.com:traumschule/webwml.git 8c324824..daa74388 master -> origin/master
(note the port changes between system tor and TB)
Trac: Component: Applications/Tor Browser to Core Tor/Tor
Wonder if this one is resolved now that Tor 0.3.4.x relays are mostly off the network, plus the other fixes. There are other known onion service reachability tickets open still too. I don't know that this one adds anything to them.