Failed to connect to port 443: Connection refused

  • Simon
    # 8 months, 2 weeks ago


    I got following error when register with miniOrange in Joomla

    Request Error:Failed to connect to port 443: Connection refused

    It is my test Joomla in my compute, the proxy is needed. But I setup proxy for Joomla. Joomla update and extension updates notification works fine. I think it prove the proxy setting is correct.

    I also tried to registered in your website and login in Login with miniOrange in my Joomla, got same error.

    Best Regards,
    Simon Cai

    # 8 months, 2 weeks ago

    The problem is miniOrange is using curl to send http request. Which doesn’t use the joomla proxy.
    It works after I added following lines to each curl call.

        if (!empty(MoOAuthUtility::Proxy)){
              curl_setopt($ch, CURLOPT_PROXY, MoOAuthUtility::Proxy);
              curl_setopt($ch, CURLOPT_PROXYPORT, MoOAuthUtility::ProxyPort);
    Abhay Yadav
    # 8 months, 2 weeks ago

    Hi Simon,

    Thank you for pointing out the issue and for providing the solution. I will test it out and will include it in the next version release of the plugin.

    Best Regards,

Viewing 3 posts - 1 through 3 (of 3 total)