Troubleshooting

First steps

If you experience issues, first check the following:
  • Ensure the path to the properties files is correct during installation.
  • Review log files to verify correct system requirements are specified.

    If the installation fails, the installer automatically cleans up extracted resources, leaving .log files intact for debugging.

  • Ensure the AppScan 360° FQDN is defined in the DNS server.
  • Verify all AppScan 360° pods are running.
  • Enter the AppScan 360° URL to see the service.

Login issues

If you have issues logging in to AppScan 360°, try the following:
  • Verify that the AppScan 360° cluster can connect to the database machine.
  • Verify that the AppScan 360° database was created successfully on the database machine.
  • Verify that the SQL server is configured to allow remote connections.
  • Verify that the AppScan 360° cluster can connect to the LDAP server.
  • Check the LDAP configuration in the AppScan 360° kit configuration file.

Log files

The following logs may help troubleshooting AppScan 360°:
  • Installation logs are located in the AppScan 360° the folder containing the extracted kit:
    <EXTRACTION_FOLDER>/logs/singular-setup[/teardown].log
  • Application logs are located ASCP shared storage. For example, if accessed from within the pod:
    /storagemount/logs

    Application logs are limited to 2MB. Once this limit is reached, another log is created, up to ten log files total.

  • Microservice logs pertain to platform activities. Each microservice generates its own log file, with the filename prefixed by the microservice name.
    <fileStorageRoot>/SaaSWorkingDirectory/SaaSStorage/Logs 
  • Scan logs contain detailed information about scan executions, including progress updates, metrics, and debug information. They are specific to each scan execution and also can be downloaded from the AppScan 360° user interface.
    <fileStorageRoot>/SaaSWorkingDirectory/SaaSStorage/Scans/<scanID>/<ExecutionID>/EngineLogs 

Upgrade issues

Occastionally after upgrade ito version 2.0.0 in a single VM environment, the Task Manager pod may fail to start. To resolve the issue:
  • If you upgraded AppScan 360° using the online script, run:
    ./AppScan360_SingleVMsetup_v2.0.0.run -- $PWD remediateStorageIssues
  • If you upgraded AppScan 360° using the offline script, run:
    ./AppScan360_SingleVMsetup_v2.0.0_Offline.run -- $PWD remediateStorageIssues

Pod image pull issues

When deploying AppScan 360° in a single VM Ubuntu environment using a local Docker registry, you may encounter an issue where pods fail to start due to registry connection errors.

A typical error in pod events may look like:
Normal   Pulling    60s (x4 over 4m1s)   kubelet            
Pulling image "<ip>:5443/as360-k8s-docker-images/reloader:v1.2.1"
Warning  Failed     30s (x4 over 3m31s)  kubelet            
Failed to pull image "<ip>:5443/as360-k8s-docker-images/reloader:v1.2.1": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "<ip>:5443/as360-k8s-docker-images/reloader:v1.2.1": failed to resolve reference "<ip>/as360-k8s-docker-images/reloader:v1.2.1": failed to do request: Head "https://<ip>/v2/as360-k8s-docker-images/reloader/manifests/v1.2.1": dial tcp <ip>:5443: i/o timeout

If you see dial tcp <ip>:5443: i/o timeout in the error message, this typically indicates a network connectivity issue between your Kubernetes node (k0s container) and the Docker registry.

To resolve the issue:
  1. Connect to the k0s Container and install the diagnostic tools:
    docker exec -it k0s sh
    # (Run once per container) Install basic network tools:
    apk add --no-cache curl busybox-extras bind-tools
  2. Test Network Connectivity from the container:
    1. Use telnet to check connectivity to the registry:
      telnet <registry-ip> 5443

      If you do not see a "Connected" message, the connection is blocked.

    2. Try pulling the image directly using ctr command from the container
      k0s ctr images pull --user <user>:<pass> <registry-ip>:5443/as360-k8s-docker-images/reloader:v1.2.1

      If this fails, the issue is likely with firewall rules.

  3. Check Firewall (UFW) and IPTables Rules
    1. On the host, inspect firewall rules:
      iptables -L -n -v
    2. Look for chains related to ufw (Uncomplicated Firewall) that may be blocking traffic like below log.
      Chain INPUT (policy DROP 39231 packets, 2148K bytes)
       pkts bytes target     prot opt in     out     source               destination         
      6603K 9311M ufw-before-logging-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
      6603K 9311M ufw-before-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
       407K   50M ufw-after-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
      39311 2154K ufw-after-logging-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
      39311 2154K ufw-reject-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
      39311 2154K ufw-track-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0    
  4. Update UFW Rules to Allow Docker Network Traffic on host:
    1. Allow traffic on the Docker network interface:
      sudo ufw allow in on docker0
      sudo ufw allow out on docker0
    2. Allow traffic to the registry ports
      sudo ufw allow out from any to <registry-ip> port 5443 proto tcp
      sudo ufw allow out from any to <registry-ip> port 7443 proto tcp
  5. Verify Resolution
    1. Re-run the connectivity tests (telnet, ctr images pull) from the k0s container.
    2. If successful, pod image pulls should now work as expected.

Support

HCL Customer Support

To facilitate efficient troubleshooting assistance, include the following:
  • For installation issues, include the installation logs
  • For scan issues, include the contents of the scan directory (<fileStorageRoot>/SaaSWorkingDirectory/SaaSStorage/Scans/<scanID>/<ExecutionID>/), including the scanned application (.irx file or .war/.jar/.zip source file for static analysis) and any scan logs. For additional information on troubleshooting scans, see Troubleshooting static analysis scans.