Skip to content

Handle request timeout more gracefully #22

Description

@slominskir

Currently if an async background data request (AJAX) timeout occurs (takes longer than 30 seconds) WAVE will not notify the user of the problem and instead displays a blank screen. The developer console will show the request was abandoned just after 30 seconds with no payload returned to the app data callback.

For example:

https://epicsweb.jlab.org/wave/?start=2022-01-01T07%3A50%3A00&end=2023-04-01T07%3A55%3A00&myaDeployment=history&myaLimit=100000&windowMinutes=30&title=&fullscreen=false&layoutMode=1&viewerMode=1&pv=R2XXITOT&R2XXITOTlabel=R2XXITOT&R2XXITOTcolor=%23a6cee3&R2XXITOTyAxisLabel=&R2XXITOTyAxisMin=&R2XXITOTyAxisMax=&R2XXITOTyAxisLog=&R2XXITOTscaler=

Results in:

Screenshot

and:

Screenshot2

Metadata

Metadata

Assignees

No one assigned

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions