Skip to content

UI 1st scan always stuck on the same place (aws codeartifact) #10225

@a-khalilov

Description

@a-khalilov

Issue search

  • I have searched the existing issues and this bug has not been reported yet

Which component is affected?

Prowler UI

Cloud Provider (if applicable)

AWS

Steps to Reproduce

I faced with error of Powler UI on the same point regardless of configuration and settings. I understand that the point is AWS CodeArtifact, but anyway it's fails always on the same place.

  1. Installation
VERSION=$(curl -s https://api.github.com/repos/prowler-cloud/prowler/releases/latest | jq -r .tag_name)
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/docker-compose.yml"
# Environment variables can be customized in the .env file. Using default values in production environments is not recommended.
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/.env"
docker compose up -d
  1. Provider AWS
  2. Single account
  3. Run scan and see error (18%, after 2h 30-40 minutes)
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.
  1. Increase EC2 performance to x2gd.2xlarge. Run scan - see the same error on the same point
  2. Use customized docker-compose.yml and postgresql.conf files. Run scan - see the same error on the same point.
  3. prowler-cli - makes checks in all regions in 3-4 hours without errors. But output csv is massive - 256MB to be opened and work fast in browser.

Expected behavior

Prowler UI scan finish completely.

Actual Result with Screenshots or Logs

Image

How did you install Prowler?

Cloning the repository from github.com (git clone)

Environment Resource

  • TimeZone (UTC+4)
  • Prowler APP/UI (docker-compose.yml)
  • AWS EC2 :
  • Instance type -x2gd.2xlarge
  • Root volume - 20GB
  • Additional EBS volume - 50 GB (Type -gp3, IOPS - 12000, Throughput -750)
  • Instance build-in storage - 475 ssd (NVME)

docker-compose.yml

postgresql_configuration_file.txt

OS used

  1. Amazon Linux (al2023-ami-2023.10.20260216.1-kernel-6.1-arm64)

Prowler version

5.18.3

Python version

Pip version

Context

AWS CodeArtifact has 3 repos

  1. Maven central repo (official )- Total packages - 2175, Total versions - 8935
  2. Maven custom repo - Total packages - 7466, Total versions - 441751
  3. Npm store repo (official) - Total packages - 5026, Total versions - 17788

Metadata

Metadata

Assignees

Labels

ai-issue-review[Experimental] Triggers AI-powered issue triage with coding-agent-ready fix plansbugprovider/awsIssues/PRs related with the AWS providerseverity/mediumResults in some unexpected or undesired behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions