Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

多用户配置下分应用代理失效 #1184

Closed
7 of 19 tasks
anthqiu opened this issue Mar 27, 2017 · 9 comments
Closed
7 of 19 tasks

多用户配置下分应用代理失效 #1184

anthqiu opened this issue Mar 27, 2017 · 9 comments

Comments

@anthqiu
Copy link

anthqiu commented Mar 27, 2017

Environment

Android version: 7.1.1 LineageOS 20170323
Device: OnePlus 3 A3000
Shadowsocks version: 4.1.3

Configuration

  • IPv4 server address
  • IPv6 server address
  • Client IPv4 availability
  • Client IPv6 availability
  • Local port: 1080
  • Encrypt method:
  • One-time authentication
  • Route
    • All
    • Bypass LAN
    • Bypass China
    • Bypass LAN & China
    • GFW List
    • China List
    • Custom rules
  • IPv6 route
  • Per-App Proxy
    • Bypass mode
  • UDP Forwarding
  • Plugin configuration (if applicable):
  • Auto Connect
  • TCP Fast Open
  • NAT mode

What did you do?

我的手机上有两个用户。我想在我的主用户帐号上开启分应用代理

What did you expect to see?

执行分应用代理

What did you see instead?

显示错误:无法连接至服务器:Failed to connect remote server: get package uid: neither user 10102 nor current process has Android.permission.INTERACT_ACROSS_USERS

@madeye
Copy link
Contributor

madeye commented Mar 28, 2017

Is there any error when opening the per-app proxy list?

@madeye
Copy link
Contributor

madeye commented Mar 28, 2017

It looks a bug of your ROM's VPNService. Could you try other ROMs first? e.g. the official ROM from Oneplus.

@anthqiu
Copy link
Author

anthqiu commented Mar 28, 2017

Well, I think that the problem seems to be linked with multiple users on one single device, when the app simply don't have the permissions to get the list of apps that is installed by other users and 'interact' with them.
So, creating a second user on any Android device may lead to this problem too. If not, then it is just a system bug:)

@anthqiu
Copy link
Author

anthqiu commented Mar 28, 2017

Oh, there isn't any error shown when opening the Per-App Proxy list

@anthqiu
Copy link
Author

anthqiu commented Mar 28, 2017

I will convert to the official ROM this weekend and see if it can fix this.

@kalonelee
Copy link

Oneplus A3000,使用OxygenOS openbeta12
在主用户正常使用的情况下,添加一个用户
进入新用户初始化设置,不在新用户中安装shadowsocks
在主用户中开关代理(已开启分应用代理-绕过模式)没有遇到问题

@Mygod
Copy link
Contributor

Mygod commented Mar 30, 2017

Similar issue at Adguard: AdguardTeam/AdguardForAndroid#173

@Mygod
Copy link
Contributor

Mygod commented Mar 31, 2017

I'm unable to reproduce this error. However I noted that other users don't have access to VPN section in System Settings.

@anthqiu
Copy link
Author

anthqiu commented Apr 3, 2017

OK, it seems to be a system bug. I'll ask Linage OS developers for futher suggestions.

@anthqiu anthqiu closed this as completed Apr 3, 2017
@madeye madeye mentioned this issue Nov 21, 2017
9 tasks
Mygod added a commit that referenced this issue Apr 17, 2018
FakeTrader pushed a commit to FakeTrader/shadowsocks-android that referenced this issue Aug 21, 2018
bannedbook pushed a commit to bannedbook/SpeedUp.VPN that referenced this issue Dec 25, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants