Mattermost crashes when Kopano Web Meetings is enabled



  • We have installed Kopano Web Meetings (0.3.1) in our mattermost system. It looks like it was installed successfully however mattermost is going down (crashes) when we enable Kopanowebmeetings plugin and looking into the log, it is showing the error below:

    {"level":"info","ts":1565092015.1341784,"caller":"go-plugin/stream.go:15","msg":"2019/08/06 08:46:55 kwm plugin error *url.Error while getting client configration: Post http://127.0.0.1:8778/api/v1/admin/auth/tokens: dial tcp 127.0.0.1:8778: getsockopt: connection refused","plugin_id":"kopanowebmeetings","source":"plugin_stderr"}
    

    Your thoughts is very much appreciated.


  • Kopano

    Hi @markkahanmo,

    the error message indicated that you do not have kwmserver (the webrtc signalling server) running.

    This is stopping the mattermost deamon, you say? Which version of Mattermost are you using?

    You can find documentation about the Mattermost plugin at https://documentation.kopano.io/kopano_mattermost_manual/webmeetings.html



  • Hi @fbartels ,

    Thank you for your response. We have Mattermost version 5.13.1 and Database version5.13.0 running in our system.

    We got the kwmserver running however we get new error. See log below:

    {"level":"error","ts":1565315530.7319431,"caller":"mlog/log.go:172","msg":"Plugin failed to ServeHTTP, muxBroker couldn't accept connection","plugin_id":"kopanowebmeetings","serve_http_stream_id":2,"error":"timeout waiting for accept"}
    {"level":"error","ts":1565315530.731989,"caller":"mlog/log.go:172","msg":"Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection","plugin_id":"kopanowebmeetings","error":"timeout waiting for accept"}
    {"level":"error","ts":1565315530.957624,"caller":"mlog/log.go:172","msg":"Plugin failed to ServeHTTP, muxBroker couldn't accept connection","plugin_id":"kopanowebmeetings","serve_http_stream_id":4,"error":"timeout waiting for accept"}
    {"level":"error","ts":1565315530.95769,"caller":"mlog/log.go:172","msg":"Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection","plugin_id":"kopanowebmeetings","error":"timeout waiting for accept"}
    {"level":"error","ts":1565315530.9702356,"caller":"mlog/log.go:172","msg":"Plugin failed to ServeHTTP, RPC call failed","plugin_id":"kopanowebmeetings","error":"connection is shut down"}
    

    We are new to nginx and we are not sure what we need to change from example configuration of Nginx so we just leave it as it is hoping that it will just work.

    fyi, we use supervisor to keep kwmserver running.

    Regards,
    Mark



  • Hi @fbartels,

    Any thought on the log I have posted above?
    It appears nobody have experienced my issue.

    Thank you in advance.


  • Kopano

    Hi @markkahanmo,

    no unfortunately I did not yet have time to further look into this.



  • Hi @fbartels ,
    Do you have any finding on this?

    Thank you in advance.


  • Kopano

    Hi @markkahanmo,

    no unfortunately still busy with other projects. If this is for a commercial deployment I’d recommend to get in contact with our support.


Log in to reply