Skip to content

[BUG] Wisper doesn't work when using VPN app [unsure if vpn apps in general or specifically rethink] #120

@MinekPo1

Description

@MinekPo1

background

i use Rethink to bypass government censorship (context, article is in polish) and restrict which apps have access to the internet in lieu of having control over the existing android.permission.INTERNET which cannot be restricted on stock roms.

current behavior

after configuring rethink to allow whispar to connect to the internet (but still be controlled by it) and attempting to preform, seemingly, any action shows a vague error (ex, when searching by DOI Error: ClientException: Connection reset by peer, url=...). bypassing wispar in rethink, ie making it unaffected by it, or making rethink not apply any dns or firewall rules, makes the app appear to work fine. logcat does not appear to have any related messages.

steps taken to isolate the issue

  • fetching the url (w/ curl in termux) while under rethink works
  • rethink logs suggest that a response was sent by crossref and with the same size as when successfully ran with dns/firewall rules disabled

device info

  • Motorola e22
  • OS: Android 12, stock ASOP w/ oem modifications
  • App version: 0.3.2 (build 20), from f-droid

speculation

this might be possibly caused by a insufficient timeout? the only mention of a timeout i could find in http is here and honestly feel like digging through sdk implementation of a language i know close to nothing about is a bad idea so i'm not gonna look further. also the time it takes curl to make the request is ~520 ms which should be fine? without rethink its ~460 ms (both measurements are from just one request so ±30 ms is likely within the margin of error and i dont feel more accurate measurements are necessary) so im not convinced thats it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions