sparse-student-54516
10/22/2021, 12:28 PMerror: Rancher is not ready: Doing get: Get "<https://65.21.242.158/ping>": dial tcp 65.21.242.158:443: connect: connection refused
const bootstrap = new rancher2.Provider("bootstrap", {
apiUrl: rancherUrl,
bootstrap: true,
insecure: true,
});
const admin = new rancher2.Bootstrap("admin", {
password: "focuswow",
telemetry: true,
}, {
provider: bootstrap,
dependsOn: [rancherServer],
});
const github = new rancher2.AuthConfigGithub("github", {
clientId: "<CLIENT_ID>",
clientSecret: "<CLIENT_SECRET>",
}, {
provider: bootstrap,
dependsOn: [admin],
});
billowy-army-68599
10/22/2021, 3:06 PMsparse-student-54516
10/22/2021, 3:07 PMbillowy-army-68599
10/22/2021, 3:08 PMsparse-student-54516
10/22/2021, 3:09 PMbillowy-army-68599
10/22/2021, 3:12 PMcurl <https://65.21.242.158/ping>
what happens?sparse-student-54516
10/22/2021, 3:14 PM➜ devops-rancher-next git:(feat/pre-prod-next) ✗ curl <https://65.21.242.158/ping>
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: <https://curl.haxx.se/docs/sslcerts.html>
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
http
billowy-army-68599
10/22/2021, 3:22 PMRANCHER_INSECURE
or pulumi config set rancher:insecure true
sparse-student-54516
10/22/2021, 3:23 PMpulumi config set rancher:insecure true
worked for me to create github as Auth provider.
Thank you very muchbillowy-army-68599
10/22/2021, 3:40 PMsparse-student-54516
10/27/2021, 8:26 AM