Skip to content

500 error when deleting group web hook - ActiveRecord::StatementInvalid: PG::QueryCanceled: ERROR: canceling statement due to statement timeout

https://sentry.gitlab.net/gitlab/gitlabcom/issues/785990/

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

  /opt/gitlab/embedded/service/gitlab-rails/config/initializers/peek.rb:18:in `async_exec_params'
    super(*args)
  /opt/gitlab/embedded/service/gitlab-rails/config/initializers/peek.rb:18:in `exec_params'
    super(*args)
  active_record/connection_adapters/postgresql_adapter.rb:624:in `block (2 levels) in exec_no_cache'
    @connection.exec_params(sql, type_casted_binds)
  active_support/dependencies/interlock.rb:46:in `block in permit_concurrent_loads'
    yield
  active_support/concurrency/share_lock.rb:185:in `yield_shares'
    yield
...
(176 additional frame(s) were not displayed)

ActiveRecord::StatementInvalid: PG::QueryCanceled: ERROR:  canceling statement due to statement timeout
: SELECT "web_hook_logs".* FROM "web_hook_logs" WHERE "web_hook_logs"."web_hook_id" = 384112

ActiveRecord::StatementInvalid: PG::QueryCanceled: ERROR:  canceling statement due to statement timeout
: SELECT "web_hook_logs".* FROM "web_hook_logs" WHERE "web_hook_logs"."web_hook_id" = 384112