When using the Dart ssl_pinning_plugin check() method to validate certificates for a DNS, it creates a connection to retrieve the certificate info and then terminates the connection which results in the Dynatrace Flutter plugin reporting an error of -999 NSURLErrorCancelled on iOS.
I cannot find a way to exclude that from being reported as an error and as such is causing all the user sessions for iOS to have high error rates and a poor Apdex rating. We are able to exclude common response codes like 4xx or 5xx from being reported in Dynatrace but I do not see a way to exclude this particular error. Is there something that can be configured either in Dynatrace or in the Dart code to exclude this?
On Dynatrace cluster side everything that is a HTTP code can be excluded from treating it as error, but this does not apply to other error responses, so anything that is not a 3-digit number in the HTTP response codes range is treated as an error (negative numbers, strings,...) and currently cannot be ignored.
FYI @thomas_billi do we have an improvement for that situation planned?