I am trying to use the Centova Control Panel application with the remote access API. I communicate with the API and send to it string:
<?xml version="1.0" encoding="UTF-8"?><centovacast><request class="system" method="provision"><password>********</password><username>***** </username><adminpassword>testing1</adminpassword><sourcepassword>testing</sourcepassword><title> Radio</title><organization>Stream</organization><url>
http://url.com</url><email>test@gmail.com</email><usesource>0</usesource><autostart>1</autostart><template>apl25</template></request></centovacast>
In response you receive string:
<?xml version="1.0" encoding="UTF-8"?><centovacast version="-"><response type="error"><message>Internal error -- Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/centovacast/system/PEAR/Net/Socket.php on line 159</message></response></centovacast>
This was working issue free under a Debian installation. The server was redone using Centos and now this problem cropped up. I thinking there's an OS setting or something missed during set up.
Anyone encounter this or can give me a push in the right direction on this. Thanks in advance!