you will need to bring both client and server applications into a "ready for 
normal operation" state and it is pretty involved. The maintainers of the 
sample applications should take care of it or an boarding tool needs to be 
developed to successfully bring those apps from the reset state to RFNOP.

in the mean  time, I would recommend using the sample application in this 
directory as a baseline to reference.

<iotivity_root_dir>/resource/csdk/stack/sample/linux/secure

________________________________
From: iotivity-dev-bounces at lists.iotivity.org <iotivity-dev-bounces at 
lists.iotivity.org> on behalf of Fabrizio Fiorese <[email protected]>
Sent: Wednesday, June 28, 2017 6:58:25 AM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] onGET Response error: 46

Dear all,

I built my application from the samples avaiable in resource/examples and all 
is working fine with IoTivity built with SECURED=0.
If I try enabling security with SECURED=1 I get "onGET Response error: 46" when 
sending request to server.
Same behavior with the samples located in resource/examples and IUT Simulator.
I researched a bit and it seems that error 46 is due to unauthorized request.
How do I fix this?


Best regards.

Fabrizio Fiorese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170705/d6d8d818/attachment.html>

Reply via email to