Web Console: Incorrect `QuestDB is not reachable` error on query errors
Opened this issue · 1 comments
insmac commented
Some HTTP errors (i.e. 431
- Request header fields too large
) are not supported correctly in the UI and fall under the "QuestDB is not reachable" umbrella, thus confusing user as to what's happening.
Steps to reproduce:
- To see how a proper
QuestDB is not reachable
error should look in the UI, stop QuestDB while Web Console is opened, and try refreshing the table list. - Try a very large query, which exceeds the request header limit. A sample query is attached below:
query_too_long (1).txt - Execute the above query and observe the error:
Desired workaround:
- Only display "offline" errors only when a certain type of error is returned (i.e.
50x
). - Display a request error in the UI.
vicheanath commented