[JIRA] (JENKINS-60607) mattermost-plugin 3.0 does not work with Mattermost 5.6.2

4 views
Skip to first unread message

bootsarehax@gmail.com (JIRA)

unread,
Dec 30, 2019, 4:20:03 AM12/30/19
to jenkinsc...@googlegroups.com
Philipp Moeller created an issue
 
Jenkins / Bug JENKINS-60607
mattermost-plugin 3.0 does not work with Mattermost 5.6.2
Issue Type: Bug Bug
Assignee: Jo Vandeginste
Components: mattermost-plugin
Created: 2019-12-30 09:19
Environment: Jenkins Version: 2.204.1
mattermost-plugin: 3.0.0
Mattermost Version: 5.6.2
Priority: Blocker Blocker
Reporter: Philipp Moeller

After updating to versin 3.0.0 of the mattermost-plugin, notifications are not posted to the Mattermost server 5.6.2 anymore. After a downgrade to version 2.7.1 notifications are posted again.

Unfortunately there is no up-to-date changelog for this new major release to help narrow this down.

The following exception can be found in the log:

2019-12-30 08:48:06.321+0000 [id=285]   WARNING j.p.m.StandardMattermostService#publish: Error posting to Mattermost
java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
        at java.net.SocketInputStream.read(SocketInputStream.java:171)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
        at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
        at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280)
        at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
        at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
        at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
        at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
        at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
        at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
        at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:118)
        at jenkins.plugins.mattermost.StandardMattermostService.publish(StandardMattermostService.java:174)
        at jenkins.plugins.mattermost.workflow.MattermostSendStep$MattermostSendStepExecution.run(MattermostSendStep.java:192)
        at jenkins.plugins.mattermost.workflow.MattermostSendStep$MattermostSendStepExecution.run(MattermostSendStep.java:129)
        at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jo.vandeginste@gmail.com (JIRA)

unread,
Jan 2, 2020, 4:01:03 AM1/2/20
to jenkinsc...@googlegroups.com
Jo Vandeginste commented on Bug JENKINS-60607
 
Re: mattermost-plugin 3.0 does not work with Mattermost 5.6.2

Hi Philipp Moeller,

We are (successfully) running:

  • Mattermost Version: 5.16.2
  • Mattermost Notification Plugin: 3.0.0

The issue must be elsewhere. For version 3.0.0, almost every dependency has been updated and the code refactored. The issue could very well be a special case with the new versions and your local setup...

Can you give some clues about your setup: how does Jenkins connect to Mattermost, are there any redirects involved, etc.?

Ping Louis Roebben

Reply all
Reply to author
Forward
0 new messages