Hey, were you able to provide a little longer error log? Or there is no stack trace in the log file? And please take a look at your API config in most probably /etc/intelmq/api-config.json - does it have the line (possibly with adjustments):
"allow_origins": ["*"]
once, and only once?
Best regards, Kamil Mankowski CERT.at GmbH www.cert.at
On 9/19/23 13:29, Mika Silander wrote:
Hi again,
Related to the below, I went and tried to install intelmq-manager 3.2.0-1 and intelmq-api 3.0.1-1 from the stable repository https://download.opensuse.org/repositories/home:/sebix:/intelmq/xUbuntu_22.0... and I'm afraid the stable also contains some problems that have not been ironed out. Maybe this was the reason why I jumped over to unstable, can't remember. Still, fyi when setting apache2's LogLevel to debug and attempting to open any of intelmq-manager's tabs behind password authentication, /var/log/apache2/intelmq-error.log starts to fill with errors related to https://fqdn/intelmq/v1/api/_function_ calls (500 internal server error). The reason seems to be
[Tue Sep 19 12:27:08.534474 2023] [wsgi:error] [pid 189852:tid 139757103318592] [client client_ip_here.port] TypeError: __init__() got multiple values for keyword argument 'allow_origins', referer: https://fqdn/intelmq_manager/about.html
I may be wrong but to me it looks like intelmq-manager has not invoked any function related to intelmq at this stage yet, so I believe my unstable version of intelmq installed on the same host is not involved in this. Anyway, I'll continue debugging.
Br, Mika
----- Original Message ----- From: "Sebix" sebix@sebix.at To: "intelmq-dev" intelmq-dev@lists.cert.at Sent: Monday, 18 September, 2023 13:22:30 Subject: Re: [IntelMQ-dev] intelmq-manager problem at login
Hi Mika,
On 9/18/23 09:39, Mika Silander wrote:
I vaguely remember I switched a good while ago to the unstable package repos due to some bug I found in the stable ones ...
Be careful with the unstable repository, they are not well maintained and may not only contain unstable version, but also also older versions than the stable repository, or packages incompatible with the stable repository when mixed
best regards Sebastian
Institute for Common Good Technology gemeinnütziger Kulturverein - nonprofit cultural society https://commongoodtechnology.org/ ZVR 1510673578
IntelMQ-dev mailing list https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev https://intelmq.readthedocs.io/ _______________________________________________ IntelMQ-dev mailing list https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev https://intelmq.readthedocs.io/