Support » Plugin: IP Geo Block » 504 Gateway error

  • Jakub

    (@cinderellamancom)


    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!

    • This topic was modified 2 months ago by  Jakub.
    • This topic was modified 2 months ago by  Jakub.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tokkonopapa

    (@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.

    Jakub

    (@cinderellamancom)

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

    Thanks

    Plugin Author tokkonopapa

    (@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.

    Before:

    Google:HOST,bot:HOST,slurp:HOST
    spider:HOST,archive:HOST,*:FEED
    embed.ly:HOST,Twitterbot:US,Facebot:US

    After:

    Google:*,bot:*,slurp:*
    spider:*,archive:*,*:FEED
    embed.ly:*,Twitterbot:US,Facebot:US

    I hope this would be helpful for you and someone.

    Plugin Author tokkonopapa

    (@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)
  • You must be logged in to reply to this review.