kushal.r Posted May 24, 2011 Share Posted May 24, 2011 Hi, I upgraded WHMCS module to 4.5.1 and ever since, there is an error in Reseller club module - CURL Error: 7 - couldn't connect to host. Are there any problems in the new version? The older version was working fine and nothing has been changed anywhere. Is anyone else facing this same issue. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted May 24, 2011 Share Posted May 24, 2011 Same Here. I am also facing this problem. 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted May 24, 2011 Share Posted May 24, 2011 I have done this. I added my main server's IP to reseller clubs account and after exact half hour domain was transferred. 0 Quote Link to comment Share on other sites More sharing options...
claylua Posted May 27, 2011 Share Posted May 27, 2011 i am also having this exact problem. no solution 0 Quote Link to comment Share on other sites More sharing options...
xlibris Posted May 27, 2011 Share Posted May 27, 2011 I had the same problem and the fix is: you must use the shared IP of your server in your Reseller club account, if the static ip don't work. 0 Quote Link to comment Share on other sites More sharing options...
imaticon Posted May 27, 2011 Share Posted May 27, 2011 This is a known issue with servers that have bounded more than 1 IP on the Ethernet interface. If the outbound request doesn’t came from a specific IP, then the server always establish the outbound connection using the first bounded IP of the Ethernet interface. Solution: You simply figure out which is the primary bounded IP of the Ethernet interface and then simply white list this IP at resellerclub. 0 Quote Link to comment Share on other sites More sharing options...
kushal.r Posted May 30, 2011 Author Share Posted May 30, 2011 Hi, Thank you for your replies. The issue seems to have been happening since I upgraded to 4.5.1. I was already using Reseller club API from before and it was working correctly. Suddenly the issue has cropped up. Any other solutions? Thank you 0 Quote Link to comment Share on other sites More sharing options...
DanielM Posted May 30, 2011 Share Posted May 30, 2011 It is also happening to me, and I cannot start selling with ResellerClub till I am able to connect. 0 Quote Link to comment Share on other sites More sharing options...
kushal.r Posted May 31, 2011 Author Share Posted May 31, 2011 Was your Reseller Club account working from WHMCS before upgrading or is yours a new account? It is also happening to me, and I cannot start selling with ResellerClub till I am able to connect. 0 Quote Link to comment Share on other sites More sharing options...
DanielM Posted May 31, 2011 Share Posted May 31, 2011 Yes with the domains. 0 Quote Link to comment Share on other sites More sharing options...
NickV Posted June 2, 2011 Share Posted June 2, 2011 Same here... 0 Quote Link to comment Share on other sites More sharing options...
cosmin Posted June 2, 2011 Share Posted June 2, 2011 (edited) Run # lynx --dump http://www.whatismyip.com/ | grep -o '[0-9].*\.[0-9].*\.[0-9].*\.[0-9].*' -m1 Add this IP in first form in Resellerclub API. Edited June 2, 2011 by cosmin 0 Quote Link to comment Share on other sites More sharing options...
cosmin Posted June 2, 2011 Share Posted June 2, 2011 Hmm.. work just for one minute..... 0 Quote Link to comment Share on other sites More sharing options...
cosmin Posted June 2, 2011 Share Posted June 2, 2011 Works OK after ~20 minutes 0 Quote Link to comment Share on other sites More sharing options...
eco Posted June 6, 2011 Share Posted June 6, 2011 Anyone got this problem fixed? Please 0 Quote Link to comment Share on other sites More sharing options...
WebzPro Posted June 7, 2011 Share Posted June 7, 2011 Anyone got this problem fixed? Please Follow the instructions, add your server IP to the API setting at ResellersClub. "Please see our release notes @ http://docs.whmcs.com/Version_4.5_Release_Notes#Release_Notes in regards to changes with 4.5.1 & ResellerClub." 0 Quote Link to comment Share on other sites More sharing options...
raywelland Posted June 9, 2011 Share Posted June 9, 2011 Hi, having same problem as everyone else. Error: Registrar Error CURL Error: 7 - couldn't connect to host url]http://docs.whmcs.com/Version_4.5_Release_Notes#Release_Notes[/url] in regards to changes with 4.5.1 & ResellerClub. Configuring ResellerClub (v 4.5) 1.Login to the ResellerClub control panel (the url will be in the email you received when you signed up with them) and then go to Settings > Personal Information > Primary Profile - the value you need to note is the Reseller ID. 2.Still in the ResellerClub control panel, go to Settings -> API and enter the IP address of the server where WHMCS is installed to authorize it for API access 3.Now, login to your WHMCS Administration Area 4.Go to Setup > Domain Registrars 5.Choose "Resellerclub" in the registrar dropdown menu and enter the Reseller ID noted above and password you set when you signed up. 6.Then click Save Changes Things I have done: - Everything was working before 4.5.1 update - Configured API settings at reseller club (with support checking IP was correct too) - Configured WHMCS Register settings (ID and password checked!) - Contacted my server host (Curl is functioning fine!) Still got problem and no solution, please help me. Ray ray@skyunlimitedhosting.com 0 Quote Link to comment Share on other sites More sharing options...
raywelland Posted June 10, 2011 Share Posted June 10, 2011 Please use this IP checker. Download attachemnet, and put on your website, access website link. Server IP Checker.zip 0 Quote Link to comment Share on other sites More sharing options...
turbosatan Posted June 21, 2011 Share Posted June 21, 2011 you fix it by going to your reseller club accoutn clicking settings and then api and adding your ip address. resellerclub changed not whmcs 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted July 1, 2011 Share Posted July 1, 2011 I just installed the update, waiting for all the bugs to be worked out, so went from 4.4.2 to 4.5.2. I had a problem originally when RC made the api v2 mandatory, but, got that sorted out quite a while ago. I didn't have a problem with RC until I upgraded, then immediately started getting the curl 7 error. I tried both the shared IP and the dedicated IP for the account and it didn't make any difference. I noted that the old RC registrar module files were included, just renamed so I renamed the new ones and started using the old ones. That worked the first try, so there is something up with the new RC module. 0 Quote Link to comment Share on other sites More sharing options...
iambleaching Posted July 5, 2011 Share Posted July 5, 2011 Followed the instructions in http://docs.whmcs.com/ResellerClub and waited for 2 hours and still seeing the error. Should I continue waiting? 0 Quote Link to comment Share on other sites More sharing options...
Grupo Colca Posted September 15, 2011 Share Posted September 15, 2011 dowload the 4.4 release go to <WHMCS directory>/modules/registrars/resellerclub in your 4.5 release and repleace resellerclub.php and resellerclubsync.php That's all Hi, having same problem as everyone else. Error: Registrar Error CURL Error: 7 - couldn't connect to host url]http://docs.whmcs.com/Version_4.5_Release_Notes#Release_Notes[/url] in regards to changes with 4.5.1 & ResellerClub. Configuring ResellerClub (v 4.5) 1.Login to the ResellerClub control panel (the url will be in the email you received when you signed up with them) and then go to Settings > Personal Information > Primary Profile - the value you need to note is the Reseller ID. 2.Still in the ResellerClub control panel, go to Settings -> API and enter the IP address of the server where WHMCS is installed to authorize it for API access 3.Now, login to your WHMCS Administration Area 4.Go to Setup > Domain Registrars 5.Choose "Resellerclub" in the registrar dropdown menu and enter the Reseller ID noted above and password you set when you signed up. 6.Then click Save Changes Things I have done: - Everything was working before 4.5.1 update - Configured API settings at reseller club (with support checking IP was correct too) - Configured WHMCS Register settings (ID and password checked!) - Contacted my server host (Curl is functioning fine!) Still got problem and no solution, please help me. Ray ray@skyunlimitedhosting.com 0 Quote Link to comment Share on other sites More sharing options...
xlinesoft Posted January 6, 2012 Share Posted January 6, 2012 In case if someone still dealing with this issue. Even though correct IP addresses were specified I was still getting CURL error 7. I have changed a line in includes\xmlrpc.php from curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, $this->verifypeer); to curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); And this fixed the issue. PS. WHMCS 4.5.1, PHP 5.3.8 on Windows server If you are looking for additional info on this issue check this post: /http://drupal.org/node/1081534 0 Quote Link to comment Share on other sites More sharing options...
amyth1884 Posted January 19, 2013 Share Posted January 19, 2013 The IP whitelisting script wont work anymore as the url used in the curl script has ceased to function. Replace http://automation.whatismyip.com/n09230945.asp with http://www.whatismyip.org/ or http://www.whatsmyip.org/ 0 Quote Link to comment Share on other sites More sharing options...
salvadoredwin Posted February 8, 2013 Share Posted February 8, 2013 amyth1884, that is the real problem, but, on which file in WHMCS do we have to make the change? 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.