.MD

Copy the markdown below:

ActiveRecord::StatementInvalid

app/models/climber_proximity.rb:107

Mysql2::Error: Server shutdown in progress

Backtrace

app/models/climber_proximity.rb:107:in `results'
app/controllers/api/v1/current_users_controller.rb:404:in `suggested_friends'

Request

Name Api::V1::CurrentUsersController#suggested_friends
Method GET
URL https://api.oblyk.org/api/v1/current_users/suggested_friends.json?page=1&per_page=25
Browser SafariSafari 18

Parameters

{
  "page": "1",
  "action": "suggested_friends",
  "format": "json",
  "per_page": "25",
  "controller": "api/v1/current_users"
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a1148b52fc6ccfa3-MRS
Origin https://oblyk.org
Referer https://oblyk.org/
Version HTTP/1.0
Cdn-Loop cloudflare; loops=1
Priority u=3, i
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (iPhone; CPU iPhone OS 18_7_9 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.7.9 Mobile/15E148 Safari/604.1 PWAShell
Cf-Ipcountry FR
Authorization [FILTERED]
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site same-site
Accept-Encoding gzip, br
Accept-Language en-GB,en;q=0.9
X-Forwarded-For 2a04:cec0:1077:4135:d835:af5f:b8f5:8756, 172.70.108.218
Cf-Connecting-Ip 2a04:cec0:1077:4135:d835:af5f:b8f5:8756
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]

Environment

os Linux 5.10.0-14-cloud-amd64
cwd /var/www/oblyk/api/releases/20260616071013
pid 2132827
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