<?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>Issue with CoAP POST – &amp;quot;No matching proxy rule&amp;quot; on custom server using nRF9151 (Lesson 5, Exercise 1)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123273/issue-with-coap-post-no-matching-proxy-rule-on-custom-server-using-nrf9151-lesson-5-exercise-1</link><description>I&amp;#39;m currently working through DevAcademy Lesson 5, Exercise 1 using the nRF9151 DK , following the CoAP client example. I’ve encountered an issue when attempting to POST data to my own CoAP server. 
 What works: 
 
 
 The code works correctly when posting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Jul 2025 05:12:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123273/issue-with-coap-post-no-matching-proxy-rule-on-custom-server-using-nrf9151-lesson-5-exercise-1" /><item><title>RE: Issue with CoAP POST – "No matching proxy rule" on custom server using nRF9151 (Lesson 5, Exercise 1)</title><link>https://devzone.nordicsemi.com/thread/543676?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2025 05:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6de458d5-2cf8-4a2b-8d2c-226dcdac3c29</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with CoAP POST – "No matching proxy rule" on custom server using nRF9151 (Lesson 5, Exercise 1)</title><link>https://devzone.nordicsemi.com/thread/543675?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2025 04:47:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:943b0bb9-f8e0-4597-94ef-1e775660aecf</guid><dc:creator>Priyesh Shahi</dc:creator><description>&lt;p data-start="161" data-end="284"&gt;Thank you for the clarification regarding the &lt;code data-start="207" data-end="232"&gt;0x80 (4.00 Bad Request)&lt;/code&gt; response and the proxy behavior of the CoAP server.&lt;/p&gt;
&lt;p data-start="286" data-end="561"&gt;I&amp;#39;ve resolved the issue with the help of our developer team. It turns out the server was expecting the &lt;strong data-start="389" data-end="455"&gt;hostname to be explicitly included in the CoAP request payload&lt;/strong&gt;, which we had initially missed. Once we added that, the server started processing the requests correctly.&lt;/p&gt;
&lt;p data-start="563" data-end="625"&gt;Appreciate your insights&amp;mdash;it helped us narrow down the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with CoAP POST – "No matching proxy rule" on custom server using nRF9151 (Lesson 5, Exercise 1)</title><link>https://devzone.nordicsemi.com/thread/543665?ContentTypeID=1</link><pubDate>Sun, 27 Jul 2025 09:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb43aa99-a233-48b5-ae29-2e7419a18780</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I guess, you better ask that the developers of that server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A response code uses 0bccc.ddddd (first 3 bits response class, last 5 bits details)&lt;/p&gt;
&lt;p&gt;So a 0x80 is 4.00 =&amp;gt; BAD REQUEST&lt;/p&gt;
&lt;p&gt;If other servers are processing that request, then the request itself may not be the cause.&lt;/p&gt;
&lt;p&gt;Why your own server doesn&amp;#39;t want to process it, is something only you or the developers will be able to know.&lt;/p&gt;
[quote userid="129185" url="~/f/nordic-q-a/123273/issue-with-coap-post-no-matching-proxy-rule-on-custom-server-using-nrf9151-lesson-5-exercise-1"] &amp;quot;No matching proxy rule&amp;quot; [/quote]
&lt;p&gt;That may be a hint, that your coap-server acts mainly as proxy and has no &amp;quot;matching rule&amp;quot; for your request.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with CoAP POST – "No matching proxy rule" on custom server using nRF9151 (Lesson 5, Exercise 1)</title><link>https://devzone.nordicsemi.com/thread/543658?ContentTypeID=1</link><pubDate>Sat, 26 Jul 2025 07:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8405821-c754-4a89-bfcb-7b52719cff21</guid><dc:creator>Priyesh Shahi</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/proxy_5F00_rule_5F00_not_5F00_matched.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>