You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the email factor but we also connect via a VPN so our IP address is in the private IP rangge (e.g., 10.x.x.x). This causes an exception when used with the MaxMind GeoIP2 Lite because the IP address is not found. No email is sent, as well. The error message I get is as follows:
Exception - The address 10.130.6.1 is not in the database.
line 260 of /lib/maxmind/GeoIp2/Database/Reader.php: GeoIp2\Exception\AddressNotFoundException thrown
line 231 of /lib/maxmind/GeoIp2/Database/Reader.php: call to GeoIp2\Database\Reader->getRecord()
line 94 of /lib/maxmind/GeoIp2/Database/Reader.php: call to GeoIp2\Database\Reader->modelFor()
line 41 of /iplookup/lib.php: call to GeoIp2\Database\Reader->city()
line 43 of /admin/tool/mfa/factor/email/renderer.php: call to iplookup_find_location()
line 66 of /admin/tool/mfa/factor/email/classes/factor.php: call to factor_email_renderer->generate_email()
line 217 of /admin/tool/mfa/factor/email/classes/factor.php: call to factor_email\factor::email_verification_code()
line 52 of /admin/tool/mfa/factor/email/classes/factor.php: call to factor_email\factor->generate_and_email_code()
line 82 of /admin/tool/mfa/classes/local/form/login_form.php: call to factor_email\factor->login_form_definition_after_data()
line 1024 of /lib/formslib.php: call to tool_mfa\local\form\login_form->definition_after_data()
line 107 of /admin/tool/mfa/auth.php: call to moodleform->display()
Our version of Moodle is Moodle Workplace 4.2.2.
When we remove the MaxMind DB file, the email factor works due to the fallback to the 3rd-party geoIP web service, but we cannot use that for security reasons as that would leak users' IP addresses to the 3rd party.
The text was updated successfully, but these errors were encountered:
We are using the email factor but we also connect via a VPN so our IP address is in the private IP rangge (e.g., 10.x.x.x). This causes an exception when used with the MaxMind GeoIP2 Lite because the IP address is not found. No email is sent, as well. The error message I get is as follows:
Exception - The address 10.130.6.1 is not in the database.
More information about this error
Debug info:
Error code: generalexceptionmessage
Stack trace:
Our version of Moodle is Moodle Workplace 4.2.2.
When we remove the MaxMind DB file, the email factor works due to the fallback to the 3rd-party geoIP web service, but we cannot use that for security reasons as that would leak users' IP addresses to the 3rd party.
The text was updated successfully, but these errors were encountered: