vbot icon indicating copy to clipboard operation
vbot copied to clipboard

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

Open charlesyq opened this issue 5 years ago • 3 comments

[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)

charlesyq avatar Oct 26 '18 04:10 charlesyq

非常可能是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

psdshow avatar Nov 09 '18 18:11 psdshow

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

coolsky99 avatar Dec 12 '18 08:12 coolsky99

要重编php的curl扩展

kency avatar Apr 20 '19 05:04 kency