turnilo icon indicating copy to clipboard operation
turnilo copied to clipboard

Handling long timeouts in turnilo server.

Open adrianmroz opened this issue 6 years ago • 4 comments

JFYI after exceeding the timeout, I still see the error "502 Bad Gateway". Perhaps there should be a more informative message.

Originally posted by @Laboltus in https://github.com/allegro/turnilo/pull/269#issuecomment-461078047

adrianmroz avatar Feb 07 '19 10:02 adrianmroz

req.setTimeout has an optional callback, can we customize the error page there?

l2dy avatar Feb 07 '19 11:02 l2dy

Tried it, but deeper in the stack in plywood-druid-requester I got exception and callback didn't fire. Sadly, I don't have reasonable environment to reproduce it.

adrianmroz avatar Feb 07 '19 11:02 adrianmroz

The easiest way to reproduce timeouts or slow response is to use configurable proxy between Turnilo and Druid broker, e.g: https://github.com/h2non/toxy

mkuthan avatar Feb 15 '19 14:02 mkuthan

Is timeout parameter supposed to work in turnilo 1.16.0? I use this version and nothing I do helps. After 60 sec an error message is displayed, even if druid is still working with the query in the background.

yehonatanshac avatar Sep 04 '19 13:09 yehonatanshac