Hi Kamil,
Ok, I'll try the downgrade, the authoritative source of packages is still
https://download.opensuse.org/repositories/home:/sebix:/intelmq/xUbuntu_22.0...
right? I vaguely remember I switched a good while ago to the unstable package repos due to some bug I found in the stable ones ... whatever I do, the bugs will always find me. Anyway, thanks for shedding light on this and let's keep on scratching ;-)
Cheers, Mika
----- Original Message ----- From: "Kamil Mankowski" mankowski@cert.at To: "Mika Silander" mika.silander@csc.fi, "intelmq-dev" intelmq-dev@lists.cert.at Sent: Monday, 18 September, 2023 10:02:20 Subject: Re: [IntelMQ-dev] intelmq-manager problem at login
Hi, Mika - this is a known problem related to the FastAPI packages in the Ubuntu 22.04 repositories. This is why the stable version of intelmq-api package for Ubuntu 22.04 is still 3.0.1. I recommend downgrading to the latest stable version instead of rc (there is no functional changes in API between them).
We work on bringing newer version for Ubuntu as well, but it takes time to fix the FastAPI in their repositories. If you want to work further with the newer API, I can send you the patched version of the FastAPI package (bug: https://bugs.launchpad.net/ubuntu/+source/fastapi/+bug/1970557).
Best regards, Kamil Mankowski CERT.at GmbH www.cert.at
On 9/15/23 15:32, Mika Silander wrote:
And a few more observations:
Trying to access the Check tab from intelmq-manager's front page (without having logged in, that is), results in a call to
https://FQDN_HERE/intelmq/v1/api/check
Accessing this from the browser directly results in 500 internal server error. Looking at what systemctl status intelmq-api says I see a line indicating gunicorn is not happy:
Sep 15 16:06:55 HOSTNAME gunicorn[22565]: TypeError: '<' not supported between instances of 'NoneType' and 'int'
So, it looks to me like a problem related to intelmq-api or accessing it from intelmq-manager.
Br, Mika
----- Original Message ----- From: "Mika Silander" mika.silander@csc.fi To: "intelmq-dev" intelmq-dev@lists.cert.at Sent: Friday, 15 September, 2023 15:57:49 Subject: [IntelMQ-dev] intelmq-manager problem at login
Hi again,
Hints would be welcome: I've got intelmq-manager installed, the front page opens ok but when I try to login, the developer view of the browser reports the following error after I specify the account and the password:
DevTools failed to load source map: Could not load content for https://FQDN_HERE/intelmq_manager/plugins/bootstrap/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Checking what's in /usr/share/intelmq_manager/html/plugins/bootstrap/ reveals there is no file there called bootstrap.min.css.map. The files that do exist in that directory are:
bootstrap.css bootstrap.js bootstrap.min.css bootstrap.min.js
My setup running on a Ubuntu 22.04 LTS / Python 3.10.12 is now:
ii intelmq 3.2.2-1 all Solution for IT security teams for collecting ii intelmq-api 3.1.0~rc2-1 all FastAPI-based API for the intelmq project ii intelmq-manager 3.2.0-1 all Graphical interface to manage configurations
As a side note, the intelmq-api package was upgraded from intelmq-api 3.1.0-rc1 in case this could be the culprit.
Br and have a nice weekend, Mika _______________________________________________ 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/