dongnao2048 2019-07-04 07:35
浏览 87

无法从我的服务器解决盒连接问题

I am using BOX's Authenticate with JWT (API) to get access token from the BOX. My script works fine when I host it on the AWS server. But when hosted on my company's on premise server it give me below issue

 ["errno"]=>
      int(35)
      ["error"]=>
      string(59) "Unknown SSL protocol error in connection to api.box.com:80 "
      ["url"]=>
      string(32) "https://api.box.com/oauth2/token"
      ["content_type"]=>

This I assume is a network or proxy issue. I have set proxy in code and on server also. export http_proxy=jjjj.com/test:80 similarly to the https proxy.

Still I could not get box access token. I see another error cURL 6 - unable to resolve the host - api.box.com:80

My PHP curl and SSL extension (openSSL) have different version than what I see on terminal.

In PHP info page - curl version is - 7.21.7 where as in the terminal if I do curl --version it says curl 7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

Please help me to know exactly what is the issue here

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料