go-coap icon indicating copy to clipboard operation
go-coap copied to clipboard

Data From go-coap client is not reaching Java coap-californium server

Open uguessmyid opened this issue 7 years ago • 3 comments

@dustin We have generated some data using go-coap client and the data is not reaching Java-Calfornium-Coap Server. Though the go-coap client is working perfectly fine with go-coap server and node-js coap server, it is not working with Java Server.

More over the go-coap is not throwing any error also. And We don't see any data on the Java-server side from go-coap client.

uguessmyid avatar Mar 06 '17 13:03 uguessmyid

@uguessmyid have you found a solution yet ? I am trying to use Cupper user agent to work with server but so far i have not been able to do so.

fightingsoul009 avatar Jun 22 '17 21:06 fightingsoul009

If I recall correctly there are two options one is to never timeout and other is to timeout.

I found that in corporate environment UDP is frequently blocked. Most typical behavior is what you observe.

I have transferred thousands of messages using it including GO to .NET an GO to GO.

In early stages I tested same as you and run into firewall issues

kulak avatar Jun 23 '17 04:06 kulak

UDP can get tricky from several perspectives.

kulak avatar Jun 23 '17 04:06 kulak