Centova Technologies Inc.

Products and Services

Centova Cast
Customer Support
Centova Technologies
 

Centova Technologies Forum

Author Topic: Remote Access API Issue  (Read 277 times)

aplad

  • Newbie
  • *
  • Posts: 2
Remote Access API Issue
« 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!

My Auto DJ

  • Sr. Member
  • ****
  • Posts: 482
    • My Auto DJ
Re: Remote Access API Issue
« Reply #1 on: January 29, 2018, 02:53:44 am »
Are you perhaps missing ..

host="<IP ADDRESS>:2199"
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com

aplad

  • Newbie
  • *
  • Posts: 2
Re: Remote Access API Issue
« Reply #2 on: January 29, 2018, 03:10:06 am »
Not sure - where would I find it?