Installing WORKER role hangs

task - install rancher worker role

conditions - v2.6.2, rke2, k3s, (v1.21.6+k3s1), updated ubuntu 20.04, gre tunnel from local network to remote server, I have not tested it on a virtual machine from another provider, there is no such possibility yet, of course, I will check for linode or hetzner later. connection between lan and remote virtual server on cloud provider - gre tunnel(ping, tracerote shows all is ok with connection)

consequence - installing worker role hangs

cause - presumably network configuration, but …

Nov 17 11:44:23 linuxsrv11 k3s[2283]: time=“2021-11-17T11:44:23.643510196Z” level=error msg=“failed to get CA certs: Get “https://127.0.0.1:6444/cacerts”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)”

root@linuxsrv1:~# curl -v https://127.0.0.1:6444/cacerts

  • Trying 127.0.0.1:6444…
  • TCP_NODELAY set
  • Connected to 127.0.0.1 (127.0.0.1) port 6444 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: /etc/ssl/certs
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • OpenSSL SSL_connect: Connection reset by peer in connection to 127.0.0.1:6444
  • Closing connection 0
    curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to 127.0.0.1:6444

comment - nginx same port with custom ssl cert - working, no Connection reset by peer in curl

on local ubuntu installation in local network all works fine, worker role installs within 35 seconds.

F1.

auto resolved
gre site-to-client vpn is not the option to make hybrid cluster.
replaced site-to-client to site-to-site vpn - all worked.