IP blocker error when access via html script

IP blocker error when access via html script

by T K -
Number of replies: 0

I am using Moodle 3.4 on centos 7.

We have 2 servers running production and development sites respectively, which are exact same copies of each other.

We have the below access for the login to the servers:

1) Through the website

2) via this script: http://xxx/moodle-ws/sso/access.php, which has the below line to capture the user/id login

function formSubmit()

{

document.getElementById("login").submit();

}

</script>


The problem is, only on the development server were are seeing this error: 'This site is not available currently.' , which I checked relates to Ip blocked situation.


The difference between the 2 servers is the development server's IP blocker settings  mentions 'Defined in config.php' but production server DOES NOT. Both servers have IP blocker settings defined in the config.php.


rrr

we tried commenting out allowedip and blockedip on the config.php but after that we couldnt access it at all.

Has anyone seen similar issues? How can i solve this situation?

Average of ratings: -