mercedes-benz / sechub

SecHub provides a central API to test software with different security tools.
https://mercedes-benz.github.io/sechub/
MIT License
273 stars 66 forks source link

misleading error when following quickstart guide #1522

Open company-jcup opened 2 years ago

company-jcup commented 2 years ago

Situation

When a user follows instructions from https://mercedes-benz.github.io/sechub/latest/sechub-quickstart-guide.html the upload of the sechub sources does fail becasuse too big

NOTE: It could be that the build artifacts are not filtered... so too big...

Wanted

Quick start guide shall work "out of the box"

Solution

Open/Fix it...

sven-dmlr commented 2 years ago

First of all: The quickstart guide is okay.

The error message from the server

ERROR: The SecHub server responded with HTTP status code '406'
body=File upload maximum reached. Please reduce your upload file size.

is misleading. The file size is fine (currently 2.2MB)

In the past, a scan resulted just in a "green" report. Now we get above error.

Tested: Even after assigning an execution profile to the testproject, the 406 error still appears.

-> It should be checked what's going wrong inside the server.