Issue with Webservice IP Range *.*.*.*

Hello folks,
I’m having issue with webservices IP Range.
When I put [...] (without braket of course), I’m getting the following error

PID664bb743583e7 - L2 core_net_match # match all range is not allowed network:... ip:173.179.187.232

PID664bb743583e7 - L2 auth_validate_token # invalid login t:50fe58226afdc5c99651eb795318693f ip:xxx.xxx.xxx.xxx

PID664bb743583e7 - L3 webservices # u: ip:xxx.xxx.xxx.xxx op:pv timestamp:1716238147 status:ERR error:100 error_string:authentication failed

Now, when I replace [...] with my Firewall IP address xxx.xxx.xxx.xxx, I’m able to send SMS using the API.

Kindly, any help will be appreciated
Regards

Hello
following chatGPT I should add the following configuration in config.php
$webservices_config = array(
‘allow_ips’ => array() // Allow all IP addresses
);
So I added it in /home/komodo/public_html/config.php… but it didn’t help even after restarting playSMS
Please can you help?

Hello
Please anyone to help?
Thanks

Hi,

Since 1.4.7 webservices IP cannot not be *.*.*.* or 0.0.0.0 for security reason.

anton

Hi Anton
Thank you for the answer
Regards

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.