root@ubuntu:~/leshan# ./bootstrap.sh >> bootstrap_log.txt + export PORT=8888 + PORT=8888 + export COAPIFACE=2001:db8::1:5683 + COAPIFACE=2001:db8::1:5683 + export COAPSIFACE=2001:db8::1:5684 + COAPSIFACE=2001:db8::1:5684 + pid=5387 + trap 'kill 5387; exit' SIGHUP SIGTERM SIGINT + sleep 5 + java -jar leshan-bsserver-demo/target/leshan-bsserver-demo-1.0.0-SNAPSHOT-jar-with-dependencies.jar --webport 8888 Jul 10, 2017 3:16:43 AM org.eclipse.californium.core.network.config.NetworkConfig load INFO: loading properties from file /root/leshan/Californium.properties Jul 10, 2017 3:16:44 AM org.eclipse.californium.core.CoapServer start INFO: Starting server Jul 10, 2017 3:16:44 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at coap://0.0.0.0:5683 Jul 10, 2017 3:16:44 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Started endpoint at coap://0.0.0.0:5683 Jul 10, 2017 3:16:44 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Starting endpoint at coaps://0.0.0.0:5684 Jul 10, 2017 3:16:44 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] Jul 10, 2017 3:16:44 AM org.eclipse.californium.core.network.CoapEndpoint start INFO: Started endpoint at coaps://0.0.0.0:5684 + echo 'Inserting objects into the Bootstrap Server' + curl -X POST -H 'Accept: application/json' -d @data.json http://localhost:8888/api/bootstrap/0a18de70-0ce0-4570-bce9-7f5895db6c70