Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] About Leshan Project

Hello to everybody:

I'm sorry for my bad english. My name is Luis, I live in Argentina and I am software developer. I'm currently working on a project that attempts to monitor the temperature of stoves snuff, and I want to establish the connection with sensors using coap + lwm2m. I'm totally new in this, and all I read takes me to Leshan Project, I want to use this platform to carry out the project that we are developing with my coworkers. We started compiling and debugging leshan-client-example, but don't get to establish the connection to the Leshan server. We have tried many ways but it only works when we set both the client and the server with the ip 127.0.0.1 or localhost, if I try to connect the client to a server in another ip, it always tries to connect to localhost. I contact you to ask if it is a recurring problem of easy solution or am I doing something wrong, we could not find information about it, and for that reason is that i contact you directly. The exception that is constantly presented as follows:

mar 14, 2015 1:57:22 AM org.eclipse.californium.core.network.config.NetworkConfig createStandardWithFile
INFORMACIÓN: Loading standard properties from file Californium.properties
mar 14, 2015 1:57:22 AM org.eclipse.californium.core.CoapServer start
INFORMACIÓN: Starting server
mar 14, 2015 1:57:22 AM org.eclipse.californium.core.network.CoAPEndpoint start
INFORMACIÓN: Starting endpoint at localhost/127.0.0.1:9000
Exception in thread "main" java.lang.RuntimeException: Request Timed Out: coap://localhost/rd?ep=d4a5b992-cef8-4cc2-b933-bbf494e5877f (timeout)
at org.eclipse.leshan.client.californium.impl.CaliforniumLwM2mClientRequestSender$SyncRequestObserver.waitForResponse(CaliforniumLwM2mClientRequestSender.java:219)
at org.eclipse.leshan.client.californium.impl.CaliforniumLwM2mClientRequestSender.send(CaliforniumLwM2mClientRequestSender.java:79)
at org.eclipse.leshan.client.californium.LeshanClient.send(LeshanClient.java:99)
at org.eclipse.leshan.client.example.LeshanClientExample.<init>(LeshanClientExample.java:82)
at org.eclipse.leshan.client.example.LeshanClientExample.main(LeshanClientExample.java:67)

I would greatly appreciate you can give me a help to continue this project . Thanks again and sorry for my English.

Luis Condori

Back to the top