<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stack overflow in aws_connection_poll_thread during OTA update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96011/stack-overflow-in-aws_connection_poll_thread-during-ota-update</link><description>Hello, 
 When working with AWS and AWS FOTA updates I ran into an issue where the stack would overflow when attempting to download from the AWS bucket. It seems like this is related to the use of pre-signed paths. For example the &amp;#39;signing&amp;#39; portion of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jan 2023 11:53:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96011/stack-overflow-in-aws_connection_poll_thread-during-ota-update" /><item><title>RE: Stack overflow in aws_connection_poll_thread during OTA update</title><link>https://devzone.nordicsemi.com/thread/406439?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 11:53:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b1a2fc6-fd19-41ad-933c-91c3fd21aaf7</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have configured your AWS S3 bucket to be private, the opposite of what our samples are, then you will see that files have an extra overhead in the file path.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Currently the only work-around is to edit the POLL_THREAD_STACK_SIZE defined in the bottom of&amp;nbsp;&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;ncs\v2.2.0\nrf\subsys\net\lib\aws_iot\src\aws_iot.c&lt;/span&gt;&lt;/span&gt;&lt;span&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You could try to move these to their own KConfig file&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/kconfig/setting.html#setting-kconfig-configuration-values"&gt;following this documentation.&lt;/a&gt;&amp;nbsp;There is some work from our side to improve this, but I have no timeline at the moment.&amp;nbsp;&lt;/p&gt;
[quote user=""] Is my pre-signed path exceptionally long? Are pre-signed paths necessary?[/quote]
&lt;p&gt;This is a configuration by AWS, and there might be some configuration you can edit on server side.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>