mattermost-plugin-email-reply icon indicating copy to clipboard operation
mattermost-plugin-email-reply copied to clipboard

Plugin doesn't seem to do anything with inbox or replies, errors in log

Open kunwon1 opened this issue 5 years ago • 1 comments

Hello

I have Mailermost installed in Mattermost 5.13.2

I am attempting to have it check an Exchange mailbox

Replying to emails does not result in any messages being posted to Mattermost, but it seems that it IS logging into the mailbox

I've been watching the logs and seeing errors. I wanted to see if it was actually logging into the mailbox, so I changed the password to something incorrect, and then this error appeared -

{"level":"error","ts":1564670563.499562,"caller":"mlog/sugar.go:23","msg":"failed to get mailbox \"INBOX\": Not logged in","plugin_id":"com.mattermost.mailermost-plugin"}

When I corrected the password, that error went away. However, there are other errors in the log.

I've changed the log level to DEBUG to get as much information as possible-

{"level":"debug","ts":1564767181.4944391,"caller":"plugin/supervisor.go:117","msg":"Error checking plugin process, error: os: process already finished"} {"level":"error","ts":1564767181.4945292,"caller":"plugin/health_check.go:95","msg":"Health check failed for plugin com.mattermost.mailermost-plugin, error: Plugin process not found, or not responding"} {"level":"debug","ts":1564767181.4945676,"caller":"plugin/health_check.go:118","msg":"Restarting plugin due to failed health check `com.mattermost.mailermost-plugin`"} {"level":"error","ts":1564767181.4945824,"caller":"mlog/log.go:172","msg":"RPC call OnDeactivate to plugin failed.","plugin_id":"com.mattermost.mailermost-plugin","error":"connection is shut down"} {"level":"warn","ts":1564767181.4946089,"caller":"plugin/hclog_adapter.go:51","msg":"error closing client during Kill","plugin_id":"com.mattermost.mailermost-plugin","wrapped_extras":"errconnection is shut down"} {"level":"warn","ts":1564767181.494635,"caller":"plugin/hclog_adapter.go:53","msg":"plugin failed to exit gracefully","plugin_id":"com.mattermost.mailermost-plugin"}

I'm attaching a log extract with more context. mattermost.log I changed the Mailermost polling interval right before this log extract, hoping that would cause the plugin process to 'restart' or something, getting me more useful log entries. I'm not that familiar with Mattermost plugin architecture, if there's any other information I can provide that will be useful, please let me know

Thanks!

kunwon1 avatar Aug 02 '19 17:08 kunwon1