I'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 to the Eclipse CoAP server (using its hostname and resource URI).
-
It also works with the coap.me test server (
coap://coap.me/test).
What fails:
-
When I replace the server with my own CoAP server hostname and try a POST request, the device returns the following error in the log:
[00:00:03.350,067] <inf> coap_client_sample: CoAP post response: code: 0x80, payload: No matching proxy rule
Additional Notes:
-
I’ve tried both IP and hostname for my server.
-
The error code
0x80indicates a response with no specific CoAP status class, and the payload suggests some form of proxy or routing issue.
Question:
-
What does the "No matching proxy rule" error mean in this context?
-
Is there a configuration in the example or the modem firmware I might be missing?
-
Does this error imply something on the server side (like unsupported proxying or a malformed URI)?
Any guidance on resolving this or additional debugging tips would be greatly appreciated.
Thanks in advance!
