Suggested template:
Problem/Question
Netdata agent is unable to connect with netdata cloud
Relevant docs you followed/actions you took to solve the issue
I can’t find the link now.
Environment/Browser/Agent’s version etc
Edge latest
What I expected to happen
It is supposed to connect.
I’m having the same issue on brand new ubuntu jammy installation and brand new netdata installation.
Here is the installed ca-certicates package
root@server:/opt# apt-cache policy ca-certificates
ca-certificates:
Installed: 20211016
Candidate: 20211016
Version table:
*** 20211016 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
aclk status
root@server:/opt# netdatacli aclk-state
ACLK Available: Yes
ACLK Version: 2
Protocols Supported: Protobuf
Protocol Used: Protobuf
MQTT Version: 5
Claimed: Yes
Claimed Id: xxxxxxxxxx-xxx-xxxx-xxxx-xxxxxxx
Cloud URL: https://app.netdata.cloud
Online: No
Reconnect count: 0
Banned By Cloud: No
Next Connection Attempt At: 2022-12-03 03:25:03
Last Backoff: 20.029
2022-12-03 03:24:24: netdata INFO : ACLK_Main : Attempting connection now
2022-12-03 03:24:24: netdata ERROR : ACLK_Main : Cert Chain verify error:num=20:unable to get local issuer certificate:depth=2:/C=US/O=Internet Security Research Group/CN=ISRG Root X1 (errno 2, No such file or directory)
2022-12-03 03:24:24: netdata ERROR : ACLK_Main : SSL_write Err: SSL_ERROR_SSL
2022-12-03 03:24:24: netdata ERROR : ACLK_Main : Couldn’t write HTTP request header into SSL connection
2022-12-03 03:24:24: netdata ERROR : ACLK_Main : Couldn’t process request
2022-12-03 03:24:24: netdata ERROR : ACLK_Main : Error trying to contact env endpoint
2022-12-03 03:24:24: netdata ERROR : ACLK_Main : Failed to Get ACLK environment
2022-12-03 03:24:24: netdata INFO : ACLK_Main : Wait before attempting to reconnect in 2.071 seconds2022-12-03 03:24:26: netdata INFO : ACLK_Main : Attempting connection now
2022-12-03 03:24:26: netdata ERROR : ACLK_Main : Cert Chain verify error:num=20:unable to get local issuer certificate:depth=2:/C=US/O=Internet Security Research Group/CN=ISRG Root X1 (errno 2, No such file or directory)
2022-12-03 03:24:26: netdata ERROR : ACLK_Main : SSL_write Err: SSL_ERROR_SSL
2022-12-03 03:24:26: netdata ERROR : ACLK_Main : Couldn’t write HTTP request header into SSL connection
2022-12-03 03:24:26: netdata ERROR : ACLK_Main : Couldn’t process request
2022-12-03 03:24:26: netdata ERROR : ACLK_Main : Error trying to contact env endpoint
2022-12-03 03:24:26: netdata ERROR : ACLK_Main : Failed to Get ACLK environment
2022-12-03 03:24:26: netdata INFO : ACLK_Main : Wait before attempting to reconnect in 5.409 seconds2022-12-03 03:24:32: netdata INFO : ACLK_Main : Attempting connection now
2022-12-03 03:24:32: netdata ERROR : ACLK_Main : Cert Chain verify error:num=20:unable to get local issuer certificate:depth=2:/C=US/O=Internet Security Research Group/CN=ISRG Root X1 (errno 2, No such file or directory)
2022-12-03 03:24:32: netdata ERROR : ACLK_Main : SSL_write Err: SSL_ERROR_SSL
2022-12-03 03:24:32: netdata ERROR : ACLK_Main : Couldn’t write HTTP request header into SSL connection
2022-12-03 03:24:32: netdata ERROR : ACLK_Main : Couldn’t process request
2022-12-03 03:24:32: netdata ERROR : ACLK_Main : Error trying to contact env endpoint
2022-12-03 03:24:32: netdata ERROR : ACLK_Main : Failed to Get ACLK environment
2022-12-03 03:24:32: netdata INFO : ACLK_Main : Wait before attempting to reconnect in 11.109 seconds2022-12-03 03:24:43: netdata INFO : ACLK_Main : Attempting connection now
2022-12-03 03:24:43: netdata ERROR : ACLK_Main : Cert Chain verify error:num=20:unable to get local issuer certificate:depth=2:/C=US/O=Internet Security Research Group/CN=ISRG Root X1 (errno 2, No such file or directory)
2022-12-03 03:24:43: netdata ERROR : ACLK_Main : SSL_write Err: SSL_ERROR_SSL
2022-12-03 03:24:43: netdata ERROR : ACLK_Main : Couldn’t write HTTP request header into SSL connection
2022-12-03 03:24:43: netdata ERROR : ACLK_Main : Couldn’t process request
2022-12-03 03:24:43: netdata ERROR : ACLK_Main : Error trying to contact env endpoint
2022-12-03 03:24:43: netdata ERROR : ACLK_Main : Failed to Get ACLK environment
2022-12-03 03:24:43: netdata INFO : ACLK_Main : Wait before attempting to reconnect in 20.029 seconds2022-12-03 03:24:45: netdata ERROR : HEALTH[GSB10G-20] : Failed to prepare statement when trying to filter alert events.
2022-12-03 03:24:45: netdata ERROR : HEALTH[GSB10G-20] : Failed to prepare statement to store alert event
2022-12-03 03:24:58: netdata INFO : MAIN : Command Clients = 12022-12-03 03:24:58: netdata INFO : MAIN : EOF found in command pipe.
2022-12-03 03:24:58: netdata INFO : MAIN : COMMAND: Reopening aclk/cloud state.
2022-12-03 03:24:58: netdata INFO : MAIN : COMMAND: Sending reply: “X0”
2022-12-03 03:24:58: netdata INFO : MAIN : Command Clients = 02022-12-03 03:25:03: netdata INFO : ACLK_Main : Attempting connection now
2022-12-03 03:25:03: netdata ERROR : ACLK_Main : Cert Chain verify error:num=20:unable to get local issuer certificate:depth=2:/C=US/O=Internet Security Research Group/CN=ISRG Root X1 (errno 2, No such file or directory)
2022-12-03 03:25:03: netdata ERROR : ACLK_Main : SSL_write Err: SSL_ERROR_SSL
2022-12-03 03:25:03: netdata ERROR : ACLK_Main : Couldn’t write HTTP request header into SSL connection
2022-12-03 03:25:03: netdata ERROR : ACLK_Main : Couldn’t process request
2022-12-03 03:25:03: netdata ERROR : ACLK_Main : Error trying to contact env endpoint
2022-12-03 03:25:03: netdata ERROR : ACLK_Main : Failed to Get ACLK environment
2022-12-03 03:25:03: netdata INFO : ACLK_Main : Wait before attempting to reconnect in 39.480 seconds
Please any help here? I tried on some other machines as well and all same issue.