juggernaut-jquery icon indicating copy to clipboard operation
juggernaut-jquery copied to clipboard

[Airbrake] [Production] PG::ReadOnlySqlTransaction: ERROR: cannot execute UPDATE in a read-only transaction : UPDATE "users" SET "last_sign_in_at" = '2016-05-10 04:27:47.946471', "current_sign_in_at" = '2016-05-10 07:21:50.425992', "sign_in_count" = 2...

Open benarent opened this issue 9 years ago • 0 comments

Airbrake error: #8008 Airbrake project: 1112

Error type: ActiveRecord::StatementInvalid Error message: PG::ReadOnlySqlTransaction: ERROR: cannot execute UPDATE in a read-only transaction : UPDATE "users" SET "last_sign_in_at" = '2016-05-10 04:27:47.946471', "current_sign_in_at" = '2016-05-10 07:21:50.425992', "sign_in_count" = 21347, "updated_at" = '2016-05-10 07:21:50.427043' WHERE "users"."id" = 3371 Where: pivotal#pivotal_stories Occurred at: Jun 03, 2016 10:20:32 UTC First seen at: Jun 03, 2016 10:20:32 UTC Occurrences: 0 (0 since last deploy on Mar 30, 2016 19:37:42 UTC)

URL: https://cookieshq.airbrake.io/pivotal_stories?api_key=4343b63012e65a7fe11f944c89618211&project_id=98159&auth_token=33b25d819459154b4675a8fafc6fa352e8e00f27 File: [GEM_ROOT]/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb

Backtrace:

[GEM_ROOT]/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in async_exec
[GEM_ROOT]/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in block in exec_no_cache
[GEM_ROOT]/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract_adapter.rb:472:in block in log
[GEM_ROOT]/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in instrument
...
Caused by PG::ReadOnlySqlTransaction: ERROR:  cannot execute UPDATE in a read-only transaction

benarent avatar Jun 03 '16 10:06 benarent