ConnectyCube / connectycube-flutter-samples

Code samples for Flutter, based on ConnectyCube platform
https://developers.connectycube.com/flutter/
Apache License 2.0
85 stars 91 forks source link

connectycube session returning invalid timestamp #257

Open krunaldarji opened 1 year ago

krunaldarji commented 1 year ago

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 ()

TatankaConCube commented 1 year ago

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).

richanshah commented 1 year ago

@TatankaConCube , how can i resolve this?

richanshah commented 1 year ago

got u

arjunkn commented 11 months ago

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.