Support » Plugin: IP Geo Block » 504 Gateway error

  • Jakub


    It was working fine for a week… today huge drop in visitors and I found that if trying to access the site from Google I get 504 error

    (my country is obviously not on the blacklist)

    after deactivating the plugin the site works fine

    edit: changed rating to 4* for now as the developer is incredibly helpful, even though it is a free plugin!

    edit2: changed rating to 5* … seriously amazing developer!

    • This topic was modified 2 years, 6 months ago by Jakub.
    • This topic was modified 2 years, 6 months ago by Jakub.
    • This topic was modified 2 years, 2 months ago by Jakub. Reason: rating change
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tokkonopapa


    Sorry about your situation.

    You might enable “Block by country” on “Front-end target settings” section. In this case, reverse DNS lookup will attempt to locate a dns PTR record for an IP address by default which might possibly cause your error.

    In the next release (may be 3.0.3), I’ll make this functionality disable by default and make an option for it.

    Related: UA string and Qualification

    Thanks for your feedback.



    Hi, yes I’m blocking several countries from front-end – that’s the reason of using the plugin.


    Plugin Author tokkonopapa


    Very frequently, you know spammer and attacker disguise user agent string as google bot for example. DNS reverse lookup would effectively block those staff, but sometimes performance would be the problem.

    In the current version, if you replace all HOST and HOST=... to * in “UA string and qualification” at “Front-end target settings” as follows, DNS reverse lookup would never be fetched.





    I hope this would be helpful for you and someone.

    Plugin Author tokkonopapa


    Hi @cinderellamancom,

    Thanks for rating up your review from 1★ to 4★. I appreciate your fairness!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘504 Gateway error’ is closed to new replies.