Jump to content

Centova Integration Failing


Edrick

Recommended Posts

Solution: Of course right after I posted this I figured it out, I have CSF installed on WHM and I had to add the port 2199 for the outbound TCP connection after that it worked 

 

I've contacted Centova and they seem to think it's a firewall issue, but I'm not really clear on what...

This error means that the server upon which you're running WHMCS is unable to make a connection to Centova Cast

As your Centova Cast URL appears to be valid and working, my first assumption would be that the server on which WHMCS is running has been firewalled such that it cannot make outbound connections. It is extremely common for shared web hosting providers (and even some dedicated server providers) to implement such firewall rules for perceived security reasons. I'd recommend contacting your hosting provider for assistance.

In any case, this is definitely the result of a connectivity problem between your WHMCS server and your Centova Cast server, and does not represent a problem in WHMCS or Centova Cast and the first thing you should check is that port 2199 is open on the WHMCS server.

----

However the system is a CentOS Server with cPanel that is running WHCMS, so are they saying that the cPanel server also needs to have port 2199 open and is that for inbound or outbound connections? There's no custom configuration and its just a plain ol cpanel server so I would assume if custom configuration needed to be done it would have been in the documentation 

 

So I've setup the WHMCS Module for Centova and created the server, when I go to WHMCS to list Servers I can click the link to login to Centova admin portal and that works just fine, however when it goes to create an account I get the following error:

Module Create Failed - Service ID: 2 - Error: Socket error accessing https://s1.domain.com:2199/api.php: fopen(https://s1.domain.com:2199/api.php): failed to open stream: Connection refused

When I go to the API url I just get an XML error which I've never been to the API URL so I don't know if that's what I should get anyways?

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<centovacast version="3.2.12" host="s1.domain.com:2199">

<response type="error">

<message>XML root tag not found.</message>

</response>

</centovacast>

 

-----

 

 

 

 

Edited by Edrick
Link to comment
Share on other sites

  • 3 weeks later...
4 hours ago, Luis Ameglio said:

where did you open this port? I'm having the same issue.

In my case I had CSF (ConfigServer Security & Firewall) module / plugin installed.

So I went to WHM > Plugins >  ConfigServer Security & Firewall

 

Under that module go to Firewall Configuration 

TCP_OUT =  There will be a string of ports that are allowed to go out, add Centova Admin port 2199 here

 

Hit change at the bottom, it will then say you should reset CSF so the settings take affect.

 

This is where it was for me, but depending on what you're using if it's CSF or something else to manage your Outbound Firewall policies that's what you need to add it to 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated