hidapple / graylog-plugin-teams

Graylog event notification plugin to send messages to Microsoft Teams
GNU General Public License v3.0
33 stars 11 forks source link

Unable to read web manifest from plugin Microsoft Teams Notification 2.0.4 #124

Open Shiftane opened 3 years ago

Shiftane commented 3 years ago

Summary

I've put the .jar file in the folder and restart my graylog : plugin is loaded but I have this error :

[PluginAssets] Unable to read web manifest from plugin Microsoft Teams Notification 2.0.4 [org.graylog.plugins.teams.TeamsNotificationPlugin]:
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.graylog2.web.ModuleFiles`, problem: Null chunks
at [Source: (sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream); line: 1, column: 111] (through reference chain: org.graylog2.web.ModuleManifest["files"])

Environment

Graylog Web Interface version: Graylog 3.3.8+e223f85

Graylog MS Teams Plugin version: 2.0.4

To Reproduce

in Summary

Expected behavior

To have no exception and see the plugin in the configuration page

Screenshots

yuri1969 commented 2 years ago

This issue seems to be related to plugin's JSON manifest files.

The version 2.0.4 features a Graylog 4.x-compatible manifest lacking the chunks field. That field is required by Graylog 3.x thus making the construction of org.graylog2.web.ModuleFiles fail as you observed.

The info presented by README.md seems to be outdated.

Workaround: use 2.0.3 with Graylog 3.x.