Closed lansaloni closed 8 months ago
Hi, I use Traefik v2.10.1 with the geoblock plugin for a few months without problems.
Suddenly this morning the website became unreachable and in the Trafik logs I see these lines:
INFO: GeoBlock: 2023/10/17 10:06:56 Get "https://get.geojs.io/v1/ip/country/176.59.42.153": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:57 Get "https://get.geojs.io/v1/ip/country/109.194.51.6": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:57 Get "https://get.geojs.io/v1/ip/country/173.236.176.131": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:57 Get "https://get.geojs.io/v1/ip/country/176.59.42.153": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:58 Get "https://get.geojs.io/v1/ip/country/109.194.51.6": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:58 Get "https://get.geojs.io/v1/ip/country/173.236.176.131": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:59 Get "https://get.geojs.io/v1/ip/country/176.59.42.153": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:59 Get "https://get.geojs.io/v1/ip/country/109.194.51.6": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO: GeoBlock: 2023/10/17 10:06:59 Get "https://get.geojs.io/v1/ip/country/173.236.176.131": context deadline exceeded (Client.Timeout exceeded while awaiting headers)`
I removed the middleware from the site and it was reachable again.
This is the setup:
--experimental.plugins.geoblock.modulename=github.com/PascalMinder/geoblock" --experimental.plugins.geoblock.version=v0.2.6
http: middlewares: geoblock-au: plugin: geoblock: allowLocalRequests: "true" allowUnknownCountries: "true" api: https://get.geojs.io/v1/ip/country/{ip} apiTimeoutMs: "150" cacheSize: "15" blackListMode: "true" countries: - AU forceMonthlyUpdate: "true" logAllowedRequests: "false" logApiRequests: "true" logLocalRequests: "false" unknownCountryApiResponse: nil`
Can you help me? Thank you, Lorenzo
Today (48 hours after the malfunction) I re-enabled the GeoBlock plugin without changing any settings and it works normally.
Hi, I use Traefik v2.10.1 with the geoblock plugin for a few months without problems.
Suddenly this morning the website became unreachable and in the Trafik logs I see these lines:
I removed the middleware from the site and it was reachable again.
This is the setup:
--experimental.plugins.geoblock.modulename=github.com/PascalMinder/geoblock" --experimental.plugins.geoblock.version=v0.2.6
Can you help me? Thank you, Lorenzo