Jump to content

CURL error when running ResellerClub Domain Sync Report


mathewparet

Recommended Posts

After recent upgrade of my server I am facing issues with Domain Sync Report using the ResellerClub module. Below is the error I am getting:

 

Error for parijaat.org: CURL Error: 7 - couldn't connect to host (IP: & 66.85.131.115).

 

66.85.131.115 is the IP of my server. But from the error I think something is missing before "&". Looks like it should have shown 2 IPs. I understand this looks like a Firewall issue. But I am not able to get the IP or domain opened in firewall as the error log doesn't give any clues as to which hostname/ip and port the CURL is trying to connect to.

 

Thanks in advance.

Link to comment
Share on other sites

This has nothing to do with the hosting control panel like cPanel, Plesk or DirectAdmin. Issue is with ResellerClub Domain Sync. It is totally different. So issue is occuring where WHMCS is trying to connect to the "Domain" control panel in ResellerClub.

Link to comment
Share on other sites

This has nothing to do with the hosting control panel like cPanel, Plesk or DirectAdmin. Issue is with ResellerClub Domain Sync. It is totally different. So issue is occuring where WHMCS is trying to connect to the "Domain" control panel in ResellerClub.

In fact it probably is related to the control panel and firewalls. The script needs to connect out through certain ports to use CURL and complete your request. From the error it appears the port(s) it needs are not open on your server.

 

Did you try adding in the port(s) it suggests in the documentation?

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

You need to ensure your server is whitelisted for access to ResellerClub's API for access to sync domains. This error suggests it is not, you need to ensure 6.85.131.115 is whitelisted.

 

The solution to common errors are posted in our documentation: http://docs.whmcs.com/ResellerClub#CURL_Error:_7_-_couldn.27t_connect_to_host

Link to comment
Share on other sites

The interesting fact is that I have already added the IP in the domain control panel at Settings > API. But still it is not working.

 

Also the error I get seems incomplete:

 

Error for parijaat.org: CURL Error: 7 - couldn't connect to host (IP: & 66.85.131.115).

 

Looks like something is missing before the & symbol.

Link to comment
Share on other sites

This has nothing to do with the hosting control panel like cPanel, Plesk or DirectAdmin.

In fact, it probably does. See below.

....From the error it appears the port(s) it needs are not open on your server.

Did you try adding in the port(s) it suggests in the documentation?

 

The interesting fact is that I have already added the IP in the domain control panel at Settings > API. But still it is not working.

Yes, but did you also add in the egress ports as mentioned?

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