Closed dyapasrikanth closed 2 years ago
I add this to the dockerfile, maybe it can help:
RUN sed -i -Ee 's/(return nil, "Invalid typ")/--\1/g' /usr/local/share/lua/5.2/luajwtjitsi.lua
RUN sed -i -Ee 's/(basic_resolver.new\(host, port_number)(\);)/\1, "tcp", { servername = req.host }\2/g' /usr/lib/prosody/net/http.lua
Prosody has been updated to 0.12 since.
When I configure APAP url (_JWT_ASAPKEYSERVER=http://10.0.2.15:3001/publickey) with IP:PORT then I am getting error as mentioned here.
Installed prosody version
In the container
http.lua
doesn't have the extra arguments mention in this master branch. https://github.com/bjc/prosody/blob/master/net/http.lua#L277http.lua In the container
In the bjc/prosody
That is the reason it is failing. Are we using latest version of prosody ?