-
-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Description
BEFORE OPENING AN ISSUE, MAKE SURE YOU READ THIS: #1382
OS & Hardware
Linux Mint 22.2
Version
1.2.0
Describe the bug
When I click on "x countries, y cities" in stats page it reloads the full page. Only seems to happen on desktop
To Reproduce
Steps to reproduce the behavior:
- Go to 'Stats'
- Click on 'x countries, y cities'
- Page reloads
Expected behavior
That I can see what' written in the popup
Screenshots
2026-02-18.09-16-44.mp4
Logs
dawarich_app:
dawarich_app | ↳ app/controllers/api_controller.rb:36:in 'ApiController#current_api_user'
dawarich_app | {"method":"GET","path":"/api/v1/health","format":"*/*","controller":"Api::V1::HealthController","action":"index","status":200,"allocations":1209,"duration":61.33,"view":0.24,"db":51.3}
dawarich_app | User Load (2.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]
dawarich_app | ↳ app/controllers/application_controller.rb:13:in 'ApplicationController#unread_notifications'
dawarich_app | Stat Load (2.2ms) SELECT "stats"."id", "stats"."year", "stats"."month", "stats"."distance", "stats"."updated_at", "stats"."user_id", "stats"."toponyms" FROM "stats" WHERE "stats"."user_id" = $1 ORDER BY "stats"."year" DESC, "stats"."updated_at" DESC [["user_id", 1]]
dawarich_app | ↳ app/controllers/stats_controller.rb:89:in 'Enumerable#group_by'
dawarich_app | Rendering layout layouts/application.html.erb
dawarich_app | Rendering stats/index.html.erb within layouts/application
dawarich_app | Stat Maximum (1.0ms) SELECT MAX("stats"."updated_at") FROM "stats" WHERE "stats"."user_id" = $1 [["user_id", 1]]
dawarich_app | ↳ app/views/stats/index.html.erb:14
dawarich_app | Family::Membership Load (0.9ms) SELECT "family_memberships".* FROM "family_memberships" WHERE "family_memberships"."user_id" = $1 LIMIT $2 [["user_id", 1], ["LIMIT", 1]]
dawarich_app | ↳ app/models/concerns/user_family.rb:17:in 'UserFamily#in_family?'
dawarich_app | Notification Load (1.2ms) SELECT "notifications".* FROM "notifications" WHERE "notifications"."user_id" = $1 AND "notifications"."read_at" IS NULL ORDER BY "notifications"."created_at" DESC [["user_id", 1]]
dawarich_app | ↳ app/views/shared/_navbar.html.erb:130
dawarich_app | {"method":"GET","path":"/stats","format":"html","controller":"StatsController","action":"index","status":200,"allocations":108063,"duration":625.81,"view":593.49,"db":7.06}
dawarich_app | User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."api_key" IS NULL LIMIT $1 [["LIMIT", 1]]
dawarich_app | ↳ app/controllers/api_controller.rb:36:in 'ApiController#current_api_user'
dawarich_app | {"method":"GET","path":"/api/v1/health","format":"*/*","controller":"Api::V1::HealthController","action":"index","status":200,"allocations":1209,"duration":12.18,"view":0.26,"db":0.91}
Browser console:
Uncaught Error: rails-ujs has already been loaded!
start https://dawarich.myDomain.xyz/assets/rails-ujs-7910fbc642fb718c5e4cfb389a32582be19f6d5dc242d30a330fd0552b0030a8.js:565
<anonymous> https://dawarich.myDomain.xyz/assets/application-b5a7662b4bd877f1de1fe5769d2b98adfa15a8095b784d392ae1154df6f3b865.js:10
rails-ujs-7910fbc642fb718c5e4cfb389a32582be19f6d5dc242d30a330fd0552b0030a8.js:565:13
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
GET
wss://dawarich.myDomain.xyz/cable
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Firefox can’t establish a connection to the server at wss://dawarich.myDomain.xyz/cable. actioncable.esm-b66d83871f0a453b10ba8b4c147c2bafa655caaa5d13fa34e9bf361c1c2aedb7.js:164:24
Additional context
I think it happens when you switch between "x countries, y cities" of different years. It then starts to reload. When I click on 'stats' in the top bar and then try to open "x countries, y cities" again it works and doesn't reload but happens again when I want to view another year
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels