Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patches are broken on ubuntu 18.4 and Debian 10 #2

Open
CWO-Stanley opened this issue Jan 29, 2021 · 0 comments
Open

patches are broken on ubuntu 18.4 and Debian 10 #2

CWO-Stanley opened this issue Jan 29, 2021 · 0 comments

Comments

@CWO-Stanley
Copy link

CWO-Stanley commented Jan 29, 2021

It seems that these patches aren't working anymore with latest jitsi-meet and jitsi-meet-tokens

When all patches are made manualy prosody's error logs trows when connecting
The plugin loads in kiwi, it connects to the jitsi instance and the token is provided but then stops,
The loading circle keeps turning and nobody can see eachother error logs says:

Jan 29 12:07:29 mod_bosh error Traceback[bosh]: /usr/lib/prosody/util/hex.lua:23: bad argument #1 to 's_lower' (string expected, got nil)
stack traceback:
[C]: in function 's_lower'
/usr/lib/prosody/util/hex.lua:23: in function 'from'
/usr/share/jitsi-meet/prosody-plugins/token/util.lib.lua:395: in function 'verify_room'
...re/jitsi-meet/prosody-plugins/mod_token_verification.lua:62: in function 'verify_user'
...re/jitsi-meet/prosody-plugins/mod_token_verification.lua:86: in function '?'
/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
(...tail calls...)
/usr/lib/prosody/modules/muc/muc.lib.lua:561: in function </usr/lib/prosody/modules/muc/muc.lib.lua:498>
(...tail calls...)
/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
(...tail calls...)
/usr/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza'
/usr/lib/prosody/core/stanza_router.lua:127: in function 'dispatch_stanza'
/usr/lib/prosody/modules/mod_bosh.lua:305: in function 'func'
/usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125>
stack traceback:
/usr/lib/prosody/util/async.lua:211: in function 'run'
/usr/lib/prosody/modules/mod_bosh.lua:447: in function 'cb_handlestanza'
/usr/lib/prosody/util/xmppstream.lua:182: in function </usr/lib/prosody/util/xmppstream.lua:162>
[C]: in function 'parse'
/usr/lib/prosody/util/xmppstream.lua:282: in function 'feed'
/usr/lib/prosody/modules/mod_bosh.lua:133: in function '?'
/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
(...tail calls...)
/usr/lib/prosody/net/http/server.lua:229: in function </usr/lib/prosody/net/http/server.lua:176>
[C]: in function 'xpcall'
/usr/lib/prosody/net/http/server.lua:108: in function 'process_next'
/usr/lib/prosody/net/http/server.lua:124: in function 'success_cb'
/usr/lib/prosody/net/http/parser.lua:177: in function 'feed'
/usr/lib/prosody/net/http/server.lua:155: in function </usr/lib/prosody/net/http/server.lua:154>
(...tail calls...)
/usr/lib/prosody/net/server_select.lua:924: in function </usr/lib/prosody/net/server_select.lua:908>
[C]: in function 'xpcall'
/usr/bin/prosody:76: in function 'loop'
/usr/bin/prosody:86: in main chunk
[C]: in ?

Haven't found a solution yet, my lua knowlegde is worse than my latin,

My installation steps:
1 cd && apt-get update -y && apt-get install gcc -y && apt-get install unzip -y && apt-get install lua5.2 -y && apt-get install liblua5.2 -y && apt-get install luarocks -y && luarocks install basexx && apt-get install libssl1.0-dev -y && luarocks install luacrypto && mkdir src && cd src && luarocks download lua-cjson && luarocks unpack lua-cjson-2.1.0.6-1.src.rock && cd lua-cjson-2.1.0.6-1/lua-cjson && sed -i 's/lua_objlen/lua_rawlen/g' lua_cjson.c && sed -i 's|$(PREFIX)/include|/usr/include/lua5.2|g' Makefile && luarocks make && luarocks install luajwtjitsi && cd && wget https://prosody.im/files/prosody-debian-packages.key -O- | sudo apt-key add - && echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list && apt-get update -y && apt-get upgrade -y && apt-get install prosody -y && chown root:prosody /etc/prosody/certs/localhost.key && chmod 644 /etc/prosody/certs/localhost.key
2 shutdown -r now
3 cd && cp /etc/prosody/certs/localhost.key /etc/ssl && apt-get install nginx -y && wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add - && sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list" && apt-get -y update && apt-get install jitsi-meet -y && apt-get install jitsi-meet-tokens -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant