Wachu985 / flutter_wireguard_vpn

A Flutter package that allows connection through a VPN using WireGuard.
https://pub.dev/packages/wireguard_vpn
BSD 3-Clause "New" or "Revised" License
22 stars 9 forks source link

Not working on rooted BlueStacks5 #6

Open jungwuk-ryu opened 1 year ago

jungwuk-ryu commented 1 year ago

log:

D/WireGuard/SharedLibraryLoader(16484): Extracting apk:/lib/x86_64/libwg-quick.so to /data/user/0/.../code_cache/bin/wg-quick.tmp
D/WireGuard/ToolsInstaller(16484): Tools are now extracted into our private binary dir
V/WireGuard/RootShell(16484): executing: wg show interfaces
V/WireGuard/RootShell(16484): exit: 0
I/WireGuard/WgQuickBackend(16484): Bringing tunnel freeTier UP
V/WireGuard/RootShell(16484): executing: cat /sys/module/wireguard/version && wg-quick up '/data/user/0/.../cache/tmp/freeTier.conf'
V/WireGuard/RootShell(16484): stderr: cat: /sys/module/wireguard/version: No such file or directory
V/WireGuard/RootShell(16484): exit: 1
E/MainActivity(16484): handleSetState - BackendException - ERROR - WG_QUICK_CONFIG_ERROR_CODE
E/flutter (16484): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Instance of 'ConnectionException'
E/flutter (16484): #0      MethodChannelWireguardVpn.changeStateParams (package:wireguard_vpn/wireguard_vpn_method_channel.dart:24:7)
E/flutter (16484): <asynchronous suspension>
E/flutter (16484): #1      _MyHomePageState._activateVpn (package:kvpn/main.dart:48:21)
E/flutter (16484): <asynchronous suspension>
E/flutter (16484): #2      _MyHomePageState.build.<anonymous closure> (package:kvpn/main.dart:113:19)
E/flutter (16484): <asynchronous suspension>
E/flutter (16484): 

Hi. I found some problems. The app works on Android Emulator but doesn't work on rooted BlueStacks5. Version of BlueStacks5 : 5.11.41.1005 P64 (rooted)

Thank you.