Skip to main content

DomainInfo stopped working

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! I'm not aware of anything that has changed recently on the cPanel side related to this call. I do see you are using port 2087 instead of port 2083, so you may want to consider adjusting that. We have an example of a Curl request with a token that was provided by one of our developers here:
    0
  • jimlongo
    Thanks for the reply, that did end up helping by giving me some things to look at. The port I have is correct, it needs to be 2087 for this type of call. My problem (just in case it helps someone else) is in WHMCS I was getting the information to make the call ($protocol, $hostname,$username,$secure) from the table `tblservers` which is the list of connected provisioning servers. I was using the $secure variable to decide whether to use the http or https protocol in the url I'm calling. It looks like this setting in the db should have the values of "on" or "off", but somehow in my DB had changed to a value of 1. So my call was using http . . .
    0
  • cPRex Jurassic Moderator
    Well that's definitely odd, but glad you were able to track it down!
    0

Please sign in to leave a comment.