Unable to upload scan results for 10000 to SSC

 

hi everyone,

I'm currently trying to scan via Jenkins to scancentral sast with version 22.1

the scan process runs normally, but during the upload process I get an error.

here are the logs I get:

2022-11-14 14:02:02,764 [ERROR] com.fortify.cloud.ctrl.service.SscUploadServiceImpl - Unable to upload scan results for 10000 to SSC at http://localhost:8080/ssc .
org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 : [no body]

Thank you in advance

Parents
  • Suggested Answer

    0  

    401 => wrong token.
    What I tell my users to do is run a curl equivalent to check that their token is valid. Also - localhost ... in many tomcat's that isnt reachable outside of the current machine. Do you really want to run SSC in the same machine as your Jenkins? Our SSC app server is maxed out - so we would NEVER run the SSC / Jenkins on same machine

  • 0   in reply to shooking_sap

    Thank you for the advice.

    yes that's right because this is only for demo so I installed ssc and jenkins in the same machine.

    if I just do a scan and don't upload it to SSC via scancentral it can be done.

    but an error during the upload process.

    finally i downgraded ssc and sca to version 21 and it worked fine.

Reply
  • 0   in reply to shooking_sap

    Thank you for the advice.

    yes that's right because this is only for demo so I installed ssc and jenkins in the same machine.

    if I just do a scan and don't upload it to SSC via scancentral it can be done.

    but an error during the upload process.

    finally i downgraded ssc and sca to version 21 and it worked fine.

Children
No Data