Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Adopt App Transport Security on iOS 9 #1937

Description

@1ec5

All MGLMapboxEvents HTTP requests fail on iOS 9 with the following error:

Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x7fea5a771010>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorCodeKey=-9802, NSUnderlyingError=0x7fea5a5d03d0 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x7fea5a771010>, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://cloudfront-staging.tilestream.net/events/v1?access_token=…, NSErrorFailingURLStringKey=https://cloudfront-staging.tilestream.net/events/v1?access_token=…, _kCFStreamErrorDomainKey=3}

Mapbox GL needs to adopt App Transport Security. See this blog post for details.

/cc @bleege @kkaefer @incanus

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugiOSMapbox Maps SDK for iOStelemetryIntegration with Mapbox Telemetry libraries

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions