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

[CA] [TCP] /oic/ping resource is responding with 5.00(internal server error) when it receives a GET/POST/PUT request with baseline query

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Undecided
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: IoTivity 1.2.0
    • Component/s: SDK
    • Labels:
      None
    • Found in Version/s:
      1.2.0-RC3
    • Fixed in Version/s:
      IoTivity 1.2.0
    • Operating System:
      Ubuntu
    • Issue Severity:
      Major
    • Reproducibility:
      Always (100%)

      Description

      [Procedure]
      1. Build IoTivity with WITH_TCP=1 option
      2. Start a resource
      3. Start a client.
      4. Discover the resources
      5. Send a confirmable GET request to the "/oic/ping" resource without any query
      6. Send a confirmable POST request to the "/oic/ping" resource without any query
      7. Send a confirmable GET request to the "/oic/ping" resource using baseline query(if=oic.if.baseline)
      8. Send a confirmable POST request to the "/oic/ping" resource using baseline query(if=oic.if.baseline)
      9. Send a confirmable PUT request to the "/oic/ping" resource using baseline query(if=oic.if.baseline)

      [Expected]
      5. /oic/ping resource should respond with success response(2.05) (ACK message)
      6. If /oic/ping resource supports POST, it should respond with success response(2.04), else with error response(4.xx) (ACK message)
      7. /oic/ping resource should respond with success response(2.05) (ACK message)
      8. If /oic/ping resource supports POST, it should respond with success response(2.04), else with error response(4.xx) (ACK message)
      9. If /oic/ping resource supports PUT, it should respond with success response(2.04), else with error response(4.xx) (ACK message)

      [Actual]
      5. /oic/ping resource is responding with 2.05 (CON message)
      6. /oic/ping resource does not respond
      7. /oic/ping resource is responding with 5.00(internal server error) (CON Message)
      8. /oic/ping resource is responding with 5.00(internal server error) (CON Message)
      9. /oic/ping resource is responding with 5.00(internal server error) (CON Message)

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              johyuna Hyuna Jo
              Reporter:
              i.mushfiq Mushfiqul Islam
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: