Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Problem in connecting leshan client to bootstrap server

Are you putting in "ip1" as the IP6 address or have you just replaced the real IP6 address for privacy reasons? "ip1" is not an IP6 address AFAIK...


On Thu, Jan 19, 2017, 06:03 Waris Khan <wariskhan4119@xxxxxxxxx> wrote:
Hi Team,

It can straight out connect through ipv4 why ipv6.

Thanks,
Waris

On 18 January 2017 at 10:42, Waris Khan <wariskhan4119@xxxxxxxxx> wrote:

Hi Team,

 

I started the bootstrap server, LWM2M server and Lesahn client in 3 different machines:

LWM2M server---- 10.37.2.24

leshan client--- 10.37.3.24

bootstrap server-10.37.14.24

I am able to connect the client with LWM2M server and passing the data.json file to configure bootstrap server but it failes to connect with below details:

 

root@UE-10-37-3-24:~/sw/leshan_client# java -jar leshan-client-demo.jar -lh 10.37.3.24 -lp 5683 -u 10.37.14.24

Jan 17, 2017 7:44:58 AM org.eclipse.californium.core.network.config.NetworkConfig createStandardWithFile

INFO: Loading standard properties from file Californium.properties

2017-01-17 07:44:58,277 INFO LeshanClientDemo - Press 'w','a','s','d' to change reported Location (57.0,29.0).

2017-01-17 07:44:58,277 INFO LeshanClient - Starting Leshan client ...

Jan 17, 2017 7:44:58 AM org.eclipse.californium.core.CoapServer start

INFO: Starting server

Jan 17, 2017 7:44:58 AM org.eclipse.californium.core.network.CoapEndpoint start

INFO: Starting endpoint at 0.0.0.0/0.0.0.0:0

Jan 17, 2017 7:44:58 AM org.eclipse.californium.scandium.DTLSConnector start

INFO: DTLS connector listening on [0.0.0.0/0.0.0.0:57008] with MTU [1,280] using (inbound) datagram buffer size [16,474 bytes]

Jan 17, 2017 7:44:58 AM org.eclipse.californium.core.network.CoapEndpoint start

INFO: Starting endpoint at /10.37.3.24:5683

2017-01-17 07:44:58,294 INFO LeshanClient - Leshan client started.

2017-01-17 07:44:58,308 INFO RegistrationEngine - Trying to register to coap://10.37.14.24:5683 ...

 

Output console as:

 

 

Jan 17, 2017 7:45:07 AM org.eclipse.californium.core.server.ServerMessageDeliverer deliverRequest

INFO: Did not find resource [rd] requested by /10.37.3.24:5,683

 

Please help me out in this.

 

 

Thanks & Regards,

 Waris Khan


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

Back to the top