Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cf-dev] Not getting the complete response from coAP server

Hi, Sreejith.
I guess it could be a blockwise issue.
You can enable logging or message tracing and compare the packets in both cases.

2017-02-23 11:46 GMT+03:00 Sreejith S <srssreejith@xxxxxxxxx>:
Hi,

I am using a sample coAP client like below.

CoapClient client = new CoapClient("coap://localhost:5683/obs");
String content1 = client.get().getResponseText();

I tried the client with a coAP java server , i am able to get the complete response.

Assume that server is sending say 1000 json records together in a response. But when i try the same client with a GO coAP server , i am not able to get the complete response string.g.

But i tested the GO coAP server with a node.js coAP client , its working perfectly. So i assume the problem is with in java client.

Please some one point me the issue here.

-- 


Sreejith.S







_______________________________________________
cf-dev mailing list
cf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cf-dev


Back to the top