Author Topic: WHMCS not connecting to cwp  (Read 17802 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: WHMCS not connecting to cwp
« Reply #15 on: April 23, 2020, 11:14:22 AM »
the port is open
TCP
IN: 20, 21, 22, 25, 53, 80, 110, 143, 443, 465, 587, 993, 995, 2030, 2031, 2082, 2083, 2086, 2087, 2095, 2096, 2304
OUT: 20, 21, 22, 25, 53, 80, 110, 113, 443, 2030, 2031, 2082, 2083, 2086, 2087, 2095, 2096, 587, 993, 995, 2080, 2443, 2304
UDP
IN: 20, 21, 53, 2304
OUT: 20, 21, 53, 113, 123, 2304

 Whitelist configuration
UDP   IN   ipv4 (Source)   2301 to 2304 (Destination)   CWP: allow a client to connect from ''ipv4'' via ''udp'' to port(s) 2301 to 2304

I also tried
TCP This server to connect to: TCPA specific port 2304
« Last Edit: April 23, 2020, 11:35:22 AM by intechnologics »

Offline
*
Re: WHMCS not connecting to cwp
« Reply #16 on: April 23, 2020, 06:31:24 PM »
it doesn't work for me

User API port 2302 check: OK
Oauth query check: OK
User API folder check: OK
External API port 2304 check: OK
External API files and htaccess : OK
CSF Firewall status check: ENABLED
TCP_IN for port 2304 set in /etc/csf/csf.conf: OK
TCP_OUT for port 2304 set in /etc/csf/csf.conf: OK

Offline
*
Re: WHMCS not connecting to cwp
« Reply #17 on: October 04, 2022, 07:26:45 PM »
Hello, i have some vps, i make one for whmcs, another for cwp7 .

i have plesk in another vps :

 whmcs <> plesk = ok!
the command
Code: [Select]
curl -k "https://000.00.000.00:2304/v1/account" -X POST --data "key=u24y8dO30ZwI1CHfmZLK5M6cuh0UUx2f2A3RpCNx82E1ExLyMqPALsEvihrGbFUvCxHtwP" --data "action=list" works and give me th result attended .

I install php-fpm, cgi, ioncube, install the BDD, whmcs is ok.

I type
Code: [Select]
curl -k "https://000.00.000.0:2304/v1/account" -X POST --data "key=u24y8dO30ZwI1CHfmZLK5M6cuh0UUx2f2A3RpCNx82E1ExLyMqPALsEvihrGbFUvCxHtwP" --data "action=list" another time after installs, in ssh and... TADAMMM
Code: [Select]
curl: (28) Failed to connect to 000.00.000.0 port 2304: Connection timed out
.... i really, but really dont understant, and when i curl -k in another of my vps, it works.... help :p

Offline
*****
Re: WHMCS not connecting to cwp
« Reply #18 on: October 04, 2022, 11:35:21 PM »


Connection timed out ->

You are doing something wrong!

1- Check the Apikey and that you have permission to see the return list

2. That the port is open, from whmcs to cwp and vice versa

3. I will use the % option in the apikey instead of the ip