[IntelMQ-dev] intelmq-manager problem at login
Kamil Mankowski
mankowski at cert.at
Mon Sep 18 09:07:29 CEST 2023
And one missing note about the
https://FQDN_HERE/intelmq_manager/plugins/bootstrap/bootstrap.min.css.map:
HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
- this is totally alright; your developer tools tried to get the mapping
between compressed 'bootstrap.min.css' and the full version of the code.
This is useful only for developers, and is usually not provided in
production. As we do not develop the bootstrap library, the map file was
never used nor provided by us.
Best regards,
Kamil Mankowski
CERT.at GmbH
www.cert.at
On 9/18/23 09:02, Kamil Mankowski via IntelMQ-dev wrote:
> 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 at csc.fi>
>> To: "intelmq-dev" <intelmq-dev at 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/
>
> _______________________________________________
> IntelMQ-dev mailing list
> https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev
> https://intelmq.readthedocs.io/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20230918/445e0eed/attachment.sig>
More information about the IntelMQ-dev
mailing list