connectycube-flutter-samples icon indicating copy to clipboard operation
connectycube-flutter-samples copied to clipboard

connectycube session returning invalid timestamp

Open krunaldarji opened this issue 2 years ago • 4 comments
trafficstars

Specify the sample to which the issue belongs (use [x]): [] P2P Call sample

Platform (use [x]) [] Web

Device info Manufacture: Apple Model: OS version: 12.6

Describe the bug:

POST https://api.connectycube.com/session

main.dart.js:34271 HEADERS main.dart.js:34271 {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 2.4.1, CB-Token: }

main.dart.js:34271 BODY main.dart.js:34271 {"application_id":"6549","auth_key":"8S6TDXXXXX","nonce":"1353XXXX","timestamp":"1683386106","signature":"282fe13e5504b1aXXXXXX"}

to load resource: the server responded with a status of 422 ()

krunaldarji avatar May 06 '23 15:05 krunaldarji

sorry for late answer((( the issue can happen if the time on the device is different than on our server. it can happen if the time on the device is set manually not Automatic (by the Internet).

TatankaConCube avatar May 17 '23 16:05 TatankaConCube

@TatankaConCube , how can i resolve this?

richanshah avatar Sep 12 '23 07:09 richanshah

got u

richanshah avatar Sep 12 '23 07:09 richanshah

I tried clone the p2p call and getting invalid timestamp. My device time is set automatic still getting the error. Want to check it before start implement.

arjunkn avatar Oct 12 '23 19:10 arjunkn

the issue with timestamp is related to device time difference with server. no activity for a long time, closing.

CubeRomanMagellan avatar Oct 28 '24 16:10 CubeRomanMagellan