Skip to content

bug: Reports not generating #1514

@whiterabb17

Description

@whiterabb17

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hey, I've looked through issues for a while to see if i could find something similar but i havent been able to find it.
After finishing scans, i go to generate the report in version 2.2.0 (which used to be fine, no issues). One day i build the cluster and launched and then everytime i click create report, no matter which option i choose (Executive, Risk, etc) and no matter which template it just redirects me to a blank page with Server Error (500)

If i stop the cluster and change into rengine-2.1.3 directory and restart the cluster i can then export a report (using only the old template with formatting issues) but no matter what i do, cleaning the environment, starting from windows docker, linux docker, even creating a whole new fresh VM and using both the cloned source and the v2.2.0 release source both still leave me with the Server Error (500) when trying to generate the reports.

I havent been able to find anything in any of the container logs that would indicate why this is happening and I've been looking forever 😅

Expected Behavior

Reports to generate instead of Server Error (500) when trying to preview.
When trying to download the report it will download a PDF file but corrupted and unable to work

Steps To Reproduce

From fresh install on Windows or Linux
Version 2.2.0
Full Scan
Reports fail generation

Environment

- reNgine: 2.2.0
- OS: Ubuntu 20.04 / Windows 11 / Ubuntu 22 & 24
- Python: 3.11.0
- Docker Engine: Latest default using install.sh 
- Docker Compose: Latest default using install.sh
- Browser: Chrome (Windows) / Firefox (Ubuntu)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions