IDE plugin errors
This section lists potential errors that you might encounter when using the Veracode IDE plugins and extensions and provides recommended actions for resolving them.
This isn't a complete list of all possible errors.
Any Veracode Scan IDE plugins
General errors
Please update your Veracode extension! Current version is no longer supported.
Your account isn't allowed to scan, please contact support
The Veracode extension cannot access the security policies for your organization
Recommended actions
- Ensure you're using the latest Veracode plugin or extension for your IDE. See the instructions for installing or upgrading your IDE plugins.
- Ensure your user account has the required roles and permissions for using specific features, such as SAST or SCA scanning or using Veracode Fix, in your IDE.
- If your organization uses security policies, ensure your account can access the policies to include in your scans.
SCA authentication errors
Problem authenticating with Veracode SCA
Unable to retrieve authentication credentials required to check SCA workspace availability
Recommended actions
- Verify that your Veracode authentication credentials are valid. See the recommended actions for authentication errors.
- Restart your IDE, then retry the action that caused the authentication error.
- If the error persists, there might be an issue with the IDE agent. Try the following:
- Close your IDE.
- Delete the IDE agent folder. To locate this folder, see the Troubleshooting section for your IDE in the Veracode Scan documentation.
- Open your IDE, select Veracode Scan, and reinstall the agent.
- To check that the environment has everything the SCA agent needs for your package manager, see the SCA agent
testcommand. - If you still see this error, ensure your SCA Agent token is valid or generate a new one. If you're using the
SRCCLR_API_TOKENenvironment variable, ensure the defined value matches the value in youragent.ymlfile. You can also try removing theSRCCLR_API_TOKENenvironment variable, as long as other Veracode products aren't using it.
SCA connection errors
Failed to download SCA agent
SCA agent configuration failed
Error while querying SCA workspace availability
Unable to validate your team's license due to a communication error
Error downloading Agent
Error configuring Agent
Auto SCA scan could not be started: Veracode SCA agent is not installed or configured.
Recommended actions
- Check your network and internet connections.
- Verify that your firewall and proxy allow connections to the Veracode Platform and the required Veracode and SourceClear endpoints on your organization's allowlist.
- Configure proxy settings and security software, such as Zscaler, if needed. To configure a proxy in your IDE, see the Veracode Scan documentation for your IDE.
- Verify that your proxy supports long-running downloads without interrupting, blocking, or throttling them.
- Verify that sufficient disk space is available for the SCA agent.
- To collect more detail about a failed SCA agent connection, run the agent with debug mode enabled. See SCA agent commands.
- To confirm you have access to the SCA workspace My Workspace, sign in to the Veracode Platform and select Software Composition Analysis > My Workspace. Ensure you have the necessary permissions. If you need access permissions, contact your Veracode administrator.
- If the error includes a PKIX error in the debug logs, the SSL certificates might not be available. Set the
SRCCLR_SSL_CERT_FILEenvironment variable. See Using certificates with Veracode for guidance on downloading and configuring the Veracode SSL certificate chain. - If you're using Veracode Scan for VS Code, review the Environment setup checks.
- Wait a few minutes and try again, as this may be a temporary issue.
- If the download continues to fail, contact Veracode Technical Support.
SCA agent validation errors
SCA agent validation failed
Failed to validate SCA agent: version not configured
Failed to locate `home` directory for agent validation
Recommended actions
-
Verify that your user account has a valid
homedirectory configured. -
Check that environment variables are correctly set to the
homedirectory path.- On Windows, run
echo %USERPROFILE%. - On macOS or Linux, run
echo $HOME.
- On Windows, run
-
Restart your IDE to trigger a fresh agent download. If the agent binary is corrupted or invalid, a fresh download replaces it.
-
Ensure your IDE plugin is installed correctly. If necessary, ask your Veracode administrator to verify the installation.
-
If the issue persists, contact your system administrator or Veracode administrator.
[IOSPackager] iOS pod command failed
The iOS pod command for packaging your project has failed.
Recommended actions
- Try running the scan with the Veracode CLI.
- If you're able to scan with the CLI, but not in your IDE, check the environment differences between the CLI and your IDE to identify any configuration issues.
Unfortunately, we're not able to package your project for SAST scanning. Ensure your project uses a supported language and builds successfully.
Recommended actions
- Verify your project uses a supported language and build tool for autopackaging.
- Confirm you can build the project successfully from within the IDE.
- Manually package your project into an artifact, copy the artifact to the artifact glob directory (default is
<project root>/.verascan/) specified in the plugin settings, and try scanning the artifact in your IDE. - Ensure the project is loaded correctly in the IDE. If multiple projects are loaded as modules, the plugin will only scan the root project, which might not be the project you intend to scan.
SCA workspace <workspace> has reached its maximum project capacity
Recommended actions
- Sign in to the Veracode Platform and select Software Composition Analysis > My Workspace.
- To free up capacity, delete any unused or old projects.
- Contact your Veracode administrator if you need to keep all projects.
- Your administrator can increase workspace capacity or create additional workspaces.
- After freeing up workspace capacity, retry the scan.
Veracode Scan for Eclipse IDE
java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl
The IBM WebSphere environment might prevent a scan from starting if the Maven build script dependencies with the Java class path are missing.
Recommended actions
Generate two pom.xml files, using one specifically for the Veracode upload.
Can't install Veracode Static for Eclipse for a new integration
Recommended actions
- Ensure you install the latest version of the plugin.
- Ensure you meet the prerequisites.
- Ensure your Java version is 1.8 or later.
Veracode Scan for JetBrains
Too many restarts of GPU-process (JCEF)
JCEF is an IntelliJ component and can cause issues on some machines.
Recommended actions
- To disable GPU acceleration, open the IntelliJ Registry.
- Search for
ide.browser.jcef.gpu.disableand select it. - Select the option to disable GPU acceleration.
- If you still need help with this error, contact Veracode Technical Support.
Veracode Scan for VS Code
Veracode Scan Language Client: couldn't create connection to server
Recommended actions
- Try restarting your IDE.
- Ensure you have the required permissions for running the IDE plugin installer on your computer. Then, retry the installation. If you don't have the required permissions, you can try adding the IDE plugin installer to a different folder with the required permissions, and using a directory junction to install the IDE plugin from that folder.
Veracode Static for IntelliJ
Can't install Veracode Static for IntelliJ for a new integration
Recommended actions
- Ensure you are using the latest version of Veracode Static for IntelliJ.
- Ensure you meet the prerequisites.
- Ensure your Java version is 1.8 or later.
Veracode Static for Visual Studio
No applications exist for the specified user's account
Using the Visual Studio Veracode menu, you may have attempted to download results after selecting a specific application profile for which you do not have permission to access.
Recommended actions
Ensure you're a member of each team associated with an application profile to be able to access that application's data.
Upload Build menu doesn't populate the Application dropdown list or allow me to complete the Build text box
Recommended actions
Ensure you have the required roles for creating a new application profile or a build.
No precompiled files were found for this ASP.NET web application
Recommended actions
Use Veracode Static for Visual Studio to prepare your .NET application for uploading to Veracode.
After scanning, the View Results window is empty
If you are using Visual Studio 2019 with .NET Framework version 4.8, you must clear an option in Visual Studio to ensure the downloaded scan results display in the Results window available from Veracode Static > View Results.
Recommended actions
See Configure Visual Studio 2019 to display scan results.
Upload and Scan fails to complete automatically
For web applications built on ASP.NET Core 3.0 and later, there is an executable that duplicates the artifacts included in the upload to the Veracode Platform.
Recommended actions
In your web application project, deselect the duplicate executable to exclude it from the upload. Otherwise, an error occurs, and the Veracode Platform initiates manual module selection.