<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Objective C Console Errors Should I be worried? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200721#M9442</link>
    <description>&lt;P&gt;Thanks for the additional information! I can't reproduce this issue using your code though, so it does seem there's something else going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I took a closer look at the output you shared, and the PAC/proxy messages cite&amp;nbsp;error&amp;nbsp;1022, which is&amp;nbsp;NSURLErrorAppTransportSecurityRequiresSecureConnection. That indicates it is the proxy attempt that's causing the&amp;nbsp;App Transport Security failure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simulator uses your computers network connection, so I&amp;nbsp;recommend checking the System Preferences &amp;gt; Network &amp;gt; Advanced &amp;gt; Proxies &amp;gt; Automatic Proxy Configuration for a Proxy Configuration File hosted on http://.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 21:46:47 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-01-05T21:46:47Z</dc:date>
    <item>
      <title>Objective C Console Errors Should I be worried?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200705#M9434</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(First sorry for the new user name, it wouldn't allow me back in...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sucessfully upgraded my app to use API v2 Objective C - however when running from the simulator when checking if I have an active account I get the following errors in the log - but they don't seem to stop anything and I can't locate where they are occurring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2017-01-05 13:50:46.148 AppName[11111:111111] You are linked: &amp;lt;DropboxClient: 0x600000245a90&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2017-01-05 13:50:46.179 AppName[11111:111111] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2017-01-05 13:50:46.196738 AppName[11111:111111] PAC Fetch failed with error [NSURLErrorDomain:-1022]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2017-01-05 13:50:46.197575 AppName[11111:111111] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1022&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;It seems to occur after this call&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;self.restClient.filesRoutes&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:27:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200705#M9434</guid>
      <dc:creator>purringpgeon</dc:creator>
      <dc:date>2019-05-29T09:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Objective C Console Errors Should I be worried?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200714#M9438</link>
      <description>The Dropbox API operates entirely over HTTPS, so it shouldn't trigger a message like that. Are you sure that's the only thing running when you get this?</description>
      <pubDate>Thu, 05 Jan 2017 21:18:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200714#M9438</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-05T21:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Objective C Console Errors Should I be worried?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200716#M9439</link>
      <description>&lt;P&gt;Yes - my app only uses dropbox to call out. &amp;nbsp;Everything else is 100% local. &amp;nbsp;I am not running anything else from the simulator (that I am aware of).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even added this to my plist file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;key&amp;gt;NSAppTransportSecurity&amp;lt;/key&amp;gt;
    &amp;lt;dict&amp;gt;
        &amp;lt;key&amp;gt;NSAllowsArbitraryLoads&amp;lt;/key&amp;gt;
        &amp;lt;false/&amp;gt;
    &amp;lt;/dict&amp;gt;&lt;/PRE&gt;&lt;P&gt;It only seems to happen on that one call I noted above, I get the HTTP warning, and the other two errors. &amp;nbsp;But my app works just fine. &amp;nbsp;So I am confused.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:26:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200716#M9439</guid>
      <dc:creator>purringpgeon</dc:creator>
      <dc:date>2017-01-05T21:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Objective C Console Errors Should I be worried?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200717#M9440</link>
      <description>The other output seems to indicate that you may be trying to use a proxy, configured via a pac file. Is the pac file hosted on HTTP?&lt;BR /&gt;&lt;BR /&gt;Otherwise, can you share the rest of the code? What you shared was incomplete. I'll be happy to try to reproduce it.</description>
      <pubDate>Thu, 05 Jan 2017 21:30:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200717#M9440</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-05T21:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Objective C Console Errors Should I be worried?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200719#M9441</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what a PAC file is &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I am doing the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check for existing back up - which consists of 4 files which is this call:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[[self.restClient.filesRoutes listFolder:@""]response:^(DBFILESListFolderResult * _Nullable result, DBFILESListFolderError * _Nullable routeError, DBRequestError * _Nullable error) {&lt;/PRE&gt;&lt;P&gt;When this lands in the response section - that's when I get those three messages. &amp;nbsp;I don't get them for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; [[self.restClient.filesRoutes uploadData:@"/ServiceReport.sqlite"
                    mode:mode
                    autorename: NULL
                    clientModified:NULL
                    mute:NULL
                    inputData:sqllite]response:^(DBFILESFileMetadata * _Nullable result , DBFILESUploadError * _Nullable routeError, DBRequestError * _Nullable error) {&lt;/PRE&gt;&lt;P&gt;Or this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; [[self.restClient.filesRoutes downloadData:@"/ServiceReport.sqlite"]response:^(DBFILESFileMetadata * _Nullable result, DBFILESDownloadError * _Nullable downloaderror, DBRequestError * _Nullable error, NSData * _Nonnull fileData) {&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can post my entire controller here if you would like - other than the auth - which I think is pretty standard stuff.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:38:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200719#M9441</guid>
      <dc:creator>purringpgeon</dc:creator>
      <dc:date>2017-01-05T21:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Objective C Console Errors Should I be worried?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200721#M9442</link>
      <description>&lt;P&gt;Thanks for the additional information! I can't reproduce this issue using your code though, so it does seem there's something else going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I took a closer look at the output you shared, and the PAC/proxy messages cite&amp;nbsp;error&amp;nbsp;1022, which is&amp;nbsp;NSURLErrorAppTransportSecurityRequiresSecureConnection. That indicates it is the proxy attempt that's causing the&amp;nbsp;App Transport Security failure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simulator uses your computers network connection, so I&amp;nbsp;recommend checking the System Preferences &amp;gt; Network &amp;gt; Advanced &amp;gt; Proxies &amp;gt; Automatic Proxy Configuration for a Proxy Configuration File hosted on http://.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:46:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200721#M9442</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-05T21:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Objective C Console Errors Should I be worried?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200723#M9443</link>
      <description>&lt;P&gt;Well - I never would have seen that &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; - I had Auto Proxy Detection on. &amp;nbsp;Turned that off and the message went away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:50:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Objective-C-Console-Errors-Should-I-be-worried/m-p/200723#M9443</guid>
      <dc:creator>purringpgeon</dc:creator>
      <dc:date>2017-01-05T21:50:19Z</dc:date>
    </item>
  </channel>
</rss>

