================================================================================================================================================ C:\Users\root\Documents\leshan\leshan-bsserver-demo\target>java -jar leshan-bsserver-demo-0.1.11-M8-jar-with-dependencies.jar Feb 20, 2016 8:09:16 AM org.eclipse.californium.core.network.config.NetworkConfig createStandardWithFile INFO: Loading standard properties from file Californium.properties Feb 20, 2016 8:09:16 AM org.eclipse.californium.core.CoapServer start INFO: Starting server Feb 20, 2016 8:09:16 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at /0.0.0.0:5683 Feb 20, 2016 8:09:16 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at /0.0.0.0:5684 Feb 20, 2016 8:09:17 AM org.eclipse.californium.scandium.DTLSConnector start INFO: DTLS connector listening on [0.0.0.0/0.0.0.0:5684] with MTU [1,280] using (inbound) datagram buffer size [16,474 bytes] [2016-02-20 08:09:17,112 INFO LwM2mBootstrapServerImpl] Bootstrap server started at coap://0.0.0.0/0.0.0.0:5683, coaps://0.0.0.0/0.0.0.0:5684. [2016-02-20 08:09:18,332 INFO LeshanBootstrapServerDemo] Web server started at http://192.168.1.4:8080/. ================================================================================================================================================ C:\Users\root\Documents\leshan\leshan-server-demo\target>java -jar leshan-server-demo-0.1.11-M8-jar-with-dependencies.jar -wp 8081 -slp 5784 -lp 5783 [2016-02-20 08:09:28,898 INFO SecurityRegistryImpl] 1 security infos loaded Feb 20, 2016 8:09:29 AM org.eclipse.californium.core.network.config.NetworkConfig createStandardWithFile INFO: Loading standard properties from file Californium.properties Feb 20, 2016 8:09:29 AM org.eclipse.californium.core.CoapServer start INFO: Starting server Feb 20, 2016 8:09:29 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at 0.0.0.0/0.0.0.0:5783 Feb 20, 2016 8:09:29 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at 0.0.0.0/0.0.0.0:5784 Feb 20, 2016 8:09:30 AM org.eclipse.californium.scandium.DTLSConnector start INFO: DTLS connector listening on [0.0.0.0/0.0.0.0:5784] with MTU [1,280] using (inbound) datagram buffer size [16,474 bytes] [2016-02-20 08:09:30,247 INFO LeshanServer] LWM2M server started at coap://0.0.0.0/0.0.0.0:5783, coaps://0.0.0.0/0.0.0.0:5784. [2016-02-20 08:09:31,503 INFO LeshanServerDemo] Web server started at http://192.168.1.4:8081/. [2016-02-20 08:10:10,499 WARN SecurityCheck] Invalid identity for client 'Kochi': expected '2' but was '3' [2016-02-20 08:10:10,603 WARN SecurityCheck] Invalid identity for client 'Kochi': expected '2' but was '3' [2016-02-20 08:10:10,914 WARN SecurityCheck] Invalid identity for client 'Kochi': expected '2' but was '3' [2016-02-20 08:20:11,179 WARN SecurityCheck] Invalid identity for client 'Kochi': expected '2' but was '3' [2016-02-20 08:20:11,357 WARN SecurityCheck] Invalid identity for client 'Kochi': expected '2' but was '3' ================================================================================================================================================ C:\Users\root\Documents\leshan\leshan-client-demo\target>java -jar leshan-client-demo-0.1.11-M8-jar-with-dependencies.jar -b -n Kochi Feb 20, 2016 8:09:22 AM org.eclipse.californium.core.network.config.NetworkConfig createStandardWithFile INFO: Loading standard properties from file Californium.properties [2016-02-20 08:09:22,562 INFO LeshanClientDemo] Press 'w','a','s','d' to change reported Location. [2016-02-20 08:09:22,586 INFO LeshanClient] Starting Leshan client ... Feb 20, 2016 8:09:22 AM org.eclipse.californium.core.CoapServer start INFO: Starting server Feb 20, 2016 8:09:22 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at 0.0.0.0/0.0.0.0:0 Feb 20, 2016 8:09:22 AM org.eclipse.californium.scandium.DTLSConnector start INFO: DTLS connector listening on [0.0.0.0/0.0.0.0:49851] with MTU [1,280] using (inbound) datagram buffer size [16,474 bytes] Feb 20, 2016 8:09:22 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at 0.0.0.0/0.0.0.0:0 [2016-02-20 08:09:22,868 INFO LeshanClient] Leshan client started. [2016-02-20 08:09:22,930 INFO RegistrationEngine] Trying to start bootstrap session to coap://localhost:5683 ... [2016-02-20 08:09:23,047 INFO RegistrationEngine] Bootstrap started [2016-02-20 08:09:23,163 INFO RegistrationEngine] Bootstrap finished ServersInfo [bootstrap=Bootstrap Server [uri=coap://localhost:5683], deviceMangements={123=DM Server [uri=coaps://localhost:5784, lifetime=20, binding=U]}]. [2016-02-20 08:09:23,200 INFO RegistrationEngine] Trying to register to coaps://localhost:5784 ... [2016-02-20 08:09:34,133 INFO RegistrationEngine] Next registration update in 18.0s... [2016-02-20 08:09:34,150 INFO RegistrationEngine] Registered with location '/rd/xAt0IW2xgP'. [2016-02-20 08:09:52,152 INFO RegistrationEngine] Trying to update registration to coaps://localhost:5784 ... [2016-02-20 08:09:52,248 INFO RegistrationEngine] Next registration update in 18.0s... [2016-02-20 08:09:52,284 INFO RegistrationEngine] Registration update succeed. [2016-02-20 08:10:10,387 INFO RegistrationEngine] Trying to update registration to coaps://localhost:5784 ... [2016-02-20 08:10:10,549 ERROR RegistrationEngine] Registration update failed: BAD_REQUEST forbidden. [2016-02-20 08:10:10,568 INFO RegistrationEngine] Trying to register to coaps://localhost:5784 ... [2016-02-20 08:10:10,626 ERROR RegistrationEngine] Registration failed: FORBIDDEN. [2016-02-20 08:10:10,647 INFO RegistrationEngine] Trying to start bootstrap session to coap://localhost:5683 ... [2016-02-20 08:10:10,671 INFO RegistrationEngine] Bootstrap started [2016-02-20 08:10:10,721 INFO RegistrationEngine] Bootstrap finished ServersInfo [bootstrap=Bootstrap Server [uri=coap://localhost:5683], deviceMangements={123=DM Server [uri=coaps://localhost:5784, lifetime=20, binding=U]}]. [2016-02-20 08:10:10,788 INFO RegistrationEngine] Trying to register to coaps://localhost:5784 ... [2016-02-20 08:10:10,998 ERROR RegistrationEngine] Registration failed: FORBIDDEN. [2016-02-20 08:10:11,075 INFO RegistrationEngine] Unable to connect to any server, next retry in 600s... [2016-02-20 08:20:11,143 INFO RegistrationEngine] Trying to register to coaps://localhost:5784 ... [2016-02-20 08:20:11,217 ERROR RegistrationEngine] Registration failed: FORBIDDEN. [2016-02-20 08:20:11,229 INFO RegistrationEngine] Trying to start bootstrap session to coap://localhost:5683 ... [2016-02-20 08:20:11,251 INFO RegistrationEngine] Bootstrap started [2016-02-20 08:20:11,285 INFO RegistrationEngine] Bootstrap finished ServersInfo [bootstrap=Bootstrap Server [uri=coap://localhost:5683], deviceMangements={123=DM Server [uri=coaps://localhost:5784, lifetime=20, binding=U]}]. [2016-02-20 08:20:11,325 INFO RegistrationEngine] Trying to register to coaps://localhost:5784 ... [2016-02-20 08:20:11,383 ERROR RegistrationEngine] Registration failed: FORBIDDEN. [2016-02-20 08:20:11,395 INFO RegistrationEngine] Unable to connect to any server, next retry in 600s...