Skip to content

Exception unhandled:SOAP Error: Could not connect to host #2

@worryboy

Description

@worryboy

if the local/remote soap connection to ispconfig retuns an error like

Exception unhandled:SOAP Error: Could not connect to host

change

include/classes/AutoConfig.php

from

        $client = new SoapClient(null, array('location' => SOAP_LOCATION,
            'uri'      => SOAP_URI));

to

        $client = new SoapClient(null, array('location' => SOAP_LOCATION,
            'uri'      => SOAP_URI,
            'trace' => 1,
            'stream_context'=> stream_context_create(array('ssl'=> array('verify_peer'=>false,'verify_peer_name'=>false)))
        ));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions