ErrorFetchingPinningInfo

Thrown when fetching pinning information from the remote Configuration source fails.

This error occurs when TrustPin cannot download the pinning configuration from the TrustPin CDN or when the downloaded configuration cannot be parsed.

Common Causes

  • Network connectivity issues

  • DNS resolution failures for TrustPin CDN endpoints

  • Firewall or proxy blocking HTTPS requests

  • Service downtime or maintenance across all CDN endpoints

  • Invalid response format from the server

Built-in Resilience

The SDK automatically tries multiple CDN endpoints across two passes before throwing this error. If a stale cached configuration exists, the SDK will return it as a fallback instead of throwing.

This error is only thrown when all CDN endpoints have been exhausted and no cached configuration is available.

Resolution Steps

  1. Check connectivity: Verify internet connection and DNS resolution

  2. Review firewall: Ensure HTTPS traffic to TrustPin CDN endpoints is allowed

  3. Check service status: Verify TrustPin service availability

See also

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard