wpmicronet
Forum Replies Created
-
Forum: Reviews
In reply to: [WP-ISPConfig 3] Issue soapI sent you by email soap url username remote password …
Cordially
Forum: Reviews
In reply to: [WP-ISPConfig 3] Issue soapOn the ispconfig.php file I have remove :
” public function withSoap(){
$this->soap = new SoapClient(null, [‘location’ => WPISPConfig3::$OPTIONS[‘soap_location’] , ‘uri’ => WPISPConfig3::$OPTIONS[‘soap_uri’], ‘trace’ => 1, ‘exceptions’ => 1]);
$this->session_id = $this->soap->login(WPISPConfig3::$OPTIONS[‘soapusername’], WPISPConfig3::$OPTIONS[‘soappassword’]);
return $this;
}”———————-
I put what you wrote above:
“public function withSoap(){
$context = stream_context_create([
‘ssl’ => [
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true
]
]);
$this->soap = new SoapClient(null, [
‘location’ => WPISPConfig3::$OPTIONS[‘soap_location’] ,
‘uri’ => WPISPConfig3::$OPTIONS[‘soap_uri’],
‘trace’ => 1, ‘exceptions’ => 1,
‘stream_context’ => $context
]);
$this->session_id = $this->soap->login(WPISPConfig3::$OPTIONS[‘soapusername’], WPISPConfig3::$OPTIONS[‘soappassword’]);
return $this;
}
”—————————–
But I still have the message :
ISPConfig SOAP Request failed: Could not connect to hostCordially
Forum: Reviews
In reply to: [WP-ISPConfig 3] Issue soapHere is what I have in my ispconfig.php file:
”
//* Allow connections to self signed SSL certs
$context = stream_context_create(
array(
‘ssl’ => array (
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true
)
)
);$client = new SoapClient(null, array(‘location’ => $_POST[‘remote_server’],
‘uri’ => $_POST[‘remote_server’].’/index.php’,
‘trace’ => 1,
‘exceptions’ => 1,
‘stream_context’ => $context));if($remote_session_id = $client->login($_POST[‘remote_user’], $_POST[‘remote_password’])) {
$connected = 1;
$msg .= ‘Successfully connected to remote server.’;
}
} catch (SoapFault $e) {
//echo $client->__getLastResponse();
$error .= $e->getMessage();
$connected = 0;
“Forum: Reviews
In reply to: [WP-ISPConfig 3] Issue soapI have a status code 200,
I always get the message in WooCommerce products:
“ISPConfig SOAP Request failed: Could not connect to host”Cordially
Forum: Reviews
In reply to: [WP-ISPConfig 3] Issue soapHello,
I changed the default port of ispconfig I use another port,
The hostname and (Subdomain.Domain) are properly configured that points to my ispconfig server.From the WooCommerce products page, I have this message:
“ISPConfig SOAP Request failed: Could not connect to host”Is there anything that should appear on the page,
When you type the url below, from a web browser ?https://subdomain.domain:2053/remote/index.php
or
https://subdomain.domain:2053/remote/Cordially.