.MD

Copy the markdown below:

ActiveRecord::StatementInvalid

app/controllers/api/v1/gyms_controller.rb:155

Mysql2::Error: Server shutdown in progress

Backtrace

app/controllers/api/v1/gyms_controller.rb:155:in `ascent_scores'

Request

Name Api::V1::GymsController#ascent_scores
Method GET
URL https://api.oblyk.org/api/v1/gyms/6/ascent_scores.json?climbing_type=all&gender=all&age=all
Browser ChromeChrome 149

Parameters

{
  "id": "6",
  "age": "all",
  "action": "ascent_scores",
  "format": "json",
  "gender": "all",
  "controller": "api/v1/gyms",
  "climbing_type": "all"
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a114b23d5eece27d-MRS
Origin https://oblyk.org
Referer https://oblyk.org/
Version HTTP/1.0
Cdn-Loop cloudflare; loops=1
Priority u=1, i
Sec-Ch-Ua "Chromium";v="149", "Not)A;Brand";v="24"
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Cf-Ipcountry FR
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site same-site
Accept-Encoding gzip, br
Accept-Language fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
X-Forwarded-For 217.16.14.139, 172.70.108.219
Cf-Connecting-Ip 217.16.14.139
Sec-Ch-Ua-Mobile ?0
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]
Sec-Ch-Ua-Platform "macOS"

Environment

os Linux 5.10.0-14-cloud-amd64
cwd /var/www/oblyk/api/releases/20260616071013
pid 2132851
host oblyk-api
ruby ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
user oblyk
rails 6.0.3.6
revision e48468c2220f49700ecd2a9dc76dbb018740404e

Server

Load CPU RAM Swap Disk
oblyk-api Load avg 2% CPU 2% RAM 56% Swap <1% Disk 44%

Deployments 1

Revert "Mise à jour vers ruby 2.7.8, correction des dépréciations, mise à jour de gem" clucien 15 Jun 07:21