[Server][DEV] Dev server is returning wrong 'expireAt' date when requesting a call url

VERIFIED WORKSFORME

Status

Hello (Loop)
Server
VERIFIED WORKSFORME
3 years ago
3 years ago

People

(Reporter: borjasalguero, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Currently the server is returning a past date, so is automatically shown as 'Expired' in the UI. Probably is an error with the Timing in the DEV machine, but we need to double check.
(Reporter)

Comment 1

3 years ago
Hi Tarek,
This is the bug related with the 'expireAt' param when asking for a call url to the server. Could you take a look? Thanks!
Blocks: 998332
The date returned by the server is in seconds. I've just checked and it's not a date in the past. Please also check the time of your machine is correct.

I've updated the documentation to reflect that expiresAt is in seconds.

https://github.com/mozilla-services/docs/commit/67175c8c9315596e7c939d71d271e0a8bed424a7

Borja, does this solve the problem you are having?
Flags: needinfo?(borja.bugzilla)
(Reporter)

Comment 3

3 years ago
After today tests this seems to be working as expected, so closing as WORKSFORME. Thanks!
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(borja.bugzilla)
Resolution: --- → WORKSFORME
OK.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.