Skip to content

ActiveRecord::QueryCanceled: PG::QueryCanceled: ERROR: canceling statement due to statement timeout

https://sentry.gitlab.net/gitlab/gitlabcom/issues/2573670/?referrer=gitlab_plugin

PG::QueryCanceled: ERROR:  canceling statement due to statement timeout

  active_record/connection_adapters/postgresql_adapter.rb:675:in `exec_params'
    @connection.exec_params(sql, type_casted_binds)
  graphql/pagination/connection.rb:129:in `edge_nodes'
    nodes
  graphql/types/relay/base_connection.rb:107:in `nodes'
    @object.edge_nodes
  graphql/schema/field.rb:692:in `public_send'
    obj.public_send(@resolver_method)
  graphql/schema/field.rb:692:in `block in public_send_field'
    obj.public_send(@resolver_method)
...
(245 additional frame(s) were not displayed)

ActiveRecord::QueryCanceled: PG::QueryCanceled: ERROR:  canceling statement due to statement timeout

More information

Is it known that the Vulnerability Report times out when filtering for Severity or Scanner? It’s timing out for the gitlab project https://gitlab.com/gitlab-org/gitlab/-/security/vulnerability_report/?severity=all&reportType=DEPENDENCY_SCANNING

Yes, when reloading the page sometimes the list shows and sometimes it says Error fetching the vulnerability list. Please check your network connection and try again.

Edited by Thiago Figueiró