Lab 2.1: Troubleshooting 404 Not Found

Note

Estimated time to complete: 5 minutes

Lab environment access

If you have not yet visited the page Getting Started, please do so.

Tasks

  1. Login as paula in BIG-IQ.
  2. Select the application service security_site16_boston located under airport_security application and turn on Enhanced Analytics. Click on Traffic Management F5 Service and Configuration, scroll down to the Analytics_Profile section and enable all options.

Warning

In order to turn on Enhanced Analytics on an AS3 Application Service deployed using an AS3 template, The Analytics_Profile AS3 class needs to be defined and properties exposed to the application owner.

The Enhanced Analytics allows you to increase the application data visibility by collecting additional data for all, or specific, client IP addresses sending requests to the application.

Note

Enhanced Analytics might be already turn on for security_site16_boston

../../_images/img_module2_lab1_11.png

Note

To turn on/off Enhanced Analytics via the API on an AS3 Application Service, see Class 1 Module 2 Lab 2.6 for more details. For Legacy Application Service, see Class 1 Module 6 Lab 6.2 for more details.

  1. Due to the fact application service security_site16_boston has a Fallback Redirect setup on 404 error, let’s change the Fallback Redirect setting to 403.
../../_images/img_module2_lab1_21.png

Note

Fallback Redirect might be already set to 403, in this case, skip this step.

  1. Back on the Analytics tab, select the Response Code category and expand the right-edge of the analytics pane to get the response code filter. Notice the current traffic returns both 200 and 404 HTTP code.
../../_images/img_module2_lab1_31.png

  1. Let’s generate some 404 error, open a ssh session on the Ubuntu Jumphost and launch the following command:

# /home/f5/f5-demo-app-troubleshooting/404.sh

  1. Back on BIG-IQ dashboard, after few seconds, the new 404 errors are showing on the chart. Filter on 404 errors on right panel, this should give you only the URL that is missing as well as the pool member which is missing the content.
../../_images/img_module2_lab1_41.png

The issue here is likely a broken link in the application.