Skip to content

character/online is not updating online status on some occasions when downtime hits #1470

@esinoob

Description

@esinoob

Bug

After daily downtime, the character online endpoint sometimes returns online: true for characters whose last_login timestamp is before the most recent or even longer ago downtimes.
Instead of getting a 200 response it stays a 304 with unchanged data, trying it without ETag also gives the wrong data.
The character has not logged in since before downtime, yet the API reports them as online.
Happens on some characters, not all, and only sometimes but stays until next login.

Request

GET /latest/characters/{character_id}/online/?datasource=tranquility

Response

Status Code

304

Headers

Date: Wed, 01 Apr 2026 10:46:33 GMT                                                                                                                                                                  Expires: Wed, 01 Apr 2026 10:47:33 GMT                                                                                                                                                                 
Last-Modified: Wed, 01 Apr 2026 10:46:33 GMT                                                                                                                                                           
X-ESI-Request-ID: 1b160169-1efb-49f8-b2ce-c6355282f2c7                                                                                                                                                 
ETag: "7c1f798ca395a0328241a0c74222931fdf745b5896387271fcea41b4"                                                                                                                                       
X-Esi-Cache-Status: MISS                                                                                                                                                                               
X-Ratelimit-Group: char-location

Body

{                                                                                                                                                                                                      
      "last_login": "2026-04-01T10:45:37Z",                                                                                                                                                              
      "last_logout": "2026-04-01T10:16:09Z",                                                                                                                                                          
      "logins": 1189,
      "online": true                                                                                                                                                                                    }    

Expected

online should be false.
The character's last_login is 2026-04-01T10:45:37Z

200

Checklist

Check all boxes that apply to this issue:

  • Bug description is provided
  • Request path is provided
  • Response status code is provided
  • Response headers are provided
  • Response body is provided
  • Expected response is provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions