Todesengel Posted July 5, 2014 Share Posted July 5, 2014 Hey guys, I have spent the last 5 hours playing with enom tech support, trying to get my whmcs installation to speak with their servers. I have the IP address whitelisted, been confirmed with enom support. The IP address is the same as my cpanel, and when i ping my website.(the website making the API call) This is from ENOMs tech support after he requested to see a module debug log: _____________________________________________________ I was hoping that the debug log would include the full URL of the API command. Have you reached out to WHMCS to see if there may be an issue with their software? I've also reset the test account to ensure that the database has the correct IP address for the test account. Additionally, since your account is so new, it has been easy to confirm that there have been no API calls from the IP address *.*.*.* by reviewing logs for both the test and the live account. Can you run a check command from the live environment so that I can analyze that? ______________________________________________________ How do I issue a check command? Here is an example of the debug log, I get the same error on every one: Request: uid=**********&pw=*********&tld=com&sld=yaw33n&command=getdns& Response: ;URL Interface ;Machine is SJL0VWRESELL_T ;Encoding Type is utf-8 Command=GETDNS APIType=API Language=eng ErrCount=1 Err1=User not permitted from this IP address - 4 ResponseCount=1 ResponseNumber1=713254 ResponseString1=Policy error; unauthorized; user(s) MinPeriod= MaxPeriod=10 Server=SJL0VWRESELL_T Site= IsLockable= IsRealTimeTLD= TimeDifference=+0.00 ExecTime=0.078 Done=true RequestDateTime=7/4/2014 4:45:22 PM 0 Quote Link to comment Share on other sites More sharing options...
Todesengel Posted July 5, 2014 Author Share Posted July 5, 2014 Figures, 30min after I post this I find the soultion. So I actually had to use my VPS's Domain Name Server IP address... Does that seem right? So when I got my domain name, I had to set the 2 NS with the IP, I used the first IP and it worked... 0 Quote Link to comment Share on other sites More sharing options...
Troy Posted July 5, 2014 Share Posted July 5, 2014 Whatever the primary IP of your machine is would be the IP WHMCS communicates on, not necessarily the IP of the WHMCS website. Generally speaking on Linux you can get the value in the output of the ifconfig command--look for "inet addr" in the output for the primary NIC (usually ETH0). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.