Mattermost, Inc.

Golang Bot Sample TLS Problem

Hello, I am trying to get the “Golang Bot Sample” running but I am getting a tls error. I have the latest version of the community edition installed on Ubuntu 18.04 and Let’s Encrypt SSL free certificate. Everything its fully functional with no problems.

I recently tried to setup the sample bot following the instructions here https://github.com/mattermost/mattermost-bot-sample-golang

After executing “make run” i get this error:

There was a problem pinging the Mattermost server. Are you sure it’s running?
Error Details:
model.client.connecting.app_error
model.client.connecting.app_error
Get “https://localhost/api/v4/config/client?format=old”: remote error: tls: internal error
exit status 1
Makefile:8: recipe for target ‘run’ failed
make: *** [run] Error 1

I want to use this bot as a base to expand upon.
Any advice or guidance would be greatly appreciated.

Thank you.