I noticed a strange behavior today while adding new device for monitoring.
The Cisco ASA location was not fetched and below was the error.
#### Load disco module os ####
Error discovering os module for 192.168.6.1. Argument 2 passed to App\ApiClients\BingApi::checkResponse() must be of the type array, null given, called in /opt/librenms/app/ApiClients/GeocodingHelper.php on line 57
#0 /opt/librenms/app/ApiClients/GeocodingHelper.php(57): App\ApiClients\BingApi->checkResponse(Object(Illuminate\Http\Client\Response), NULL)
#1 /opt/librenms/app/Models/Location.php(130): App\ApiClients\BingApi->getCoordinates('Cincinnati, OH')
#2 /opt/librenms/app/Models/Location.php(96): App\Models\Location->fetchCoordinates()
#3 /opt/librenms/app/Models/Device.php(422): App\Models\Location->lookupCoordinates('192.168.6.1')
#4 /opt/librenms/LibreNMS/Modules/Os.php(116): App\Models\Device->setLocation(Object(App\Models\Location), true)
#5 /opt/librenms/LibreNMS/Modules/Os.php(37): LibreNMS\Modules\Os->updateLocation(Object(LibreNMS\OS\Asa))
#6 /opt/librenms/includes/discovery/os.inc.php(3): LibreNMS\Modules\Os->discover(Object(LibreNMS\OS\Asa))
#7 /opt/librenms/includes/discovery/functions.inc.php(157): include('/opt/librenms/i...')
#8 /opt/librenms/discovery.php(118): discover_device(Array, false)
#9 {main}
./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 22.2.2
DB Schema | 2021_12_02_113537_ports_stp_designated_cost_change_to_int (234)
PHP | 7.3.20
Python | 3.6.8
MySQL | 10.3.28-MariaDB
RRDTool | 1.7.0
SNMP | 5.8
====================================
[OK] Composer Version: 2.2.7
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
discovery.php : Untitled - LibreNMS
poller.php: Untitled - LibreNMS