Skip to main content

Environmental errors

This section lists potential environment-related errors that you might encounter when using Veracode products and provides recommended actions for resolving them.

This isn't a complete list of all possible errors.

Network errors​

Endpoint connection errors​

Timed out while connecting to the Veracode endpoint `<host>`
The underlying connection was closed: An unexpected error occurred on a send.
Connection to the Veracode endpoint `<host>` was refused
The Veracode endpoint `<host>` is unreachable from this network
Unable to resolve the Veracode endpoint `<host>`
DNS resolution was canceled

Recommended actions

  • Check your internet connection and ensure it's stable. If required, connect to your organization's VPN.
  • Verify that your firewall allows outbound connections to <host> on the required port.
  • Check your corporate firewall and security appliance rules.
  • Verify network routing to <host>.
  • Verify your DNS server configuration. To test DNS resolution, run nslookup <host>.
  • Restart your network interface or Wi-Fi connection.
  • If you're using Veracode Scan for VS Code, review the results from the Environment setup checks.

Proxy errors​

Proxy connection and configuration errors​

There was an error saving your proxy credentials
There was an error saving the proxy URL
The proxy server `<host>` is unreachable from this network
The proxy TCP connectivity check was canceled
Unable to establish a connection to the proxy server `<host>`
Proxy authentication is required
Unable to connect to the configured proxy
Timed out while connecting to the proxy server `<host>` on port `<port>`
Connection to the proxy server `<host>` on port `<port>` was refused
Unable to determine the proxy configuration
The configured proxy address or port is invalid
Unable to resolve the configured proxy server hostname

Recommended actions

  • Ensure your system has the required permissions to access the proxy configuration.

  • Ensure you have provided your proxy credentials to your system, application, or Veracode integration, such as an IDE plugin. If you don't have the required proxy credentials, contact your IT administrator.

  • Confirm that the proxy supports the authentication method configured for your proxy connection.

  • Verify that the proxy settings are configured correctly. If you need help, contact your IT administrator. Check the following:

    • The proxy server hostname is correct for your system and the Veracode integration.
    • Your internet connection and DNS configuration work correctly.
    • You are connected to the required corporate network or VPN.
    • The proxy hostname resolves. To test resolution, run nslookup <proxy_host>.
    • Your proxy username and password are correct.
    • The HTTP_PROXY and HTTPS_PROXY environment variables are set correctly.
    • The proxy address uses the correct format.
    • The proxy port is between 1 and 65535.
  • If you're using Veracode Scan for VS Code, review the Environment setup checks.

  • If the issue persists, contact Veracode Technical Support.

Proxy endpoint connection errors​

The proxy could not establish a connection to the Veracode endpoint
Proxy returned HTTP `<status>` while establishing a connection to the Veracode endpoint

Recommended actions

  • Verify that the proxy allows CONNECT requests to the Veracode endpoint.
  • Verify that the Veracode endpoint is allowed by your organization's proxy rules.
  • Check your organization's proxy firewall and security policies.
  • To verify that access to Veracode is permitted, contact your IT administrator.

SSL/TLS errors​

Unable to validate the server certificate
OpenSSL::SSL::SSLError: Received fatal alert: handshake_failure
System.Net.WebException was unhandled. Message=The request was aborted: Could not create SSL/TLS secure channel
Received fatal alert: handshake_failure
Could not create SSL/TLS secure channel
Unable to establish a secure connection through the configured proxy
Unable to establish a secure connection to the configured proxy
Unable to establish a secure connection to the Veracode endpoint
Secure connection validation failed

Recommended actions

  • Verify that the certificate chain is trusted.
  • Install the required root and intermediate certificates.
  • If you're using Pipeline Scan and receive a PKIX path building failed error, see Veracode Pipeline Scan errors.
  • Ensure that your system date and time are correct.
  • Confirm that the certificate hasn't expired.
  • Verify that your integration supports TLS 1.2 or later. If your integration uses TLS 1.0 or 1.1, update its TLS configuration or upgrade the integration to use a supported TLS version.
  • Check whether a corporate proxy or security appliance is intercepting TLS traffic. Review your SSL inspection configuration, and contact your IT administrator if SSL inspection is enabled.
  • If you're using Veracode Scan for VS Code, review the Environment setup checks.
  • If the problem persists, contact Veracode Technical Support.