<?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: SW updates via OTA dropbox failes CC3200 in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553111#M2209</link>
    <description>&lt;P&gt;Thanks for following up. I see you're referring to the links returned by &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_blank" rel="noopener noreferrer"&gt;the /2/files/get_temporary_link endpoint&lt;/A&gt;. Per &lt;A href="https://github.com/dropbox/dropbox-api-spec/blob/72d0718154d13756b31b5a0e0948abcae35dab84/files.stone#L2551" target="_blank"&gt;the Dropbox API spec&lt;/A&gt;, the returned &lt;CODE&gt;GetTemporaryLinkResult.link&lt;/CODE&gt; field is only documented as &lt;CODE&gt;String&lt;/CODE&gt; without a more specific format/domain guaranteed. The exact link format/domain used may vary over time as the Dropbox implementation is updated and maintained, but the link returned should always be valid for four hours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The implementation for that endpoint has been recently updated, for instance, to return links with a different domain and format, but the returned links are still valid. Specifically, the new format contains a "#" at the end of the link. Per the HTTP spec, the "#" is a reserved character for identifying the beginning of the "fragment" portion in a URI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing we're seeing, however, is that some HTTPS client handle the "#" in the URL incorrectly. HTTPS clients are not supposed to include that portion in requests to the server, but some clients mistakenly do. If that is the issue, you can work around this by removing that trailing "#" from the end of the link before passing it to your client. (Be sure to do so in a fail-safe manner though; the Dropbox API spec does not guarantee its presence, so make sure your code wouldn't fail if it isn't present to begin with.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand you are not able to deploy such an update however, because this is the mechanism you would use to do so anyway. That being the case, I'm raising this with engineering to see if we can accommodate this somehow on our side, though I can't make any promises right now. I'll follow up here with any updates on that.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 17:21:22 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-10-27T17:21:22Z</dc:date>
    <item>
      <title>SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/552463#M2201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Last week, I think about thursday 21st of October OTA updates started to fail. They have been working for years. I have turned the OTA logs on from the application side and you can see these below. I have not made ane changes in the application SW, the OTA just stopped to work.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;OTA ongoing&lt;BR /&gt;EXTLIB_OTA_GET_OPT_IS_PENDING_COMMIT? 0&lt;BR /&gt;Starting OTA&lt;BR /&gt;sl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com&lt;BR /&gt;OtaClient_ConnectServer: http_connect_server api.dropbox.com&lt;BR /&gt;sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=ODSIF_WIFI_36_D&lt;BR /&gt;CdnDropbox_SendReqDir: uri=/2/files/list_folder&lt;BR /&gt;metadata file=/ODSIF_WIFI_36_D/f80_sys_mcuimgA.bin, size=151320&lt;BR /&gt;sl_extLib_OtaRun: OtaClient_UpdateCheck, numUpdates=1&lt;BR /&gt;sl_extLib_OtaRun: OtaClient_GetNextUpdate: file=/ODSIF_WIFI_36_D/f80_sys_mcuimgA.bin, size=151320&lt;BR /&gt;OtaClient_ResourceMetadata: file flags=80,metadata flags=80&lt;BR /&gt;CdnDropbox_SendReqFileUrl: uri=/2/files/get_temporary_link&lt;BR /&gt;sl_extLib_OtaRun: ResourceMetadata CDN file URL = &lt;A href="https://uc4e6d0a156efefbb6017fce8317.dl.dropboxusercontent.com/cd/0/get/BYrX0i1ilqyDjNZfhB6ruq2WqQAgQUan59p11LCFKOTmtQiFN3h19Kj9wkFl9u_wjeO3uAOxu6xEeEjgSpuavsL0vSydydfTE6neIuf9vgeSn6szP_y7CUMTVKSBfQYxfNlpJTE8ROwhA8WCT92hdmcu/file#" target="_blank" rel="noopener"&gt;https://uc4e6d0a156efefbb6017fce8317.dl.dropboxusercontent.com/cd/0/get/BYrX0i1ilqyDjNZfhB6ruq2WqQAgQUan59p11LCFKOTmtQiFN3h19Kj9wkFl9u_wjeO3uAOxu6xEeEjgSpuavsL0vSydydfTE6neIuf9vgeSn6szP_y7CUMTVKSBfQYxfNlpJTE8ROwhA8WCT92hdmcu/file#&lt;/A&gt;&lt;BR /&gt;_ReadFileHeaders: domain=uc4e6d0a156efefbb6017fce8317.dl.dropboxusercontent.com, file=/cd/0/get/BYrX0i1ilqyDjNZfhB6ruq2WqQAgQUan59p11LCFKOTmtQiFN3h19Kj9wkFl9u_wjeO3uAOxu6xEeEjgSpuavsL0vSydydfTE6neIuf9vgeSn6szP_y7CUMTVKSBfQYxfNlpJTE8ROwhA8WCT92hdmcu/file#&lt;BR /&gt;_ReadFileHeaders: skip http headers&lt;BR /&gt;http_skip_headers: http error code HTTP/1.1 400&lt;BR /&gt;_ReadFileHeaders: ERROR, http_skip_headers, status=-1&lt;BR /&gt;CdnClient_ConnectByUrl: ERROR, _ReadFileHeaders, status=-1&lt;BR /&gt;sl_extLib_OtaRun ERROR: Failed on CdnClient_ConnectByUrl&lt;BR /&gt;OTA run = -6&lt;BR /&gt;OTA: Error with OTA server&lt;BR /&gt;[SOCK ERROR] - close socket (82) operation failed to transmit all queued packets&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you see what is happening here? I am usind SDK 1.5.0 and servicepack 1.0.1.15-2.13.0.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 16:40:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/552463#M2201</guid>
      <dc:creator>Ingi</dc:creator>
      <dc:date>2021-10-26T16:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/552468#M2202</link>
      <description>&lt;P&gt;It looks like your client is getting a 400, but I just gave that a link a try and it is working for me. Can you print out the full request and response, including both headers and bodies, to see what might be going on there?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 12:33:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/552468#M2202</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-24T12:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553049#M2208</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was identified from TI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is due to the "#" that appears now in the received Dropbox URL (in the response of the "/2/files/get_temporary_link" API) .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got a fix in the code so I will inplement this in it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem though that the devices in the field cannot be updated due to this so is there any possibility from your side to remove the "#" in the URL provided in the "/2/files/get_temporary_link" response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Ingibergur&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 13:01:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553049#M2208</guid>
      <dc:creator>Ingi</dc:creator>
      <dc:date>2021-10-27T13:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553111#M2209</link>
      <description>&lt;P&gt;Thanks for following up. I see you're referring to the links returned by &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_blank" rel="noopener noreferrer"&gt;the /2/files/get_temporary_link endpoint&lt;/A&gt;. Per &lt;A href="https://github.com/dropbox/dropbox-api-spec/blob/72d0718154d13756b31b5a0e0948abcae35dab84/files.stone#L2551" target="_blank"&gt;the Dropbox API spec&lt;/A&gt;, the returned &lt;CODE&gt;GetTemporaryLinkResult.link&lt;/CODE&gt; field is only documented as &lt;CODE&gt;String&lt;/CODE&gt; without a more specific format/domain guaranteed. The exact link format/domain used may vary over time as the Dropbox implementation is updated and maintained, but the link returned should always be valid for four hours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The implementation for that endpoint has been recently updated, for instance, to return links with a different domain and format, but the returned links are still valid. Specifically, the new format contains a "#" at the end of the link. Per the HTTP spec, the "#" is a reserved character for identifying the beginning of the "fragment" portion in a URI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing we're seeing, however, is that some HTTPS client handle the "#" in the URL incorrectly. HTTPS clients are not supposed to include that portion in requests to the server, but some clients mistakenly do. If that is the issue, you can work around this by removing that trailing "#" from the end of the link before passing it to your client. (Be sure to do so in a fail-safe manner though; the Dropbox API spec does not guarantee its presence, so make sure your code wouldn't fail if it isn't present to begin with.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand you are not able to deploy such an update however, because this is the mechanism you would use to do so anyway. That being the case, I'm raising this with engineering to see if we can accommodate this somehow on our side, though I can't make any promises right now. I'll follow up here with any updates on that.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 17:21:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553111#M2209</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-27T17:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553606#M2210</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for following this up. As you state I cannot update devices in the field, so I hope you can do something for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Ingi&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 16:32:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553606#M2210</guid>
      <dc:creator>Ingi</dc:creator>
      <dc:date>2021-10-28T16:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553733#M2211</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; We are in the same boat.&amp;nbsp; I thought this was part of the scoped apps so I changed the app to a scoped app.&amp;nbsp; This generated a new access token.&amp;nbsp; This is bad for us.&amp;nbsp; We have thousands of devices in the field that cannot be downloaded with the newly generated access token.&amp;nbsp; Is it possible to set the access token to the token they already have?&amp;nbsp; Additionally the modified character set is a problem for us too.&amp;nbsp; Thank you for looking in to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vic&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 20:54:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553733#M2211</guid>
      <dc:creator>flygecko</dc:creator>
      <dc:date>2021-10-28T20:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553739#M2212</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1484536"&gt;@Ingi&lt;/a&gt;&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/310694"&gt;@flygecko&lt;/a&gt; Thanks for following up. It looks like we're planning on removing the "#" on our side to help accommodate this. I'll follow up here if/when that is done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/310694"&gt;@flygecko&lt;/a&gt; I'm not sure I follow your question regarding the access token. Note that migrating your app to scopes and/or creating a new access token wouldn't affect any existing access tokens though, so as long as you didn't revoke the old access token, it should continue working as before.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 21:02:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553739#M2212</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-28T21:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553748#M2213</link>
      <description>&lt;P&gt;Thank you for removing the #.&amp;nbsp; I did not realize that tokens live until revoked.&amp;nbsp; Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vic&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 21:34:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553748#M2213</guid>
      <dc:creator>flygecko</dc:creator>
      <dc:date>2021-10-28T21:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553869#M2218</link>
      <description>&lt;P&gt;Update: we're no longer returning the "#" at the end of these links.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 12:50:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/553869#M2218</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-29T12:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/554037#M2220</link>
      <description>&lt;P&gt;Wonderful, OTA tested and working. Thanks a lot for fast and efficient solution to our problem&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 10:00:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/554037#M2220</guid>
      <dc:creator>Ingi</dc:creator>
      <dc:date>2021-10-30T10:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: SW updates via OTA dropbox failes CC3200</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/554059#M2221</link>
      <description>&lt;P&gt;This is working for us now as well.&amp;nbsp; Many thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 13:25:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SW-updates-via-OTA-dropbox-failes-CC3200/m-p/554059#M2221</guid>
      <dc:creator>flygecko</dc:creator>
      <dc:date>2021-10-30T13:25:16Z</dc:date>
    </item>
  </channel>
</rss>

