<?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>Help with http post to private server</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118447/help-with-http-post-to-private-server</link><description>Hi! 
 I&amp;#39;m attempting to run the application from this URL , but nothing appears on the serial console, and I don&amp;#39;t see any posts on the toilet website. 
 Could you help me with this? I&amp;#39;ve spent too many months on http_client and https_client with no results</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Feb 2025 10:40:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118447/help-with-http-post-to-private-server" /><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/521516?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 10:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd29639f-aa6c-478a-ab44-2c2bec2e8c53</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am still looking to assist you.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I have started again with the project provided in the ticket linked in your initial post (http_post.zip). I was not able to build this sample project successfully. Does that sample build for you?&lt;br /&gt; &lt;br /&gt;Then I tried to build your project (8625.http_post.zip) which successfully built (with modification to CMakeLists.txt file) but there was nothing in the terminal after flashing. This seems to be the same result as you mentioned in your initial post, but you might have used http post.zip sample project. Do you get the same empty terminal when using 8625.http_post.zip sample project?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What are the differences between http_post.zip and 8625.http_post.zip?&amp;nbsp;&lt;/p&gt;
[quote user=""]int err = getaddrinfo(HTTP_HOST, NULL, NULL, &amp;amp;res);&lt;br /&gt;I got error -11[/quote]
&lt;p&gt;This error comes from zephyr\include\zephyr\net\dns_resolve.h. It is system error&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/** System error returned in `errno&amp;#39; */
	DNS_EAI_SYSTEM      = -11,&lt;/pre&gt;&lt;br /&gt;Which sample did you use and how did you build it when you got error -11 which you mentioned in your initial post? Did you get any other error in addition to error -11?&lt;br /&gt;&lt;br /&gt;Best regards, &lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/521403?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 18:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef66dd5b-7d25-4437-8fcb-eb30211b4d55</guid><dc:creator>Digisoles</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;You could start by looking at the https_client sample and removing everything that you do not need.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span id="output-phrase~0~0" class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;I&amp;#39;m&amp;nbsp;&lt;/span&gt;&lt;span class="css-0"&gt;new&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~1" class="css-1ko3g0e"&gt;&lt;span class="css-10o52y0"&gt;to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~2" class="css-1ko3g0e"&gt;&lt;span class="css-10o52y0"&gt;Zephyr;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~3" class="css-1ko3g0e"&gt;&lt;span class="css-10o52y0"&gt;if&amp;nbsp;&lt;/span&gt;&lt;span class="css-10o52y0"&gt;I&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~4" class="css-1ko3g0e"&gt;&lt;span class="css-10o52y0"&gt;could&amp;nbsp;&lt;/span&gt;&lt;span class="css-h5d7i9"&gt;do&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~5" class="css-1ko3g0e"&gt;&lt;span class="css-10o52y0"&gt;it&amp;nbsp;&lt;/span&gt;&lt;span class="css-10o52y0"&gt;on&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~6" class="css-1ko3g0e"&gt;&lt;span class="css-10o52y0"&gt;my&amp;nbsp;&lt;/span&gt;&lt;span class="css-10o52y0"&gt;own,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~7" class="css-1ko3g0e"&gt;&lt;span class="css-10o52y0"&gt;there&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~8" class="css-1ko3g0e"&gt;&lt;span class="css-h5d7i9"&gt;would&amp;nbsp;&lt;/span&gt;&lt;span class="css-lq4jk2"&gt;be&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~9" class="css-1ko3g0e"&gt;&lt;span class="css-lq4jk2"&gt;no&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~10" class="css-1ko3g0e"&gt;&lt;span class="css-lq4jk2"&gt;need&amp;nbsp;&lt;/span&gt;&lt;span class="css-lq4jk2"&gt;to&amp;nbsp;&lt;/span&gt;&lt;span class="css-1g9q2al"&gt;post&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~11" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;anything&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~12" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;here.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks anyway, please close this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/521138?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 14:03:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:168a2f8e-611b-4491-b3af-8528882c0da9</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have built your application successfully by modifying your CMakeLists.txt file. However, the application did not even enter main(). I recommend that you start from the working sample. In your case, you could start by looking at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/samples/net/https_client/README.html"&gt;https_client&lt;/a&gt;&amp;nbsp;sample and removing everything that you do not need.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/521035?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 08:36:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b20fc59-b936-46ff-ae51-6c1f886c4425</guid><dc:creator>Digisoles</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span id="output-sentence-box~0" class="output-sentence"&gt;&lt;span class="MuiBox-root css-avfhld"&gt;&lt;span id="output-sentence~0"&gt;&lt;span id="output-phrase~0~0" class="css-1ko3g0e"&gt;&lt;span class="css-1tmeul0"&gt;Hello,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~0~1" class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;Dejans.&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span id="output-sentence-box~1" class="output-sentence"&gt;&lt;span class="MuiBox-root css-avfhld"&gt;&lt;span id="output-sentence~1"&gt;&lt;span id="output-phrase~1~0" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;I&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~1" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;commented&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~2" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~3" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;&amp;quot;app_http_start()&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~4" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;call,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~5" class="css-1ko3g0e"&gt;&lt;span class="css-1g9q2al"&gt;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~6" class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;the&amp;nbsp;&lt;/span&gt;&lt;span class="css-0"&gt;serial&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~7" class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;terminal&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~8" class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;is&amp;nbsp;&lt;/span&gt;&lt;span class="css-0"&gt;attached&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~9" class="css-1ko3g0e"&gt;&lt;span class="css-1tmeul0"&gt;as&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="output-phrase~1~10" class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span class="css-0"&gt;log&amp;nbsp;&lt;/span&gt;&lt;span class="css-0"&gt;file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="output-sentence"&gt;&lt;span class="MuiBox-root css-avfhld"&gt;&lt;span&gt;&lt;span class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;With kind regards&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="output-sentence"&gt;&lt;span class="MuiBox-root css-avfhld"&gt;&lt;span&gt;&lt;span class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="output-sentence"&gt;&lt;span class="MuiBox-root css-avfhld"&gt;&lt;span&gt;&lt;span class="css-1ko3g0e"&gt;&lt;span class="css-0"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Serial-terminal.log"&gt;devzone.nordicsemi.com/.../Serial-terminal.log&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/521008?ContentTypeID=1</link><pubDate>Sun, 02 Feb 2025 20:46:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13c91363-2172-4ea2-a70d-eed187810fc1</guid><dc:creator>Digisoles</dc:creator><description>&lt;p&gt;Hi Dejans!&lt;/p&gt;
