Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: aplad on January 28, 2018, 11:20:01 am

Title: Remote Access API Issue
Post by: aplad on January 28, 2018, 11:20:01 am
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!
Title: Re: Remote Access API Issue
Post by: My Auto DJ on January 29, 2018, 02:53:44 am
Are you perhaps missing ..

host="<IP ADDRESS>:2199"
Title: Re: Remote Access API Issue
Post by: aplad on January 29, 2018, 03:10:06 am
Not sure - where would I find it?