posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Bug Report: Funnel query with many steps throws a timeout

Open skoob13 opened this issue 1 year ago • 2 comments

Bug Description

Bug description

Funnel query with 12+ steps sometimes never completes for users because the SQL query is terminated.

How to reproduce

  1. Create a funnel query with many steps (e.g. 14)
  2. Query is terminated after a timeout

Response from the query status endpoint

{
    "type": "invalid_request",
    "code": "not_found",
    "detail": "Query c36f4d80-6404-44c1-8b08-a303f97cf9bf not found for team",
    "attr": null
}

Exception

Code: 210. DB::NetException: Connection reset by peer, while reading from socket (ip:50148). (NETWORK_ERROR) (version 23.12.5.81 (official build))

Additional context

Debug info

No response

skoob13 avatar Jul 08 '24 12:07 skoob13

+1 https://posthoghelp.zendesk.com/agent/tickets/15970 +1 https://posthoghelp.zendesk.com/agent/tickets/16148

webjunkie avatar Aug 06 '24 08:08 webjunkie

+1 https://posthoghelp.zendesk.com/agent/tickets/17333

slshults avatar Aug 26 '24 21:08 slshults

+1 https://posthoghelp.zendesk.com/agent/tickets/17350

slshults avatar Aug 28 '24 23:08 slshults

+1 https://posthoghelp.zendesk.com/agent/tickets/17388

slshults avatar Sep 02 '24 22:09 slshults

+1 https://posthoghelp.zendesk.com/agent/tickets/17444

abigailbramble avatar Sep 03 '24 09:09 abigailbramble

+1 https://posthoghelp.zendesk.com/agent/tickets/18226

abigailbramble avatar Sep 18 '24 09:09 abigailbramble

+1 https://posthoghelp.zendesk.com/agent/tickets/18342

slshults avatar Sep 19 '24 23:09 slshults

+1 https://posthoghelp.zendesk.com/agent/tickets/18479

darkopia avatar Sep 23 '24 16:09 darkopia

+1 https://posthoghelp.zendesk.com/agent/tickets/19789

abigailbramble avatar Oct 25 '24 10:10 abigailbramble