talked icon indicating copy to clipboard operation
talked copied to clipboard

"Failed to load the Talk room"

Open monochromec opened this issue 3 years ago • 3 comments

General Description

After starting the FF and Selenium, the Talk room cannot be created.

How To Reproduce?

  1. Install & configure Talked / Talk per the GH instructions
  2. Start a recording session with /recording start
  3. Observe error message

Operating System

Stock Debian Bullseye

Logs

INFO:root:Starting virtual x server
DEBUG:easyprocess:command: ['Xvfb', '-help']
DEBUG:easyprocess:process was started (pid=286607)
DEBUG:easyprocess:process has ended, return code=0
DEBUG:pyvirtualdisplay.abstractdisplay:command: ['Xvfb', '-br', '-nolisten', 'tcp', '-screen', '0', '1280x720x24', '-displayfd', '7']
DEBUG:pyvirtualdisplay.abstractdisplay:set $DISPLAY=:0
INFO:root:Starting browser
INFO:root:https://example.com/nextcloud/index.php/call/efnahyey
INFO:root:Configuring browser options
INFO:root:Creating browser
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:41687/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "firefox", "acceptInsecureCerts": true, "moz:firefoxOptions": {"prefs": {"media.navigator.permission.disabled": true, "privacy.webrtc.legacyGlobalIndicator": false, "full-screen-api.warning.timeout": 0}, "args": ["--kiosk", "--width=1280", "--height=720"]}}}, "desiredCapabilities": {"browserName": "firefox", "acceptInsecureCerts": true, "moz:firefoxOptions": {"prefs": {"media.navigator.permission.disabled": true, "privacy.webrtc.legacyGlobalIndicator": false, "full-screen-api.warning.timeout": 0}, "args": ["--kiosk", "--width=1280", "--height=720"]}}}
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:41687
DEBUG:urllib3.connectionpool:http://127.0.0.1:41687 "POST /session HTTP/1.1" 200 699
DEBUG:selenium.webdriver.remote.remote_connection:Finished Request
INFO:root:Navigate to call link
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:41687/session/435c43c3-b4e5-45d2-aad3-124f4726e8c4/url {"url": "https://example.com/nextcloud/index.php/call/efnahyey"}
DEBUG:urllib3.connectionpool:http://127.0.0.1:41687 "POST /session/435c43c3-b4e5-45d2-aad3-124f4726e8c4/url HTTP/1.1" 200 14

...

DEBUG:selenium.webdriver.remote.remote_connection:Finished Request
WARNING:root:Failed to load the Talk room.
[pid: 286470|app: 0|req: 1/1] 127.0.0.1 () {32 vars in 401 bytes} [Fri Sep 23 14:39:51 2022] POST /start => generated 44 bytes in 25406 msecs (HTTP/1.1 200) 2 headers in 71 bytes (1 switches on core 0)

Talked Version

Talked version 0.4.0 configured per instructions

Additional info

Please let me know if additional info is required - more than happy to help.

monochromec avatar Sep 23 '22 12:09 monochromec

Tracked this down to a t/o in is_valid_talk_room in recorder.py. Are we sure that the CSS selectors used in the WebDriverWait(driver, 10).until( EC.presence_of_element_located( (By.CSS_SELECTOR, ".app-talk .top-bar .top-bar__button") snippet still match NC 24.0.5 (the version that I'm using) layout?

monochromec avatar Sep 23 '22 13:09 monochromec

Hey! Yes, the CSS selector should still be good.

Just a quick question, have you edited the logs to hide your domain?

INFO:root:https://example.com/nextcloud/index.php/call/efnahyey

Just to be sure if the above is the issue or not.

Also have to enabled "Allow guests" in the Talk room settings?

mwalbeck avatar Sep 23 '22 16:09 mwalbeck

Don't see the option neither in existing chats nor when I create a new chat. How do I do this? And yes, the domain details where redacted for security reasons.

monochromec avatar Sep 24 '22 13:09 monochromec