Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
iotivity-classic
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,289
    • Issues 3,289
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • IoTivity
  • iotivity-classic
  • Issues
  • #69

Closed
Open
Opened Mar 31, 2016 by Rami Alshafi@ramiOwner

AccountServer generate invalid session key & mongo db stroe session with null userId

Cloud Sample Client response code with 255 OC_STACK_ERROR . It's an issue caused by Account Server generate invalid session key , and monog db will stroe null userId.


execute commond begin


./cloud_client 127.0.0.1:5683 oHMoXWu6oBju3CEu s

Host coap+tcp://127.0.0.1:5683

OCCloudLogin return 0

Waiting response..

Login/out response received code: 255


execute commond end



execute commond begin


./cloud_client 127.0.0.1:5683 oHMoXWu6oBju3CEu c

Host coap+tcp://127.0.0.1:5683

OCCloudLogin return 0

Waiting response..

Login/out response received code: 255


execute commond end



Mongo db check begin

db.USER_SESSION.find()

{ "_id" : ObjectId("56fbb0521a0b9f374aecbfdf"), "userId" : "admin", "sessionCode" : "00000000" }

{ "_id" : ObjectId("56fbb0521a0b9f374aecbfe0"), "userId" : null, "sessionCode" : "oHMoXWu6oBju3CEu" }

Mongo db check end


JIRA migration meta data

  • JIRA Issue ID: IOT-1056
  • Reporter: xiaoyanit
  • Assignee: glen.kim
  • Creator: xiaoyanit
  • Created at: 2016-03-30T18:56:03.000-0700
  • Found in Version: 1.1.0-RC2
  • Fix in Version: 1.1-RC3
  • Issue Severity: Critical
  • Reproducibility: Always (100%)
  • Operating System: Ubuntu
  • Hardware/ OEM Platform: None
  • External URL: None
  • Bugzilla ID: None
  • Product: None
  • Status: Closed
  • Components: Build System
  • Priority: Undecided
  • Due Date: None
  • Issue Type: Bug
    END of JIRA migration meta data

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: iotivity/iotivity-classic#69