&lt;p&gt;I am waiting for your response&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/520846?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 10:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:915a4081-d23e-4d22-8e4d-a766bc82daff</guid><dc:creator>Digisoles</dc:creator><description>&lt;p&gt;Hi Dejans!&lt;/p&gt;
&lt;p&gt;I am waiting for your response, please!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/520623?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 20:50:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96b859f0-6b2b-414c-80c1-0eb7d829d533</guid><dc:creator>Digisoles</dc:creator><description>&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Hi Dejan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;last time, I sent you the build log in the zip file to confirm that it was successfully built; this time,&amp;nbsp;&lt;/span&gt;&lt;span&gt;I successfully built the app again, and&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:inherit;"&gt;I am providing you with the application code, the build log, images showing the problem tab, and the terminal tabs used when programming.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I was able to debug the application, identify the row number where the error occurred, and obtain the error number.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Also, I&amp;#39;ve included a link to an application that one of your coworkers upload to&amp;nbsp;this forum, so you may download it and build it your own.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;What challenge did you encounter when building the application? Maybe I can help you, even though you are thousands of times more capable of fixing it than I am. Also, maybe you can use the hex file in the build folder.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I&amp;#39;ve spent more than a year attempting to adapt https_client or http_client apps to send a text message to a private server by http post; at first, I bought a Sparkfun board, but after 10 or 11 months of fails, I gave up and bought a Nordic board,but,&amp;nbsp;&lt;/span&gt;&lt;span&gt;with little progress since.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I am not even making a application of my own, just trying to make an Nordic sample work in a private server.&lt;br /&gt;&lt;br /&gt;Please help me!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;&lt;/span&gt;&lt;span style="font-size:inherit;"&gt;With kind regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8625.http-post.zip"&gt;devzone.nordicsemi.com/.../8625.http-post.zip&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/520562?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 14:09:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0593b928-7dc5-47f0-bcc9-2e5e3b6abec5</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am not able to build your project for nrf9151-dk in NCS v2.8.0. Can you verify that you can build the project successfully?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with http post to private server</title><link>https://devzone.nordicsemi.com/thread/520486?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 01:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47de927c-da95-4db4-940f-448d698721fe</guid><dc:creator>Digisoles</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;I looked for error -11 and it means:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_EAGAIN 11: &amp;quot;Resource unavailable, please try again&amp;quot;.&lt;/p&gt;
&lt;p&gt;What resource would it be, please?&amp;nbsp;&lt;span&gt;HTTP_HOST? I already placed &lt;/span&gt;&lt;span&gt;&amp;quot;ptsv3.com&amp;quot;,&amp;nbsp;&lt;/span&gt;there and got the same result, any hints?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;With warm regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>