Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

二维码扫描无法工作 #1314

Closed
realJustinLee opened this issue Jul 27, 2017 · 13 comments
Closed

二维码扫描无法工作 #1314

realJustinLee opened this issue Jul 27, 2017 · 13 comments

Comments

@realJustinLee
Copy link

realJustinLee commented Jul 27, 2017

Please read FAQ then answer these questions before submitting your issue. Thanks!

Environment

  • Android version: "4.4.4 KTU84P"
  • Device: Xiaomi HM1S CDMA
  • Shadowsocks version: version code "v4.1.8" or commit ID "398db4f"
  • Last version that did not exhibit the issue (if applicable): N/A

Configuration

  • Normal

What did you do?

  • Normal

What did you expect to see?

  • 希望可以成功导入二维码
  • 希望可以直接导入配置文件

What did you see instead?

  • 二维码无法扫描,并且扫描框是扁的
@realJustinLee realJustinLee changed the title 二维码扫描无法工作,并且 二维码扫描无法工作,有很多广告 Jul 27, 2017
@realJustinLee realJustinLee changed the title 二维码扫描无法工作,有很多广告 二维码扫描无法工作,并且有很多广告 Jul 27, 2017
@pexcn
Copy link
Contributor

pexcn commented Jul 27, 2017

广告哪里来的很多了?就 1 个而已

@zhanlan123
Copy link

二维码确实扫描有问题

@realJustinLee
Copy link
Author

realJustinLee commented Jul 27, 2017

@pexcn 首先,我想说的是,我是希望这个项目朝着一个好的方向发展的。关于广告的问题,抱歉本人在FAQ中实在没有找到答案,然而在早先的issue中我可以大概知道是因为创收的问题,所以对广告的存在表示能够理解(issue已经修改)。如果有机会的话,还是希望能够提供有着内购渠道或者捐赠的版本。之后的话,二维码扫描的确是不能用的,很多人也证实了这个issue的reproducibility,所以我认为这不是一个个例。最后,希望能有一个正反馈吧。

@realJustinLee realJustinLee changed the title 二维码扫描无法工作,并且有很多广告 二维码扫描无法工作 Jul 27, 2017
@madeye
Copy link
Contributor

madeye commented Jul 28, 2017

#1308 (comment)

@pexcn
Copy link
Contributor

pexcn commented Jul 28, 2017

@Great-Li-Xin 你用什么文本生成的二维码?举个例子?

@realJustinLee
Copy link
Author

@pexcn 直接使用ShadowsocksX-NG生成的服务器信息二维码

@pexcn
Copy link
Contributor

pexcn commented Jul 28, 2017

@Great-Li-Xin 二维码的文本形式是?

@madeye
Copy link
Contributor

madeye commented Jul 30, 2017

Please follow #1308 (comment) to post your QR code here.

You can generate a QR code with https://shadowsocks.org/en/config/quick-guide.html

@realJustinLee
Copy link
Author

realJustinLee commented Jul 30, 2017

2017-07-30 7 12 23

{
    "configs":[
        {
            "remarks":"testService",
            "server":"test.service.com",
            "server_port":"65535",
            "password":"testService",
            "method":"rc4-md5",
            "obfs":"plain",
            "obfsparam":"",
            "remarks_base64":"576O5Zu957q/6LevMw==",
            "group":"",
            "tcp_over_udp":false,
            "udp_over_tcp":false,
            "protocol":"origin",
            "obfs_udp":false,
            "enable":true
        },
    ],
    "index":"0",
    "random":false,
    "global":false,
    "enabled":false,
    "shareOverLan":false,
    "isDefault":false,
    "localPort":"1080",
    "pacUrl":null,
    "useOnlinePac":false,
    "reconnectTimes":"0",
    "randomAlgorithm":"0",
    "TTL":"0",
    "proxyEnable":false,
    "proxyType":"0",
    "proxyHost":null,
    "proxyPort":"0",
    "proxyAuthUser":null,
    "proxyAuthPass":null,
    "authUser":null,
    "authPass":null,
    "autoban":false
}

@pexcn @madeye 直接从ShadowsocksX-NG手动生成的二维码间歇性可用,这是一个在我这里不可用的案例。对上一个错误案例表示抱歉。

@pexcn
Copy link
Contributor

pexcn commented Jul 30, 2017

已测试,无法重视。

@realJustinLee
Copy link
Author

realJustinLee commented Jul 30, 2017

@pexcn @madeye comment 已更新,可以试着扫描以下或者我上一个评论里的二维码,你会发现内置二维码扫描器不工作。
2017-07-30 7 12 23

@pexcn
Copy link
Contributor

pexcn commented Jul 30, 2017

你的二维码 decode 出来的格式是:

ss://[BASE64]

现在应该是用 https://shadowsocks.org/en/spec/SIP002-URI-Scheme.html 这种格式。

@madeye
Copy link
Contributor

madeye commented Jul 31, 2017

The generated QR code follow neither old version nor SIP002.

rc4-md5:[email protected]:65535?Remark=testService&OTA=false

Please ask the maintainer to remove Remark and OTA args.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants