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

curl 错误,如下 已更新curl 已去掉NSS还是报错,如何解决 #270

Open
charlesyq opened this issue Oct 26, 2018 · 3 comments

Comments

@charlesyq
Copy link

[2018-10-26 12:52:37][ERROR] https://webpush.wx.qq.com/cgi-bin/mmwebwx-bin/synccheckcURL error 35: A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot. (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
[2018-10-26 12:52:37][ERROR] https://webpush.wx.qq.com/cgi-bin/mmwebwx-bin/synccheckcURL error 35: A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot. (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

@psdshow
Copy link

psdshow commented Nov 9, 2018

非常可能是swoole没有安装好,swoole安装时可选是否支持http2,但是后面在使用时可能用到了http2
https://wiki.swoole.com/wiki/page/6.html
pecl install swoole 各项可选
http2依赖nghttp2(我安装的时ngnix 下面这个可能时nginx专用的)
wget https://github.com/nghttp2/nghttp2/releases/download/v1.30.0/nghttp2-1.30.0.tar.bz2
tar -jxvf nghttp2-1.30.0.tar.bz2
cd nghttp2-1.30.0 ./configure && make && make install

我的php curl依然显示nss,但是已经可以调用主动发送了
image

@coolsky99
Copy link

同问 已经更新了curl, 也重新搞了swoole 还是报错

@kency
Copy link

kency commented Apr 20, 2019

要重编php的curl扩展

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

No branches or pull requests

4 participants