Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
worryboy opened this issue Jul 25, 2020 · 0 comments
Open

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

worryboy opened this issue Jul 25, 2020 · 0 comments

Comments

@worryboy
Copy link

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)))
        ));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant