Closed taimooralam closed 7 years ago
Hello! Can you send me the code where you create the CoapReply
?
Since CoAP is a UDP based protocol, each message has to be verified from the server within 2 seconds (according to the standard). If the server does not respond to the request, the message will be resent up to 4 times (also defined in the standard). That is the meaning of the error The server did not respond after 4 retransmissions
. The client tried to send something 4 times and did not get any ACK from the server.
I've tested the coap://vs0.inf.ethz.ch/
, looks like the server does not work correctly at the moment. You can try coap://coap.me
.
If you need additional information about the traffic, build coap-cli
from my repository and try to start it with -v
:
coap-cli -d coap://coap.me -v
Can I close this issue since other CoAP clients do not work either on coap://vs0.inf.ethz.ch/
?
Yes sure. I got my client working on a local server.
Thanks.
On Nov 30, 2016 11:12 AM, "Simon Stürz" notifications@github.com wrote:
Can I close this issue since other CoAP clients do not work either on coap://vs0.inf.ethz.ch/?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/t-mon/qtcoap/issues/2#issuecomment-263834733, or mute the thread https://github.com/notifications/unsubscribe-auth/AGAYOXivYbYPHgkydg62t-8SnKHzF5Ubks5rDUwCgaJpZM4K7sxz .
After the discover request from a local californium server (as well as the test server coap://vs0.inf.ethz.ch/)t , the reply is treated as an error and the program exists after giving the error. The error is Error: "The server did not respond after 4 retransmissions What may be the cause of the error?