Error with the FirewallURIRules not being created, looks to add a forward slash at the end of the URL even though its not in the config. #303
Replies: 4 comments
-
version 2.0.0.0 |
Beta Was this translation helpful? Give feedback.
-
I put url in browser. I get 404 error. |
Beta Was this translation helpful? Give feedback.
-
so is this an issue with the latest version, this isn't resolved. config: There is no forward slash after the URL https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt but the log file shows it has a forward flash at the end. Putting https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt in the browser like the config shows above, works |
Beta Was this translation helpful? Give feedback.
-
Reinstall latest 2.0.0 version, this was fixed a while ago. |
Beta Was this translation helpful? Give feedback.
-
Config
Log File shows the following:
<title>404 Not Found</title>2024-06-20 15:18:56.1582|ERROR|IPBan|Error in updater DigitalRuby.IPBanCore.IPBanUriFirewallRule: System.Net.Http.HttpRequestException: Request to url https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt/ failed, status: NotFound, response:
404 Not Found
nginx
at DigitalRuby.IPBanCore.DefaultHttpRequestMaker.MakeRequestAsync(Uri uri, Byte[] postJson, IEnumerable`1 headers, String method, CancellationToken cancelToken)
at DigitalRuby.IPBanCore.IPBanUriFirewallRule.Update(CancellationToken cancelToken)
at DigitalRuby.IPBanCore.IPBanService.UpdateUpdaters(CancellationToken cancelToken)
Beta Was this translation helpful? Give feedback.
All reactions