udima-university / moodle-mod_jitsi

Plugin Jitsi viceoconference for Moodle
GNU General Public License v3.0
40 stars 36 forks source link

Blank page when clicking the access button #41

Closed hbbk closed 2 years ago

hbbk commented 4 years ago

hi I'm using the latest jitsi plugin v2.4 2020042900 and the only thing I can get is a blanck page with my moodle 3.4.2+ when clicking the access button (Jitsi - Click the button to access ...)

I have another test server with 3.5.2+ installed and exactly the same jitsi config, server and plugin and that works perfectly there (?).

any idea please ?

I'v got the folowing error with google chrome inspecter

external_api.js:1 Unrecognized feature: 'display-capture'.
_createIFrame @ external_api.js:1
external_api.js:1 Uncaught TypeError: Cannot read property 'appendChild' of null
    at $._createIFrame (external_api.js:1)
    at new $ (external_api.js:1)
    at session.php:282
DevTools failed to load SourceMap: Could not load content for https://jitsi.xxx/external_api.min.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
SergioComeron commented 4 years ago

Hi @hbbk what theme are you using with your moodle?

hbbk commented 4 years ago

the standard theme with some very few css adds nothing fancy... (they are the same on both servers)

pieterjanheyse commented 4 years ago

We are seeing the exact same issue with a small percentage of our users across multiple computers and browsers, but with the same public ip address. Is there a parameter (public ip address for example) in common here?

When the people use meet.jit.si with the appropriate roomname, things work fine.

Moodle 3.7.2+ (Build: 20191004) Jitsi v2.5 2020050700

Also using the standard theme.

Is there anything I can do to debug further, I have a user who I can contact to help me out.

JohnCarlos007 commented 4 years ago

Were experiencing a similar problem with the plugin. Its somewhat similar to the comment above.

Some users are able to experience this while others do not. We had 30 users using a multiple Jitsi activity in several courses, with two persons each Jitsi activity. We also use the theme "Trema" in Moodle.

Sorry for the lack of information on the development side as this was only presented to us by end users but will expect for a fix soon.

Moodle 3.9.2 Jitsi v2.8.2

bryanasdev000 commented 3 years ago

This problem can be on the Jitsi side, since this plugin only calls it.

The NGINX (jitsi-meet) and Jicofo logs can be useful in this case, to perform a deeper analysis.

moha-rk commented 2 years ago

Hello. A friend of mine had the same problem, and after debugging it to her, I found out that the problem was a char in her username that was breaking the call to the API. Can you tell me your name on the moodle platform so I can confirm it's the same issue, and if so, try to link a fix to it

SergioComeron commented 2 years ago

Hi @moha-rk what was the character?

moha-rk commented 2 years ago

@SergioComeron It was a ' (apostrophe) that wasn't added to the API call as \' , but simply as '. That was ending the string too soon, leaving another single ' at the end, breaking the call.

Since Moodle allow the use of apostrophe in the name, I think this case should be treated.

SergioComeron commented 2 years ago

I'm trying to reproduce the problem but I cannot add a user that has an apostrophe in the username. How did you manage to have a user with username that has an apostrophe?

Captura de pantalla 2021-11-30 a las 9 51 43
ivankazzzz commented 2 years ago

Hello, is there a fix for this ? i also facing this issue

SergioComeron commented 2 years ago

Hi @ivankazzzz, in your case can you get a little more information? Does the browser console give you any information about the problem? Usernames or room names have any special characters? What versions of moodle and the plugin do you have? Self-hosted server or public server (meet.jit.si)?

ivankazzzz commented 2 years ago

Hi Sorry for late confirming its been fixed now

idk whats goin wrong, it work normally ( September 2021) at first then suddenly it comes blank ( May 2022 )

i use Jitsi v3.1.1 then i tryin updatin to latest it works well

my guess its the jitsi side problem

SergioComeron commented 2 years ago

ok, Thanks for the update