开发者社区> 问答> 正文

钉钉SDK测试出错



提示这个错误: vendor\nategood\httpful\src\Httpful\Request.php</b> on line <b>208</b><br />
请问这个是什么引起的?
应该不是curl吧

展开
收起
老汉推车 2016-08-16 11:55:50 4446 0
2 条回答
写回答
取消 提交回答
  • https://oapi.dingtalk.com
    你看看你能请求到这个地址吗?
    你是开发的isv应用,看看你的开发者后台配置的ISV地址和你请求的地址是否一致。

    -------------------------

    这些不能再浏览器上请求,需要做个ISV在钉钉客户端上请求。

    2016-08-16 13:48:46
    赞同 展开评论 打赏
  • Re钉钉SDK测试出错
    错误代码
    <!DOCTYPE html>
    <html>
    <head>
        <title>jsapi demo</title>
        <link rel="stylesheet" href="public/stylesheets/style.css" type="text/css" />
        <!-- config涓璼ignature鐢眏sticket浜х敓锛岃嫢jsticket澶辨晥锛屽垯signature澶辨晥锛岃〃鐜颁负dd.error()杩斿洖鈥滄潈闄愭牎楠屽け璐モ€濅箣閿欒銆� -->
        <!-- 鍦ㄨ姹傛柊鐨刯sticket涔嬪悗锛屾棫鐨則icket浼氬け鏁堬紝瀵艰嚧鏃icket浜х敓鐨剆ignature澶辨晥銆� -->
        <script type="text/javascript">var _config = <br />
    <b>Fatal error</b>:  Uncaught exception 'Httpful\Exception\ConnectionErrorException' with message 'Unable to connect to "https://oapi.dingtalk.com/service/get_suite_token": 35 error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure' in \isvreceive\vendor\nategood\httpful\src\Httpful\Request.php:207
    Stack trace:
    #0 isvreceive\util\Http.php(30): Httpful\Request->send()
    #1 \isvreceive\api\ISVService.php(23): Http::post('/service/get_su...', NULL, '{"suite_key":"s...')
    #2 \isvreceive\api\ISVClass.php(16): ISVService::getSuiteAccessToken('xrTe88LdArlP6Ps...')
    #3 \isvreceive\api\ISVClass.php(33): ISVClass::getSuiteAccessToken()
    #4 \isvreceive\api\Auth.php(51): ISVClass::getCorpInfo('ding0963262f4a4...')
    #5 \isvreceive\index.php(14): Auth::isvConfig('ding0963262f4a4...')
    #6 {main}
      thrown in <b>\isvreceive\vendor\nategood\httpful\src\Httpful\Request.php</b> on line <b>207</b><br />

    2016-08-16 12:23:26
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
移动互联网测试到质量的转变 立即下载
给ITer的技术实战进阶课-阿里CIO学院独家教材(四) 立即下载
F2etest — 多浏览器兼容性测试整体解决方案 立即下载