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