If AbuseIPDB is down - error occurs to client

Created on 19 May 2020, almost 5 years ago
Updated 30 January 2025, 3 months ago

If AbuseIPDB is down like these days for maintenance the follow error occurs when submitting a form or when an malicous path is used:

"Trying to get property 'abuseConfidenceScore' of non-object in Drupal\abuseipdb\Controller\Report->isAbusive() (regel 105 van /var/www/vhosts/hsv-tpluimke.nl/httpsdocs/modules/abuseipdb/src/Controller/Report.php"

Please first check if the AbuseIPDB service is running and if not only log to drupal log do not display the error to the client.
Maybe adjust the logging a little bit so that it is more clear that AbuseIpDB is down.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024