# JSON loading iOS error: NSURLConnection HTTP load failed 

**URL:** <https://forums.fusetools.com/t/json-loading-ios-error-nsurlconnection-http-load-failed/822>\
**Category:** General\
**Created:** [July 14, 2017, 1:20pm UTC](https://forums.fusetools.com/t/json-loading-ios-error-nsurlconnection-http-load-failed/822 "2017-07-14T13:20:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Nick](https://forums.fusetools.com/u/Nick)\
**Post date:** [July 14, 2017, 1:20pm UTC](https://forums.fusetools.com/t/json-loading-ios-error-nsurlconnection-http-load-failed/822/1 "2017-07-14T13:20:03Z")

</div>

Hey,  
I’m getting an error in iOS (10.2.1) in a Fuse project when fetching an https:// url.  
Fetch:

```auto
    fetch('https://s3.amazonaws.com/MYJSONFILE.json')
        .then(function(response) {
          return response.json();
         })
        .then(function(responseObject) {
          resolve(responseObject);
         });
       });

```

XCode output:

```auto
2017-07-14 14:13:31.463348+0100 json[648:107898] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9807]
2017-07-14 14:13:31.464215+0100 json[648:107909] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)

```

I believe it’s something to do with `App Transport Security Settings`, but they are set as recommended on SO: [https://stackoverflow.com/questions/43847836/swift-3-nsurlsession-nsurlconnection-http-load-failed-when-connecting-to-a-site?noredirect=1&lq=1](https://stackoverflow.com/questions/43847836/swift-3-nsurlsession-nsurlconnection-http-load-failed-when-connecting-to-a-site?noredirect=1&lq=1)

Any clues?  
Thanks!
