datalust / seq-tickets

Issues, design discussions and feature roadmap for the Seq log server
https://datalust.co/seq
96 stars 5 forks source link

Cannot read properties of undefined (reading 'ElapsedMilliseconds') #2229

Closed c0shea closed 2 months ago

c0shea commented 2 months ago

Describe the bug Seq returns the error "Cannot read properties of undefined (reading 'ElapsedMilliseconds')" for a long-running query.

To Reproduce Steps to reproduce the behavior:

  1. Run a long-running query, such as select RequestBody from stream limit 100000000000 over a 3 day span. It's expected to return 40,000 or so rows of JSON payloads.
  2. After a minute or so, it returns the error message

Expected behavior A clearer message that my user timeout period has elapsed. My profile is set to 2,000 seconds and that wasn't respected as the error returned in less than two minutes instead of 33 minutes.

Screenshots image image

Environment (please complete the following information):

liammclennan commented 2 months ago

Hi @c0shea

When you get this error is there a stack trace (or any more detail) in the browser's developer console?

c0shea commented 2 months ago

Yes, it writes this to the console:

TypeError: Cannot read properties of undefined (reading 'ElapsedMilliseconds')
    at api.data.inSignal.then.cancelLastRequest (main-LSJBemFd.js:18:196948)
    at angular-DvxoCOxF.js:141:454
    at m.$digest (angular-DvxoCOxF.js:153:67)
    at m.$apply (angular-DvxoCOxF.js:156:484)
    at k (angular-DvxoCOxF.js:107:445)
    at v (angular-DvxoCOxF.js:113:40)
    at y.onload (angular-DvxoCOxF.js:113:464) 'Possibly unhandled rejection: {}'

image

The main-LSJBemFd.js file pointed to this line:

image

liammclennan commented 2 months ago

That's brilliant. Thank you. We'll get this fixed.

liammclennan commented 2 months ago

this is fixed for the next release. Thanks for the report @c0shea !