Coder Social home page Coder Social logo

Comments (7)

GzAbc avatar GzAbc commented on August 25, 2024

代码调用https接口的时候报错!

from wechat-php-sdk.

dodgepudding avatar dodgepudding commented on August 25, 2024

已经修复, 全部改成https接口了

from wechat-php-sdk.

GzAbc avatar GzAbc commented on August 25, 2024

会报这种错误 "Error: Curl error SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"

------------------ 原始邮件 ------------------
发件人: "dodge"[email protected];
发送时间: 2013年4月26日(星期五) 晚上7:10
收件人: "dodgepudding/wechat-php-sdk"[email protected];
抄送: "GzAbc"[email protected];
主题: Re: [wechat-php-sdk] uid是如何获取的? (#5)

已经修复, 全部改成https接口了


Reply to this email directly or view it on GitHub.

from wechat-php-sdk.

GzAbc avatar GzAbc commented on August 25, 2024

报错!!Error: Curl error SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

from wechat-php-sdk.

GzAbc avatar GzAbc commented on August 25, 2024

在snoopy.class.php950行加上 if(!empty ($matches))不然程序会报错 894行的curl要加上
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
不然验证证书会出错

from wechat-php-sdk.

dodgepudding avatar dodgepudding commented on August 25, 2024

我服务器上没有出现证书错误提示, 不过验证证书是非必要的, 已经加上忽略验证

from wechat-php-sdk.

ys21426 avatar ys21426 commented on August 25, 2024

测试访问了下用户信息,结果返回{"ret":"-20000", "msg":"Request is denied! "}
token已经提交的了,是不是微信公众平台又加了验证?

from wechat-php-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.