Cannot create alert transport because CORS is broken

I can’t create a new alert transport because the HTTP OPTIONS request to ajax_form.php fails, because the reply does not have the CORS header ‘Access-Control-Allow-Origin’. How to fix or debug this?


Component | Version
--------- | -------
LibreNMS  | 23.11.0-13-g7630983b5 (2023-11-30T18:54:50+01:00)
DB Schema | 2023_11_21_172239_increase_vminfo.vmwvmguestos_column_length (274)
PHP       | 8.2.7
Python    | 3.11.2
Database  | MariaDB 10.11.4-MariaDB-1~deb12u1
RRDTool   | 1.7.2
SNMP      | 5.9.3

[OK]    Composer Version: 2.6.5
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQl and PHP time match
[OK]    Active pollers found
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is unavailable
[OK]    rrd_dir is writable
[OK]    rrdtool version ok

Fixed by restarting nginx.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.