• Resolved Nowarah

    (@nouarah)


    Hello,
    we face issue with version 2.30.2 the backend is always blocked no matter the condition i use, I use block countries except my country but this is not working and it always blocks the backend. can you handle the issue or you may provide me the pervious version

    I already:
    remove cache plugin

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author ip2location

    (@ip2location)

    Can you please enable the “Debugging Log” option in the plugin settings, test it again, then check the “debug.log” generated under the plugin folder for the details?

    Dear Plugin Author,

    I am having the same issue. After update, I am suddenly blocked from logging into my backend and being given an error 403. I have to revert the site to before the update to fix the issue.

    Also, please note that the user above cannot get into the backend, so they cannot enable any option in the plugin unless they are able to revert with a recovery tool, log in, enable the option and then update again for the log.

    Plugin Author ip2location

    (@ip2location)

    @geshra Please remove the plugin folder from “wp-content/plugins/ip2location-country-blocker” from your file manager.

    I have already attempted the recovery action to revert my website before this update could cause damage. Unfortunately, I am now confronting a server error from the cloud and will need to contact my host company to try and salvage my WP installation.

    Okay. Hopefully this will help Author and OP.

    1. Managed to get the host to fix cloud recovery to a stable point.
    2. Created manual backups of the WP installation and database, just in case.
    3. Logged into the back end.
    4. Went to plugin settings and added my IP to the whitelist on the front and back end. Important. 
    5. Enabled logging. Confirmed .log file was created in the folder.
    6. Cleared cache (Litespeed).
    7. Updated plugin. Cleared the cache again.
    8. Logged out. Attempt to log back into the backend.
    9. Login successful.

    IP Database: IP2PROXY-LITE-PX2.BIN 07/12/23 & IP2LOCATION-LITE-DB1.BIN 07/15/2023.

    Log Report:
    {“time”:”2023-07-22 00:43:48″,”client_ip”:”...“,”country”:”??”,”is_proxy”:”??”,”proxy_type”:”??”,”lookup_by”:”??”,”cache”:false,”uri”:”https:\/\/www.MYDOMAIN.com\/wp-login.php?loggedout=true&wp_lang=en_US”,”message”:”IP is in whitelist.”,”action”:”ABORTED”}
    {“time”:”2023-07-22 00:43:53″,”client_ip”:”...“,”country”:”??”,”is_proxy”:”??”,”proxy_type”:”??”,”lookup_by”:”??”,”cache”:false,”uri”:”https:\/\/www.MYDOMAIN.com\/”,”message”:”IP is in whitelist.”,”action”:”ABORTED”}
    {“time”:”2023-07-22 00:44:19″,”client_ip”:”...5″,”country”:”??”,”is_proxy”:”??”,”proxy_type”:”??”,”lookup_by”:”??”,”cache”:false,”uri”:”https:\/\/www.MYDOMAIN.com\/wp-login.php”,”message”:”IP is in whitelist.”,”action”:”ABORTED”}
    {“time”:”2023-07-22 00:44:35″,”client_ip”:”...“,”country”:”??”,”is_proxy”:”??”,”proxy_type”:”??”,”lookup_by”:”??”,”cache”:false,”uri”:”https:\/\/www.MYDOMAIN.com\/wp-login.php”,”message”:”IP is in whitelist.”,”action”:”ABORTED”}

    I solved it by whitelisting my IP; however, this is only a stopgap. Note: I have all countries save the USA blocked. There is no reason why I should have to whitelist my IP since it is located in the USA. I am not using a proxy. I do, however, notice that the plugin isn’t recognizing if the IP is a proxy or even what country it is from.

    But, that said, front end traffic for my USA IP is not being blocked despite these criteria being unknown. Locabrowser confirmed that USA is not blocked, but it and GeoPeeker also determined that most countries were no longer blocked.

    For the time being, I will refrain from updating the plugin until this can be addressed and have recovered my WP installation to a stable version. I hope this helps.

    • This reply was modified 1 year, 4 months ago by Geshramel M.
    • This reply was modified 1 year, 4 months ago by Geshramel M.
    Thread Starter Nowarah

    (@nouarah)

    is there any update for this?

    Plugin Author ip2location

    (@ip2location)

    @geshra Thanks for the input. Can I know the IP that is not recognizable?

    @nouarah Please read my previous reply and provide the details.

    Thread Starter Nowarah

    (@nouarah)

    {“time”:”2023-07-24 07:09:33″,”client_ip”:”ip”,”country”:”DE”,”is_proxy”:”NO”,”proxy_type”:”-“,”lookup_by”:”??”,”cache”:true,”uri”:”https:\/\/MY-DOMAIN\/wp-login.php?redirect_to=https%3A%2F%2FMY-DOMAIN%2Fwp-admin%2F&reauth=1″,”message”:”Access denied.”,”action”:”ABORTED”}

    {“time”:”2023-07-24 07:13:30″,”client_ip”:”ip”,”country”:”DE”,”is_proxy”:”NO”,”proxy_type”:”-“,”lookup_by”:”??”,”cache”:true,”uri”:”https:\/\/MY-DOMAIN\/wp-login.php?redirect_to=https%3A%2F%2FMY-DOMAIN%2Fwp-admin%2F&reauth=1″,”message”:”Country not in the list.”,”action”:”ABORTED”}

    {“time”:”2023-07-24 07:13:30″,”client_ip”:”ip”,”country”:”DE”,”is_proxy”:”NO”,”proxy_type”:”-“,”lookup_by”:”??”,”cache”:true,”uri”:”https:\/\/MY-DOMAIN\/wp-login.php?redirect_to=https%3A%2F%2FMY-DOMAIN%2Fwp-admin%2F&reauth=1″,”message”:”Send notification email.”,”action”:”ABORTED”}

    {“time”:”2023-07-24 07:13:30″,”client_ip”:”ip”,”country”:”DE”,”is_proxy”:”NO”,”proxy_type”:”-“,”lookup_by”:”??”,”cache”:true,”uri”:”https:\/\/MY-DOMAIN\/wp-login.php?redirect_to=https%3A%2F%2FMY-DOMAIN%2Fwp-admin%2F&reauth=1″,”message”:”Access denied.”,”action”:”ABORTED”}

    it gives false country im not in DE!!! and my ip is belongs to the whit-listed country

    Plugin Author ip2location

    (@ip2location)

    @nouarah Can I know what is your IP address?

    Thread Starter Nowarah

    (@nouarah)

    in the log is 185 but it’s not my ip

    Plugin Author ip2location

    (@ip2location)

    It looks like your website is hosted behind Securi Firewall. Please follow the instructions below to forward the correct IP address:

    https://docs.sucuri.net/website-firewall/troubleshooting/same-ip-for-all-users/

    Thread Starter Nowarah

    (@nouarah)

    yes i have Securi, sorry but i dont get what you need exactly? my issue is the plugin was working before this update, and i have excluded my country so any ip whiten the country should access it! do you need my current ip ?

    Thread Starter Nowarah

    (@nouarah)

    i have wordpress website and already had the plugin of sucuri enabled

    Plugin Author ip2location

    (@ip2location)

    @nouarah I just released a new version (2.31.0) which is compatible with the Securi firewall. Please install and try with it.

    Thread Starter Nowarah

    (@nouarah)

    all good now it takes the correct ip, so is this was the only issue?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Lastest update issue’ is closed to new replies.