kitsu icon indicating copy to clipboard operation
kitsu copied to clipboard

Join Review Button does nothing.

Open ZanQdo opened this issue 3 months ago • 13 comments

Context

Studio name: Kitsu version: 0.20.87 Production type: Short

Describe the bug

The Join Review Room button does nothing.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Chrome
  • Version: 138.0.7204.168 (Official Build) (64-bit)

ZanQdo avatar Sep 11 '25 23:09 ZanQdo

We cannot reproduce.

Please check and share the result of your status route: https://zou.cg-wire.com/troubleshooting/#status-route

Then open the web developer console in your browser (Cmd + Option + C on Mac, or Ctrl + Maj + J on Windows), reload the page, and retry the action.

NicoPennec avatar Sep 12 '25 07:09 NicoPennec

Thank you. Result of status route:

{ "name": "Zou", "version": "0.20.72", "database-up": true, "key-value-store-up": true, "event-stream-up": true, "job-queue-up": false, "indexer-up": true }

I didn't see anything printing in the console

ZanQdo avatar Sep 12 '25 07:09 ZanQdo

I can reproduce only with an invalid Events configuration. You Kitsu is probably not connected to your Zou through the WebSocket protocol See https://zou.cg-wire.com/events/

Then open the web developer console in your browser, go to the "Network" panel, and reload the page to debug your config.

NicoPennec avatar Sep 15 '25 19:09 NicoPennec

Hi, I have gone thru the instructions:

  1. I got /opt/zou/event_handlers with permissions for user zou:zou
  2. My /opt/zou/event_handlers/kitsu_handler.py looks like this:
from flask import current_app

def handle_event(data):
    current_app.logger.info("Event occured!")
  1. My /opt/zou/event_handlers/__init__.py looks like this:
from . import kitsu_handler

event_map = {
	"task:start": kitsu_handler
}
  1. Reloaded all services
  2. My browser network message looks like this when I click on the Review Room message.
42/events,["preview-room:join",…]
0
: 
"preview-room:join"
1
: 
{user_id: "bea6f6f8-65e4-4683-80cc-eb7671dc067a", playlist_id: "5d5337b8-e101-430c-82e1-2caf34b37493",…}
comparing
: 
{enable: false}
current_entity_id
: 
"5d5337b8-e101-430c-82e1-2caf34b37493"
current_entity_index
: 
0
current_frame
: 
1
current_preview_file_id
: 
"b6a9202b-a777-4d01-87d7-30b32d4766b1"
current_preview_file_index
: 
0
is_playing
: 
false
is_repeating
: 
false
playlist_id
: 
"5d5337b8-e101-430c-82e1-2caf34b37493"
speed
: 
3
user_id
: 
"bea6f6f8-65e4-4683-80cc-eb7671dc067a"
  1. Nothing happens in the UI, also I have tried 2 sessions (2 users) at the same time. Nothing happens, nothing syncs.

ZanQdo avatar Sep 15 '25 23:09 ZanQdo

After clicking on "Join Review Room", you should see these two messages in the "websocket" sub-panel:

Image

NicoPennec avatar Sep 16 '25 07:09 NicoPennec

Clicked on it a bunch of times and only see:

Image

ZanQdo avatar Sep 16 '25 07:09 ZanQdo

Please update your Zou backend by following these three steps: https://zou.cg-wire.com/#update

NicoPennec avatar Sep 16 '25 07:09 NicoPennec

Hi, I did that this morning (and yet again right now):

{ "name": "Zou", "version": "0.20.73", "database-up": true, "key-value-store-up": true, "event-stream-up": true, "job-queue-up": false, "indexer-up": false }

Kitsu is at 0.20.88

ZanQdo avatar Sep 16 '25 07:09 ZanQdo

Could you please check your Zou logs for this operation?

NicoPennec avatar Sep 18 '25 07:09 NicoPennec

Last lines of gunicorn_error.log

[2025-09-18 08:19:21 +0000] [42458] [INFO] Starting gunicorn 23.0.0
[2025-09-18 08:19:21 +0000] [42458] [INFO] Listening at: http://127.0.0.1:5000 (42458)
[2025-09-18 08:19:21 +0000] [42458] [INFO] Using worker: gevent
[2025-09-18 08:19:21 +0000] [42459] [INFO] Booting worker with pid: 42459
[2025-09-18 08:19:21 +0000] [42460] [INFO] Booting worker with pid: 42460
[2025-09-18 08:19:21 +0000] [42461] [INFO] Booting worker with pid: 42461

I don't see anything about clicking the Join Review button

ZanQdo avatar Sep 18 '25 08:09 ZanQdo

Does it occur in the Edit page?

frankrousseau avatar Sep 18 '25 10:09 frankrousseau

Yes edit page

ZanQdo avatar Sep 18 '25 17:09 ZanQdo

Hi, Any update on this? Thank you

ZanQdo avatar Nov 05 '25 19:11 ZanQdo