Hi all, I'm trying to run v1.3.0 in TLS mode but it doesn't seem to work properly. Please let me know to overcome it If anyone saw the similar problem?
Thank you for any hint. Steve *1. Issue summary* - v 1.3.0 la test source does not properly run under TLS mode. - aircon_controller example application does not find published resource. *2. Reproduction method* *1) Environment * - source version : iotivity 1.3.0 - Linux Mint 18.1 Serena (kernel 4.11.4) - O racle jdk 1.8.0_151 *2) Build & run server (in TLS mode)* mvn install (build all 5 servers) > > > java -jar CloudResourceDirectory-0.0.1-SNAPSHOT.jar 5684 127.0.0.1 27017 1 > java -jar CloudAccount-0.0.1-SNAPSHOT.jar 5685 127.0.0.1 27017 1 > java -jar CloudMessageQueue-0.0.1-SNAPSHOT.jar 5686 127.0.0.1 2181 > 127.0.0.1 9092 1 > java -jar oudInterface-0.0.1-SNAPSHOT.jar 5683 127.0.0.1 5684 127.0.0.1 > 5685 127.0.0.1 5686 8080 8000 1 *3) Build & run client (in TLS mode)* scons cloud/samples/client *SECURED=1* WITH_TCP=yes RELEASE=yes > TARGET_TRANSPORT=IP WITH_CLOUD=yes WITH_MQ=PUB,SUB get auth code from here. https://github.com/login?return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id% 3Dea9c18f540323b0213d0%26redirect_uri%3Dhttp%253A%252F%252Fwww.example.com% 252Foauth_callback%252F > ./aircon_controlee 127.0.0.1:5683 github 63987ad18106a87c6525 get another auth code from above URL ./aircon_controller 127.0.0.1:5683 github 63987ad18106a87c6525 *3. Result* *1) aircon_controller fails to get resource* . . . skipped . . . > Aircondition resource found: /oic/route/61646d69-6e44-6576- > 6963-234231423444/oic/d > RT: oic.wk.d > RT: oic.d.airconditioner > Observe registration action is successful > OBSERVE RESULT: > prslist: [OC::OCRepresentation ] > di: 61646d69-6e44-6576-6963-234231423444 > state: on > Resource get: 46 > URI: > Constructing binary switch > 0 > Binary switch not found > 1 > Binary switch not found * 2) CloudInterface server caused an * *UnauthorizedException**. * 2017-11-24 10:17:52:003 [V] 00000006-251cb2320e95f1cd-b28aaef3 > 0000000000000000 GET /aircon/0/?if=oic.if.ll > 2017-11-24 10:17:52:010 [V] 00000006-251cb2320e95f1cd-b28aaef3 > 0000000000000000 4.01 Unauthorized > 2017-11-24 10:17:52:015 [V] 00000007-8d29ceeb3e962bf1-62292545 > 5bdc5816881d31a4 4.01 Unauthorized ---- *Steve Kang | **General Manager* Service Business Division / Consumer IoT Team *ntels Co., Ltd.* *A* 15F, Geumha Bldg., 41-2, Cheongdam-2dong, Gangnam-Gu, Seoul, 135766, South Korea *T* +82.2.3218.1200 | *F* +82.2.3218.1299 | *M* +82.10.8882.4529 | *E* [email protected] *W* http://www.ntels.com ---- 상기 메일은 지정된 수신인만을 위한 것이며, 부정경쟁방지 및 영업비밀보호에 관한 법률을 포함하여 관련 법령에 따라 보호의 대상이 되는 영업비밀, 산업기술 등을 포함하고 있을 수 있습니다. 본 문서에 포함된 정보의 전부 또는 일부를 무단으로 제3자에게 공개, 배포, 복사 또는 사용하는 것은 엄격히 금지됩니다. 본 메일이 잘못 전송된 경우, 발신인에게 알려주시고 본 메일을 즉시 삭제하여 주시기 바랍니다.
_______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
