cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
HannahM
Dynatrace Leader
Dynatrace Leader

Self Service Summary

 

Description of HTTP Monitor Error codes and suggestions for troubleshooting them

 

Issue Solution Tasks Alternative(s)
HTTP Monitor execution fails Resolve root cause Confirm Error code
Complete troubleshooting actions
Open chat or support ticket

 

Where to find HTTP Monitor Error/ Health Status Codes 

 

HTTP Monitor executions do not always end in success. As well as the HTTP response codes that a request can return, there are also several Dynatrace error codes. 

A summary of the HTTP Monitor error codes for a period can be seen in the HTTP Monitor details> Failed Requests card

HannahM_2-1686150676387.png

You can, also, find the error code for the most recent failed, successful and on-demand executions in Analyze last failed execution. You can filter the JSON to just show the error. In the JSON the error code is called HealthStatusCode and the error description is HealthStatus. 

HannahM_3-1686151110064.png

 

Error/Health Status Codes and Suggested Actions

 

Error/

Health Status Code

 

Error Description/ Health Status

Suggested Actions

0

Healthy

 

1

SSL Communication error

Check vuc-http-execution.log for more info

2

DNS query timeout

Check vuc-http-execution.log for more info

3

Unknown Host

Check nslookup from the AG.

4

Unexpected Error

Check vuc-http-execution.log & vuc-http.log for more info

5

Redirects not allowed

 

6

Invalid Code

Status Code validation failed
Check Monitor> Settings>HTTP Requests> Request> Response Status Code Verification setting

7

Script execution failed

Check vuc-http-execution.log for more info

8

Script Fail

Check vuc-http-execution.log for more info

12

Http Monitor Execution Timeout

Use Adapt Request Timeout to increase up to 60s. HTTP Monitor Advanced settings preview can be used increase monitor timeout

13

Too many redirects

Maximum number of redirects for synthetic monitors is 10.  When a monitor reaches 11 redirects, the monitor fails with this error. 
Reach out to your application team to find out why there are so many redirects and reduce them. 

15

Connection timeout

Test connection using curl from AG
Is proxy needed?
If a public location, is this endpoint available? Do the public location IP addresses need to be whitelisted by the application?

16

Connection Refused

Test connection using curl from AG

Is proxy needed?
If a public location, is this endpoint available? Do the public location IP addresses need to be whitelisted by the application?

17

Constraint Violated value

Response validation failed.
Check Monitor> Settings>HTTP Requests> Request> Set rule for response validation setting

18

Unknown Method Error

Check vuc-http-execution.log & vuc-http.log for more info

20

SSL Expiry warning

 

24

Request Timeout

Test connection using curl from AG

Is proxy needed?
If a public location, is this endpoint available? Do the public location IP addresses need to be whitelisted by the application?

30

Forbidden Url Error

IP resolves to localhost which, due to security reasons, is not allowed

 

What next?

Open a chat or contact support if 

  • you need to check the logs for an HTTP Monitor running on a public location, or
  • the issue is still not resolved after taking the above actions
Version history
Last update:
‎07 Jun 2023 04:32 PM
Updated by:
Comments
ChadTurner
DynaMight Legend
DynaMight Legend

Thanks for sharing this out @HannahM 

ct_27
DynaMight Pro
DynaMight Pro

@HannahM  This is awesome, can this information be posted on the public documentation site? The table you created is so informative. We were just having problem #7 and we found this post while troubleshooting.  So valuable.

nadeem_m
Dynatrace Organizer
Dynatrace Organizer

@HannahM Very Informative!