Uploaded image for project: 'IoTivity'
  1. IoTivity
  2. IOT-2443

Simpleserver simpleclient fail with OC_STACK_UNAUTHORIZED_REQ

    XMLWordPrintable

    Details

    • Found in Version/s:
      1.3-rel
    • Fixed in Version/s:
      1.3.1-RC5
    • Issue Severity:
      Normal
    • Reproducibility:
      Always (100%)
    • Bugzilla ID:
      None

      Description

      The simpleserver simpleclient samples do not run when built with security.

       

      Do default build:

      scons

       

      run samples:

      in one window run:

      cd out/linux/x86_64/release/resource/examples
      
      
      export LD_LIBRARY_PATH=~/iotivity/out/linux/x86_64/release/
      
      ./simpleserver

      in another window run

      
      cd out/linux/x86_64/release/resource/examples
      
      
      export LD_LIBRARY_PATH=~/iotivity/out/linux/x86_64/release/
      
      ./simpleclient

      Expected output:

      simpleclient should work with simpleserver

      Actual output:

      ...
      In foundResource
      Found resource 32323232-3232-3232-3232-323232323232/introspection again!
      Found another resource, ignoring
      Found resource 32323232-3232-3232-3232-323232323232/oic/sec/roles again!
      Found another resource, ignoring
      Found resource 32323232-3232-3232-3232-323232323232/oic/sec/amacl again!
      Found another resource, ignoring
      Found resource 32323232-3232-3232-3232-323232323232/oic/sec/csr again!
      Found another resource, ignoring
      Found resource 32323232-3232-3232-3232-323232323232/oic/sec/acl again!
      Found another resource, ignoring
      Found resource 32323232-3232-3232-3232-323232323232/oic/p again!
      Found another resource, ignoring
      Found resource 32323232-3232-3232-3232-323232323232/oic/sec/crl again!
      Found another resource, ignoring
      onGET Response error: 46
      

      simpleclient.log

       

        Attachments

          Issue Links

          # Subject Branch Project Status CR V

            Activity

              People

              • Assignee:
                nathanheldtsheller Nathan Heldt-Sheller
                Reporter:
                georgen George Nash
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: