[Rails app] Activerecord connection is not established

Hello my app has suddenly stopped working with a fatal error see below,

2024-06-17T17:36:05Z app[6e825411f74768] sin [info]I, [2024-06-17T17:36:05.086035 #329]  INFO -- : [ea4479f1-b2ff-41d7-b933-56c38a553a8c] Processing by AdsController#show as HTML
2024-06-17T17:36:05Z app[6e825411f74768] sin [info]I, [2024-06-17T17:36:05.086101 #329]  INFO -- : [ea4479f1-b2ff-41d7-b933-56c38a553a8c]   Parameters: {"id"=>"8BPTQ7g"}
2024-06-17T17:36:05Z app[6e825411f74768] sin [info]I, [2024-06-17T17:36:05.089647 #329]  INFO -- : [ea4479f1-b2ff-41d7-b933-56c38a553a8c] Completed 500 Internal Server Error in 3ms (Allocations: 1529)
2024-06-17T17:36:05Z app[6e825411f74768] sin [info]F, [2024-06-17T17:36:05.090203 #329] FATAL -- : [ea4479f1-b2ff-41d7-b933-56c38a553a8c]
2024-06-17T17:36:05Z app[6e825411f74768] sin [info][ea4479f1-b2ff-41d7-b933-56c38a553a8c] ActiveRecord::ConnectionNotEstablished (server closed the connection unexpectedly
2024-06-17T17:36:05Z app[6e825411f74768] sin [info]	This probably means the server terminated abnormally
2024-06-17T17:36:05Z app[6e825411f74768] sin [info]	before or while processing the request.
2024-06-17T17:36:05Z app[6e825411f74768] sin [info]):
2024-06-17T17:36:05Z app[6e825411f74768] sin [info][ea4479f1-b2ff-41d7-b933-56c38a553a8c]
2024-06-17T17:36:05Z app[6e825411f74768] sin [info][ea4479f1-b2ff-41d7-b933-56c38a553a8c] app/controllers/ads_controller.rb:440:in `set_ad'

I am unable to find any further information as well. I have check the volumes and memory which seems to be within limits.

Looking for your help.
Thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.