I'm trying to stream audio over Tor and the browser doesn't seem to download any bytes from the request. The request doesn't fail or anything, it just stays at 0B downloaded.
This is my setup:
- VLC (on Windows) streams audio on
:8081
; - A React.js frontend (on WSL Ubuntu) is active at
:3000
; - A Tor client (on WSL Ubuntu) treats both
:8081
and:3000
as hidden services, with diferent onion URLs; - A Tor browser (on Windows) accesses the frontend service and the frontend tries to access the streaming service using its Onion Address (it fails).
Running locally, without Tor, it works just fine:
- VLC (on Windows) streams audio on
:8081
; - A React.js frontend (on WSL Ubuntu) is active at
:3000
; - A web browser (on Windows) accesses the frontend service and the frontend tries to access the streaming service using its
localhost
address (it succeeds).
Is this a routing problem or a Tor limitation? If it's a routing problem, are there any tips on how to setup Tor with WSL and Windows? If it's a Tor limitation, is there any workaround for that?
Thanks.
Update
I have been able to stream bytes by using Windows nameserver
in WSL (this guide helped me to understand it better) as the IP of the streaming hidden service variable HiddenServicePort
. However, now there's a codec-related problem:
I tried using multiple file formats but it didn't work. Any suggestions?