[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [hono-dev] Problems with IOT Hono Tutorial
|
Hi Xian,
the problem is that the information I gave i the slides for the tutorial
regarding how to specify the Hono server address on the command line was wrong :-
(
Instead, the host name needs to be specified like follows:
$> mvn spring-boot:run -Drun.arguments=--hono.client.host=192.168.99.100
You can also specify multiple command line args like this:
$> mvn spring-boot:run -Drun.arguments=--hono.client.host=192.168.99.100,\
$> --hono.client.port=5672
Sorry for the inconvenience. I have also updated the slide deck [1] accordingly
...
[1] https://docs.google.com/presentation/d/1qPI034CQWUZKTeynh5oS3xUTeP19z0QcWgH9w
cngMn4/edit?usp=sharing
--
Mit freundlichen Grüßen / Best regards
Kai Hudalla
Chief Software Architect
Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com
Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn
On Wed, 2016-12-07 at 14:17 +0000, Zhicong Xian wrote:
> Hello everyone,
>
> previously i attended the lwm2m hands-on workshop in eclipse conference 2016,
>
> now i do the tutorial 1 for hono setup: "Use Hono as Leshan's SecurityRegistry"
>
>
> I started the lwm2m using the following command:
> mvn spring-boot:run -Dhono.client.host=192.168.99.100 (Docker machine ip)
>
> After I added the device security info on the website: " http://localhost:8090
> /#/security", there is an error in the docker shell: ERROR
> o.e.h.a.l.s.HonoBasedSecurityRegistry - could not get RegistrationClient
> io.vertx.core.impl.NoStackTraceThrowable: client is not connected to Hono (yet)
>
> And then later I tried
>
> curl -i -X POST -d ep=mydevice \
> $> http://192.168.99.100:8080/registration/DEFAULT_TENANT/find
>
> I have another error:
>
> http1.1 /404 not found
> Content Length = 0
>
> Could someone help me to solve this?
>
> Thank you very much
> _______________________________________________
> hono-dev mailing list
> hono-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/hono-dev