Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kunwon1 opened this issue Aug 2, 2019 · 1 comment
Labels
Type/Question Further information is requested

Comments

@kunwon1
Copy link

kunwon1 commented Aug 2, 2019

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!

@hanzei hanzei added the Type/Question Further information is requested label Mar 22, 2020
@mkraft
Copy link
Contributor

mkraft commented Apr 7, 2020

@kunwon1 Have you tried installing the plugin from this repository? I noticed that the one you have installed is from the old github.com/DSchalla/mailermost-plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type/Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants