[jitsi-dev] Uncaught ReferenceError


#1

Hi,

I installed jitsi-meet on ubuntu 16.04 and everything was ok for couple of
months, then suddenly I started to receive the following error:

Uncaught ReferenceError: config is not defined
Any idea what this might be?

Uncaught ReferenceError: config is not defined

    at do_external_connect.js?v=1:23

    at do_external_connect.js?v=1:75

(anonymous) @ do_external_connect.js?v=1:23

(anonymous) @ do_external_connect.js?v=1:75

and

Uncaught ReferenceError: interfaceConfig is not defined

    at Object.t.options.skin (ToolbarToggler.js:8)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.__esModule.default (Chat.js:5)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.exports.FEEDBACK_REQUEST_IN_PROGRESS (UI.js:4)

    at t (bootstrap 4b1bfa8…:19)

    at Object.<anonymous> (app.js:24)

    at t (bootstrap 4b1bfa8…:19)

   at e.__esModule.default (bootstrap 4b1bfa8…:39)

   at bootstrap 4b1bfa8…:39

   at universalModuleDefinition:9

Thanks,
David


#2

Hi,

Are you running with nginx? If yes, then do you have nxing-extras
package installed?
I suspect the ssi is not working in your deployment for some reason.

Regards
damencho

···

On Sat, Jan 21, 2017 at 12:12 AM, David King <davidbking086@gmail.com> wrote:

Hi,

I installed jitsi-meet on ubuntu 16.04 and everything was ok for couple of
months, then suddenly I started to receive the following error:

Uncaught ReferenceError: config is not defined
Any idea what this might be?

Uncaught ReferenceError: config is not defined

    at do_external_connect.js?v=1:23

    at do_external_connect.js?v=1:75

(anonymous) @ do_external_connect.js?v=1:23

(anonymous) @ do_external_connect.js?v=1:75

and

Uncaught ReferenceError: interfaceConfig is not defined

    at Object.t.options.skin (ToolbarToggler.js:8)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.__esModule.default (Chat.js:5)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.exports.FEEDBACK_REQUEST_IN_PROGRESS (UI.js:4)

    at t (bootstrap 4b1bfa8…:19)

    at Object.<anonymous> (app.js:24)

    at t (bootstrap 4b1bfa8…:19)

   at e.__esModule.default (bootstrap 4b1bfa8…:39)

   at bootstrap 4b1bfa8…:39

   at universalModuleDefinition:9

Thanks,
David

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Hi David,

This may not be relevant but:
http://lists.jitsi.org/pipermail/dev/2016-December/030655.html that gave a
reference error on the console, but I don't remember the actual detail

Best regards Hugh

···

On 21 January 2017 at 06:12, David King <davidbking086@gmail.com> wrote:

Hi,

I installed jitsi-meet on ubuntu 16.04 and everything was ok for couple of
months, then suddenly I started to receive the following error:

Uncaught ReferenceError: config is not defined
Any idea what this might be?

Uncaught ReferenceError: config is not defined

    at do_external_connect.js?v=1:23

    at do_external_connect.js?v=1:75

(anonymous) @ do_external_connect.js?v=1:23

(anonymous) @ do_external_connect.js?v=1:75

and

Uncaught ReferenceError: interfaceConfig is not defined

    at Object.t.options.skin (ToolbarToggler.js:8)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.__esModule.default (Chat.js:5)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.exports.FEEDBACK_REQUEST_IN_PROGRESS (UI.js:4)

    at t (bootstrap 4b1bfa8…:19)

    at Object.<anonymous> (app.js:24)

    at t (bootstrap 4b1bfa8…:19)

   at e.__esModule.default (bootstrap 4b1bfa8…:39)

   at bootstrap 4b1bfa8…:39

   at universalModuleDefinition:9

Thanks,
David

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/
<http://www.hackney-environment-network.org.uk/>


#4

Hi,

Any update on this?

Thank you so much!

David

···

On Sat, Jan 21, 2017 at 8:12 AM, David King <davidbking086@gmail.com> wrote:

Hi,

I installed jitsi-meet on ubuntu 16.04 and everything was ok for couple of
months, then suddenly I started to receive the following error:

Uncaught ReferenceError: config is not defined
Any idea what this might be?

Uncaught ReferenceError: config is not defined

    at do_external_connect.js?v=1:23

    at do_external_connect.js?v=1:75

(anonymous) @ do_external_connect.js?v=1:23

(anonymous) @ do_external_connect.js?v=1:75

and

Uncaught ReferenceError: interfaceConfig is not defined

    at Object.t.options.skin (ToolbarToggler.js:8)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.__esModule.default (Chat.js:5)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.exports.FEEDBACK_REQUEST_IN_PROGRESS (UI.js:4)

    at t (bootstrap 4b1bfa8…:19)

    at Object.<anonymous> (app.js:24)

    at t (bootstrap 4b1bfa8…:19)

   at e.__esModule.default (bootstrap 4b1bfa8…:39)

   at bootstrap 4b1bfa8…:39

   at universalModuleDefinition:9

Thanks,
David


#5

Thanks Hugh, but it doesn't help.

···

On Sat, Jan 21, 2017 at 7:28 PM, Hugh Barnard <hugh.barnard@gmail.com> wrote:

Hi David,

This may not be relevant but: http://lists.jitsi.org/
pipermail/dev/2016-December/030655.html that gave a reference error on
the console, but I don't remember the actual detail

Best regards Hugh

On 21 January 2017 at 06:12, David King <davidbking086@gmail.com> wrote:

Hi,

I installed jitsi-meet on ubuntu 16.04 and everything was ok for couple
of months, then suddenly I started to receive the following error:

Uncaught ReferenceError: config is not defined
Any idea what this might be?

Uncaught ReferenceError: config is not defined

    at do_external_connect.js?v=1:23

    at do_external_connect.js?v=1:75

(anonymous) @ do_external_connect.js?v=1:23

(anonymous) @ do_external_connect.js?v=1:75

and

Uncaught ReferenceError: interfaceConfig is not defined

    at Object.t.options.skin (ToolbarToggler.js:8)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.__esModule.default (Chat.js:5)

    at t (bootstrap 4b1bfa8…:19)

    at Object.e.exports.FEEDBACK_REQUEST_IN_PROGRESS (UI.js:4)

    at t (bootstrap 4b1bfa8…:19)

    at Object.<anonymous> (app.js:24)

    at t (bootstrap 4b1bfa8…:19)

   at e.__esModule.default (bootstrap 4b1bfa8…:39)

   at bootstrap 4b1bfa8…:39

   at universalModuleDefinition:9

Thanks,
David

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/
<http://www.hackney-environment-network.org.uk/>

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#6

Yes, I am running nginx.

What do you mean by nxing-extras package installed?

Everything worked perfectly yesterday..

Thanks,
David

···

On Sat, Jan 21, 2017 at 10:36 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

Are you running with nginx? If yes, then do you have nxing-extras
package installed?
I suspect the ssi is not working in your deployment for some reason.

Regards
damencho

On Sat, Jan 21, 2017 at 12:12 AM, David King <davidbking086@gmail.com> > wrote:
> Hi,
>
> I installed jitsi-meet on ubuntu 16.04 and everything was ok for couple
of
> months, then suddenly I started to receive the following error:
>
> Uncaught ReferenceError: config is not defined
> Any idea what this might be?
>
> Uncaught ReferenceError: config is not defined
>
> at do_external_connect.js?v=1:23
>
> at do_external_connect.js?v=1:75
>
> (anonymous) @ do_external_connect.js?v=1:23
>
> (anonymous) @ do_external_connect.js?v=1:75
>
>
>
>
> and
>
> Uncaught ReferenceError: interfaceConfig is not defined
>
> at Object.t.options.skin (ToolbarToggler.js:8)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at Object.e.__esModule.default (Chat.js:5)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at Object.e.exports.FEEDBACK_REQUEST_IN_PROGRESS (UI.js:4)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at Object.<anonymous> (app.js:24)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at e.__esModule.default (bootstrap 4b1bfa8…:39)
>
> at bootstrap 4b1bfa8…:39
>
> at universalModuleDefinition:9
>
>
> Thanks,
> David
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#7

Hi,

So the error you see is that there is no config object. Not sure which
versions you used before updating and what version are you currently
running, but at some point we switched the main page from downloading
the config.js directly from server, to server side includes (ssi
https://github.com/jitsi/jitsi-meet/blob/master/index.html#L123). If
ssi is not enabled on your server config.js will not be included and
you will see that error.
I had reports that at some distributions in order to make ssi work you
need the package nginx-extras installed, but I'm not sure about that
and need to further check it, cause I have a deployment running
without a problem with ssi without installing nginx-extras. That was
the reason I initially asked about it.

You can check the source of the page when loaded is there a config.js
included (you can check the same page on meet.jit.si as a reference).

You can also check your nginx whether ssi is enabled, it should look like this:
# cat /etc/nginx/sites-enabled/yourdeployment.server.com.conf | grep ssi
        ssi on;

Hope this helps

Regards
damencho

···

On Sat, Jan 21, 2017 at 3:45 PM, David King <davidbking086@gmail.com> wrote:

Yes, I am running nginx.

What do you mean by nxing-extras package installed?

Everything worked perfectly yesterday..

Thanks,
David

On Sat, Jan 21, 2017 at 10:36 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

Are you running with nginx? If yes, then do you have nxing-extras
package installed?
I suspect the ssi is not working in your deployment for some reason.

Regards
damencho

On Sat, Jan 21, 2017 at 12:12 AM, David King <davidbking086@gmail.com> >> wrote:
> Hi,
>
> I installed jitsi-meet on ubuntu 16.04 and everything was ok for couple
> of
> months, then suddenly I started to receive the following error:
>
> Uncaught ReferenceError: config is not defined
> Any idea what this might be?
>
> Uncaught ReferenceError: config is not defined
>
> at do_external_connect.js?v=1:23
>
> at do_external_connect.js?v=1:75
>
> (anonymous) @ do_external_connect.js?v=1:23
>
> (anonymous) @ do_external_connect.js?v=1:75
>
>
>
>
> and
>
> Uncaught ReferenceError: interfaceConfig is not defined
>
> at Object.t.options.skin (ToolbarToggler.js:8)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at Object.e.__esModule.default (Chat.js:5)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at Object.e.exports.FEEDBACK_REQUEST_IN_PROGRESS (UI.js:4)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at Object.<anonymous> (app.js:24)
>
> at t (bootstrap 4b1bfa8…:19)
>
> at e.__esModule.default (bootstrap 4b1bfa8…:39)
>
> at bootstrap 4b1bfa8…:39
>
> at universalModuleDefinition:9
>
>
> Thanks,
> David
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev