mattermost-community / mattermost-plugin-confluence

A Mattermost Plugin to receive events from Confluence
Apache License 2.0
14 stars 14 forks source link

Plugin crashes on 5.28.1 #76

Open ifeldshteyn opened 3 years ago

ifeldshteyn commented 3 years ago

Hi,

The latest plugin release 1.2.0 crashes after upgrade to Mattermost 5.28.1. I can enable it and view the help with /confluence help but then if I try to install a new Confluence server with /confluence install server it fails with this and does not react to any commands anymore. Turning on DEBUG logging didn't show any additional messages.

2020-10-31T11:50:23.620-0400    info    go-plugin@v1.3.0/stream.go:15   2020/10/31 11:50:23 RPC call to GetConfig API failed: reading body gob: bad data: field numbers out of bounds   {"plugin_id": "com.mattermost.confluence", "source": "plugin_stderr"}

2020-10-31T11:50:23.620-0400    info    go-plugin@v1.3.0/stream.go:15   2020/10/31 11:50:23 RPC call to SendEphemeralPost API failed: connection is shut down   {"plugin_id": "com.mattermost.confluence", "source": "plugin_stderr"}

Maybe there is an API change in the new server?

Thanks, Ilya

catalintomai commented 3 years ago

@ifeldshteyn, tried to repro locally on plugin:1.2.0 + mm:5.28, the /confluence install server command was successful. Did you try to uninstall/install the plugin; does the previous plugin release works?