haven icon indicating copy to clipboard operation
haven copied to clipboard

Remote access .onion service not showing any event details / media (pictures, videos, sounds)

Open xanoni opened this issue 2 years ago • 8 comments

I strongly assume there's something wrong with the remote access, as I'm not seeing any of the pictures / videos / sound recordings from the app. I mostly see empty pages. Is this just not implemented, yet? I couldn't find any documentation that would show what it's supposed to look like.

Basic HW/SW info:

  • Nexus 5 Hammerhead (https://wiki.lineageos.org/devices/hammerhead)
  • DivestOS 16 (https://divestos.org/index.php?page=devices&base=LineageOS)
  • Latest Orbot and Haven from FDroid (can look up version numbers if needed)
  • V3 Onion service (created in Orbot and then Onion URL/port pasted into Haven ... Haven auto-generated a V2 Onion, which is deprecated)

What the website says:

Remote Access All event logs and captured media can be remotely accessed through a Tor Onion Service. Haven must be configured as an Onion Service and requires the device to also have Orbot: Tor for Android installed and running.

What I see when I access the Hidden Service:

image

I tried setting the security level to "Standard" (lowest level) in TorBrowser and enabled JS manually, but that didn't change anything. The content that's served just doesn't include anything of substance:

image

<html><head><title>Haven</title><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /><meta name = "viewport" content = "user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width"></head><body><h1>Events</h1><hr/>
<b><a href="/event/3">Jul 14, 2021 19:20:14</a></b><br/>29 triggered events<hr/><b><a href="/event/5">Jul 15, 2021 16:16:43</a></b><br/>62 triggered events<hr/><b><a href="/event/6">Jul 15, 2021 17:30:54</a></b><br/>277 triggered events<hr/><b><a href="/event/7">Jul 18, 2021 00:41:36</a></b><br/>12 triggered events<hr/></body></html>

After clicking the first entry:

image

<html><head><title>Haven</title><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /><meta name = "viewport" content = "user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width"></head><body><h1>Event: Jul 14, 2021 19:20:14</h1><hr/>
</body></html>

xanoni avatar Jul 18 '21 07:07 xanoni

Which version are you using?

archie94 avatar Jul 18 '21 15:07 archie94

Which version are you using?

Didn't have access to my phone as it was deployed (and was not aware that FDroid serves different versions, but I guess it does depending on the OS version) ... but just checked and here we go:

Haven: 0.2.0-RC1 (from December 2019, but the latest I see in "IzzyOnDroid" and in "Guardian Project Official Releases") Orbot: 16.4.1-RC-2-tor.0.4.4.6

xanoni avatar Jul 19 '21 19:07 xanoni

The fix for this is merged on the main branch, will go live with the next release.

See #410

archie94 avatar Jul 19 '21 19:07 archie94

Oh good that it's a known problem ... guess I didn't search the old / closed issues.

Are you expecting a release within a month or so, or better if people build their own versions for now?

xanoni avatar Jul 19 '21 19:07 xanoni

Working on a release now!

n8fr8 avatar Jul 20 '21 15:07 n8fr8

The fix for this is merged on the main branch, will go live with the next release.

See #410

Hi @archie94, I tried the latest release and can now view pictures and download sound! However, it seems I can't download video. Is this a deliberate restriction to reduce bandwidth, or did I screw something up?

xanoni avatar Jul 22 '21 02:07 xanoni

Not deliberate..may be a bug in how we are rendering the html for that page.

n8fr8 avatar Jul 23 '21 18:07 n8fr8

Okay. Or maybe I just didn't relax the Tor Browser settings enough. But now I know that it's worth checking.

xanoni avatar Jul 23 '21 18:07 xanoni