morph icon indicating copy to clipboard operation
morph copied to clipboard

Exception thrown when trying to create connection logs

Open henare opened this issue 9 years ago • 1 comments

[Morph/production] ActiveRecord::StatementInvalid: Mysql2::Error: Deadlock found when trying to get lock; try restarting transaction: UPDATE `runs` SET `connection_logs_count` = COALESCE(`connection_logs_count`, 0) + 1 WHERE `runs`.`id` = 506225

Backtrace

line 14 of [PROJECT_ROOT]/app/controllers/connection_logs_controller.rb: create

View full backtrace and more info at honeybadger.io

henare avatar Aug 17 '16 00:08 henare

This has recently been starting to happen hundreds and sometimes thousands of times an hour so I'm pretty sure it's related to a recent change. It just affects the backend so users aren't directly impacted but AFAIK it means mitmproxy can't log connections.

Assigning to @mlandauer.

henare avatar Aug 17 '16 00:08 henare