DTl162974 (Community Member) asked a question.

Issues when running scanner locally

I'm encountering this error when trying to run a static scanner locally. Same command, but different errors.

 

-----------

java -jar pipeline-scan-LATEST/pipeline-scan.jar --file web.zip --veracode_api_id $VERACODE_API_KEY_ID --veracode_api_key $VERACODE_API_KEY_SECRET

[17 Feb 2023 07:30:06,0527] PIPELINE-SCAN INFO: Pipeline Scan Tool Version 22.12.0-0. 

[17 Feb 2023 07:30:06,0530] PIPELINE-SCAN INFO: Beginning scanning of 'web.zip'. 

[17 Feb 2023 07:30:06,0531] PIPELINE-SCAN INFO: Sending 4510369 bytes to the server for analysis. 

[17 Feb 2023 07:31:41,0442] PIPELINE-SCAN INFO: Upload complete. 

[17 Feb 2023 07:31:41,0442] PIPELINE-SCAN INFO: Scan ID: 54b4d354-7123-4aea-bdee-4ea23b7f957e 

[17 Feb 2023 07:32:06,0430] PIPELINE-SCAN ERROR: START FAILURE: Error executing HTTP request. Error was: api.veracode.com:443 failed to respond. 

[17 Feb 2023 07:32:06,0431] PIPELINE-SCAN ERROR: The scan failed to complete: there are no results to analyze. 

 

Scan Summary:

PIPELINE_SCAN_VERSION: 22.12.0-0

DEV-STAGE: DEVELOPMENT

SCAN_ID: 54b4d354-7123-4aea-bdee-4ea23b7f957e

 

 

------

java -jar pipeline-scan-LATEST/pipeline-scan.jar --file web.zip --veracode_api_id $VERACODE_API_KEY_ID --veracode_api_key $VERACODE_API_KEY_SECRET

[17 Feb 2023 08:09:11,0753] PIPELINE-SCAN INFO: Pipeline Scan Tool Version 22.12.0-0. 

[17 Feb 2023 08:09:11,0757] PIPELINE-SCAN INFO: Beginning scanning of 'web.zip'. 

[17 Feb 2023 08:09:11,0757] PIPELINE-SCAN INFO: Sending 4510369 bytes to the server for analysis. 

[17 Feb 2023 08:11:51,0188] PIPELINE-SCAN ERROR: UPLOAD FAILURE: Error executing HTTP request. Error was: Operation timed out. 

[17 Feb 2023 08:11:51,0188] PIPELINE-SCAN ERROR: The scan failed to complete: there are no results to analyze. 

Scan Summary:

PIPELINE_SCAN_VERSION: 22.12.0-0

DEV-STAGE: DEVELOPMENT

SCAN_ID: b181e99d-6ebc-4ae4-9fbf-ad1d389d675f

SCAN_STATUS: UPLOADING

-----------

java -jar pipeline-scan-LATEST/pipeline-scan.jar --file web.zip --veracode_api_id $VERACODE_API_KEY_ID --veracode_api_key $VERACODE_API_KEY_SECRET

[17 Feb 2023 09:00:23,0455] PIPELINE-SCAN INFO: Pipeline Scan Tool Version 22.12.0-0. 

[17 Feb 2023 09:00:23,0460] PIPELINE-SCAN INFO: Beginning scanning of 'web.zip'. 

[17 Feb 2023 09:00:23,0460] PIPELINE-SCAN INFO: Sending 4510369 bytes to the server for analysis. 

Feb 17, 2023 9:01:45 AM org.apache.http.impl.execchain.RetryExec execute

INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://api.veracode.com:443: Broken pipe

[17 Feb 2023 09:01:45,0026] PIPELINE-SCAN ERROR: UPLOAD FAILURE: Error executing HTTP request. Error was: null. 

[17 Feb 2023 09:01:45,0026] PIPELINE-SCAN ERROR: The scan failed to complete: there are no results to analyze. 

 

Scan Summary:

PIPELINE_SCAN_VERSION: 22.12.0-0

DEV-STAGE: DEVELOPMENT

SCAN_ID: 497ae932-9b7f-42fe-b419-366975c72136

SCAN_STATUS: UPLOADING

 

Different errors, same command and not able to get the results.

This content is a preview of a link.

 

api.veracode.com

 

 

 


  • Hello @DTl162974 (Community Member)​,

     

    For this type of inquiry, I would recommend you contact our technical support team.  Please include the information you provided and any additional logs or information that will assist the Static Engineer with your issue.

     

    Here's how you can log a case:

    1. Navigate to the upper right corner of any page in the Community, and click on your user avatar.
    2. Select Contact Support from the drop-down menu. 

     

    Jason

    Support Engineer

    Expand Post

Topics (2)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.