desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Random Certificate Error

Open pmkap opened this issue 2 months ago • 3 comments

Checks before filing an issue

  • [X] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
  • [X] I have checked the issue tracker and have not found an issue that matches the one I'm filing.
  • [X] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
  • [X] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
  • [X] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
  • [X] I have read the contribution guidelines.

Mattermost Desktop Version

5.7.0

Operating System

Windows, Linux, MacOS

Mattermost Server Version

9.7.2

Steps to reproduce

Not really reproducible, happens randomly on Linux, Mac and Windows. Mattermost itself works perfectly, but the message showing up is irritating to users.

Expected behavior

Nothing

Observed behavior

Certificate error showing up randomly

Log Output

mattermost-desktop[41788]: [41788:0429/091348.416219:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -200

Additional Information

image

pmkap avatar Apr 29 '24 08:04 pmkap

@pmkap Did someone post an image from an unsecure site onto the server? Usually this error will popup when the app is trying to load something from a server that is deems untrusted. If it's coming up when you load the server initially, then it's possible that the server itself has an expired certificate?

devinbinnie avatar Apr 29 '24 12:04 devinbinnie

@devinbinnie Thanks for the reply! I am not aware of any images posted from an unsecure site.

The error is showing up randomly, not when connecting to the server initially. Also we use let's encrypt certificates. The error however says "Sectigo RSA Organization Validation Secure Server CA" Additional note: This happened with two different Mattermost servers.

pmkap avatar May 06 '24 11:05 pmkap

If you're able to turn on Debug logging in the Settings windows/modal there should be a line in there that shows the certificate check, so we should be able to see what URL it's coming from.

devinbinnie avatar May 06 '24 12:05 devinbinnie