Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connectycube session returning invalid timestamp #257

Open
krunaldarji opened this issue May 6, 2023 · 4 comments
Open

connectycube session returning invalid timestamp #257

krunaldarji opened this issue May 6, 2023 · 4 comments

Comments

@krunaldarji
Copy link

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
Copy link
Contributor

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
Copy link

@TatankaConCube , how can i resolve this?

@richanshah
Copy link

got u

@arjunkn
Copy link

arjunkn commented Oct 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants