Sensu Go agent cannot connect to backend

  1. What have you already tried? Please include links to gists and/or code blocks (if relatively small)

HI, newbie here so please excuse any mistakes.
I have tried disabling selinux/firewall and tried various combinations of VMWare local VM installations using CentOS7 and Ubuntu 16.04.While I have been successful following the sandbox tutorial, when trying to install the standalone server, a CentOS7 server with local install of sensu-agent works ok and can monitor itself and responds.Currently I am only experimenting with Linux.

  1. Tell us about your setup, this should include OS, version of Sensu, version of Sensu components (redis, rabbitmq), plugin versions (if applicable), anything special about your setup such as an airgapped network or strict ACLs

My setup is running on a Macbook with VMware Fusion 11.1 OSX Mojave .
Network is setup to share local WiFi with internet access.
Sensu backend and Sensu Go version is 5.13.2#31f0e11

  1. Is there a Github issue related to your issue?

I did not see any issue close to my issue.I followed whatever is given in the documentation but the sensu-agent reports this error:

[root@sensu-agent ~]# service sensu-agent status -l
Redirecting to /bin/systemctl status -l sensu-agent.service
● sensu-agent.service - The Sensu Agent process.
Loaded: loaded (/usr/lib/systemd/system/sensu-agent.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2019-09-25 08:44:14 +08; 29min ago
Main PID: 13876 (sensu-agent)
CGroup: /system.slice/sensu-agent.service
└─13876 /usr/sbin/sensu-agent start

Sep 25 09:12:06 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:12:06+08:00"}
Sep 25 09:12:16 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:12:16+08:00"}
Sep 25 09:12:26 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:12:26+08:00"}
Sep 25 09:12:36 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:12:36+08:00"}
Sep 25 09:12:46 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:12:46+08:00"}
Sep 25 09:12:56 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:12:56+08:00"}
Sep 25 09:13:06 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:13:06+08:00"}
Sep 25 09:13:16 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:13:16+08:00"}
Sep 25 09:13:26 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:13:26+08:00"}
Sep 25 09:13:36 sensu-agent.vmlab.local sensu-agent[13876]: {"component":"agent","error":"tls: first record does not look like a TLS handshake","level":"error","msg":"reconnection attempt failed","time":"2019-09-25T09:13:36+08:00"}. ```

Is there anything else that can help us effectively help you?

One other error message I got when using Ubuntu 16.04 to start the sensu-agent service was Error connection: connection refused 127.0.0.0:8125 127.0.0.0:8080

I hope I have provided enough information.
Also, am I doing it the right way?
As in, adding a sensu-agent by starting the service.I do not see any other information on the documentation.

Thanks in advance, waiting for your good answer !