# Problems with Jitsi app on mobile and config.js: it seems to be solved

**URL:** <https://forum.yunohost.org/t/problems-with-jitsi-app-on-mobile-and-config-js-it-seems-to-be-solved/26849>\
**Category:** Support\
**Tags:** config, english\
**Created:** [October 20, 2023, 6:06pm UTC](https://forum.yunohost.org/t/problems-with-jitsi-app-on-mobile-and-config-js-it-seems-to-be-solved/26849 "2023-10-20T18:06:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariosabatino](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mariosabatino/32/13754_2.png) [@mariosabatino](https://forum.yunohost.org/u/mariosabatino)\
**Post date:** [October 20, 2023, 6:06pm UTC](https://forum.yunohost.org/t/problems-with-jitsi-app-on-mobile-and-config-js-it-seems-to-be-solved/26849/1 "2023-10-20T18:06:41Z")

</div>

Hello !

### My YunoHost server

**Hardware:** VPS bought online  
**YunoHost version:** 11.2.5 (stable)  
**I have access to my server :** Through SSH

**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no

### Description of my issue

1. I installed the Jitsi instance;
2. Created a room with my login and password;
3. Entered the room via browser with another desktop device;
4. Entered the room via browser with a mobile device;
5. Tried to enter the room with Jitsi Android and iOs app with no success.

Android logs:

```auto
10-20 18:51:49.113 704 752 E JitsiMeetSDK: [features/base/lib-jitsi-meet] Failed to load config from https://vc.sabatino.pro/config.js?room=rrairamtest Error(Error){"message":"ReferenceError: identifier 'enableJaaS' undefined","code":"EUNSPECIFIED","stack":"index.android.bundle:39:1111\nindex.android.bundle:1332:589\ngeneratorResume@[native code]\nn@index.android.bundle:279:69\nv@index.android.bundle:279:280\nu@index.android.bundle:86:157\nindex.android.bundle:86:866\nindex.android.bundle:93:1662\nk@index.android.bundle:93:498\nw@index.android.bundle:93:888\ncallReactNativeMicrotasks@index.android.bundle:93:3055\nvalue@index.android.bundle:47:2868\nindex.android.bundle:47:960\nvalue@index.android.bundle:47:2504\nvalue@index.android.bundle:47:919\nvalue@[native code]\nvalue@[native code]"}

6. Opened the config.js file
7. Changed the bottom lines as follows:

```

var enableJaaS = false;  
if (enableJaaS) {  
config.dialInNumbersUrl = ‘[https://conference-mapper.jitsi.net/v1/access/dids](https://conference-mapper.jitsi.net/v1/access/dids)’;  
config.dialInConfCodeUrl = ‘[https://conference-mapper.jitsi.net/v1/access](https://conference-mapper.jitsi.net/v1/access)’;  
config.roomPasswordNumberOfDigits = 10; // skip re-adding it (do not remove comment)  
}

```auto
so I simply added:
**var enableJaaS = false;**

8. Now I can enter the created room as a guest also using the Android Jitsi App. Have not yet tried with iOs.

The problem seems to be solved.

9. What I've noticed:

comparing the YH configuration file with a standard one it seems to be incomplete, infact 

var enableJaaS = false;

is not present at all.

[https://github.com/jitsi/jitsi-meet/blob/master/config.js](https://github.com/jitsi/jitsi-meet/blob/master/config.js)

Kind regards

Mario
```

---

<div class="post-metadata">

**Author:** ![wbk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@wbk](https://forum.yunohost.org/u/wbk)\
**Post date:** [October 20, 2023, 8:13pm UTC](https://forum.yunohost.org/t/problems-with-jitsi-app-on-mobile-and-config-js-it-seems-to-be-solved/26849/2 "2023-10-20T20:13:50Z")

</div>

Hi Mario,

Welcome to the forums!

Thank you for taking the trouble to create an account to share your tip, just yesterday I saw [a post](https://forum.yunohost.org/t/jitsi-and-nextcloud-connection-refused/26822) by @Luncheon3462 , describing just the kind of problem you solved. Perhaps you might take the trouble to hand them your suggestion?

> [@mariosabatino](#):
>
> 1. What I’ve noticed:  
> comparing the YH configuration file with a standard one it seems to be incomplete, infact  
> `var enableJaaS = false;`  
> is not present at all.

It was not clear to me directly whether it was missing in the Jitsi version or in the YNH version, and had a look at the [config.js](https://github.com/jitsi/jitsi-meet/blob/master/config.js) you linked. It is there at line 25, so you must mean it is not in the YNH version.

Some speculation, without having any facts at hand:

- The freely available Jitsi web client at meet.jit.si is behind a login since a couple of weeks (months?).
- I _guess_ it has to do with cash flow, and the cost of running the infrastructure of such a platform.
- _Maybe_ “Jaas” means “Jitsi as a service”; when self-hosting, the hosted Jitsi is not needed.
- Before, when everyone could just use their servers, it would not have mattered how the connection was established
- Now that the hosted platform is behind a login, they need a new parameter to tell whether to use the hosted platform
- The new parameter is not yet included in the YNH config

Anyway, so far for letting my fantasy run 😃

Thanks again!

---

<div class="post-metadata">

**Author:** ![mariosabatino](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mariosabatino/32/13754_2.png) [@mariosabatino](https://forum.yunohost.org/u/mariosabatino)\
**Post date:** [October 21, 2023, 7:05am UTC](https://forum.yunohost.org/t/problems-with-jitsi-app-on-mobile-and-config-js-it-seems-to-be-solved/26849/3 "2023-10-21T07:05:41Z")

</div>

Hi wkk, thanks for you replay !

the post you [saw the day before yesterday](https://forum.yunohost.org/t/jitsi-and-nextcloud-connection-refused/26822) is related to Jitsi integration in Nextcloud. A speculation [about JaaS](https://jaas.8x8.vc/#/) may be probably useful but don’t know how.

> Blockquote What I’ve noticed:  
> comparing the YH configuration file with a standard one it seems to be incomplete, infact  
> `var enableJaaS = false;`  
> is not present at all.

I meant the YH Jitsi configuration is missing some elements of the Jitsi standard configuration. Infact I added the line  
`var enableJaaS = false;`  
to my YH Jitsi configuration.

Ciao

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [November 20, 2023, 7:05am UTC](https://forum.yunohost.org/t/problems-with-jitsi-app-on-mobile-and-config-js-it-seems-to-be-solved/26849/4 "2023-11-20T07:05:57Z")

</div>

Closed on November 20, 2023, 7:05am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
