NetScaler 14.1 43.x - Citrix ADM Telemetry Download Fails with Error "400 Bad Request"

NetScaler 14.1 43.x - Citrix ADM Telemetry Download Fails with Error "400 Bad Request"

book

Article ID: CTX692927

calendar_today

Updated On:

Description

Citrix ADM users might encounter an immediate "400 Bad Request" error when attempting to download the 'Telemetry file'. 

 

As per mps_service.log -

./mps_service.log:1 x.x.x.x  [Debug] [TCPServerConnection (default[#4473])]  HTTP Request from URI:/nitro/v1/download/console_telemetry.tgz, method:GET
./mps_service.log:1 x.x.x.x  [Error] [TCPServerConnection (default[#4473])] ServiceHTTPRequestHandler:: Exception Caught, sending 400 Bad Request for URI=/nitro/v1/download/console_telemetry.tgz

 

 

 

Resolution

Verify the underlying telemetry functionality using the ADM CLI:

Shell
# ls -al /var/mps/nstelemetry/historical_data
# ls -al /root/.pgpass
# python /var/mps/nstelemetry/forwarder/tlmy_forwarder.py --consoleFormFactor onprem --collector console --dbuser mpsdbuser --dbpass

 

If these commands show no errors, the issue likely lies with the ADM web service. Try these quick solutions:

  1. Check Web Server Logs: Review the ADM web server logs (e.g., /var/log/httpd/, /var/log/nginx/) for specific download errors.
  2. Verify File Permissions: Ensure the ADM web server has read access to files within /var/mps/nstelemetry/historical_data.
  3. Restart ADM Services: Restart the ADM web service and related telemetry components.
  4. Check Disk Space: Confirm the ADM appliance has sufficient free disk space.

Problem Cause

The issue is observed on the ADM On-premises device