Yii Framework Forum: Ehttpclient Extension - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ehttpclient Extension Unable to connect to secure http (https) using EHttpClient Rate Topic: -----

#1 User is offline   geekgugi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 16-May 13

Posted 17 May 2013 - 01:27 AM

Hi,
I have been trying to connect to ssl using EHttpClient like below



$client = new EHttpClient($url, array(
'maxredirects' => 0,
'timeout' => 30,
''));
$client->setCookie('JESSIONID', $sessionId);
$client->

$response = $client->request();

I am getting following exception
Unable to Connect to ssl://localhost:8443. Error #0:
/home/sagar/Mobilitas/hemoclo-web/hemoclo/protected/extensions/EHttpClient/adapter/EHttpClientAdapterSocket.php(160)
0

#2 User is offline   Keith 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,670
  • Joined: 04-March 10
  • Location:UK

Posted 17 May 2013 - 04:34 AM

Should it not be https://localhost... ?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users