<?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>Send multiple http post request to the same server consecutively</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72516/send-multiple-http-post-request-to-the-same-server-consecutively</link><description>We are using over own server that host multiple apis for different functionalities. 
 I am able to make http post requests to all of them individually and everything works fine. 
 
 For efficient flow of the program (more importantly from power consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 14:18:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72516/send-multiple-http-post-request-to-the-same-server-consecutively" /><item><title>RE: Send multiple http post request to the same server consecutively</title><link>https://devzone.nordicsemi.com/thread/298750?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 14:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea4bd95b-3e44-4b1b-ad6c-6a95399eeff2</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is the server running?&lt;/p&gt;
&lt;p&gt;We have seen similar behavior when downloading FOTA images from an Apache server. The solution in those cases was to increase the KeepAliveTimeout from 5 to 10 in /etc/apache2/apache2.conf.&lt;/p&gt;
&lt;p&gt;In the above case, they were using the download_client library to download a FOTA image piecewise with repeated GET requests. After they looked at the IP traffic on the server side, they saw that the requests came with 4-6 seconds intervals.&lt;/p&gt;
&lt;p&gt;If timeouts in the server isn&amp;#39;t your issue, could you take a &lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect"&gt;modem trace&lt;/a&gt;, to help me figure out why the connection gets closed?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>