Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keptn Installation Fails With Authentication Was Unsuccessful #51

Open
PuneetKaur0607 opened this issue Sep 6, 2021 · 0 comments
Open

Comments

@PuneetKaur0607
Copy link

PuneetKaur0607 commented Sep 6, 2021

Hi @grabnerandi ,

Installation is being executed on EC2 machine from AWS. I have followed the steps in the .readme file precisely under release-0.8.0. Tried many times on many different virtual machines, but I am still getting same error after starting the installation with this command:

./install-keptn-on-k3s.sh --controlplane --provider aws --with-dynatrace --with-demo dynatrace --letsencrypt --with-gitea

Its going fine through many steps (Please see attached file log below), but when reaching keptn installation step it fails here:

Installing the Keptn CLI
We'll install specified Keptn version 0.8.6
Determined target architecture x86_64
Downloading keptn 0.8.6 for OS linux with architecture amd64 from GitHub: https://github.com/keptn/keptn/releases/download/0.8.6/keptn-0.8.6-linux-amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   638  100   638    0     0   3775      0 --:--:-- --:--:-- --:--:--  3775
100 24.7M  100 24.7M    0     0  51.9M      0 --:--:-- --:--:-- --:--:-- 96.8M
Unpacking archive keptn-0.8.6-linux-amd64.tar.gz in current directory ...
keptn-0.8.6-linux-amd64
-rwxr-xr-x 1 1001 121 62789876 Jul  8 05:41 keptn-0.8.6-linux-amd64
Moving keptn binary to /usr/local/bin

Keptn CLI installation completed successfully!
You can check Keptn installation by running:

keptn --help

To install Keptn in your cluser, please follow the documentation https://keptn.sh/docs/ or execute

keptn install

Learn more on how to use Keptn in our tutorials https://tutorials.keptn.sh/
Welcome aboard!
* Warning: could not check Keptn server version: This command requires to be authenticated. See "keptn auth" for details
Starting to authenticate
Authentication was unsuccessful. invalid character '<' looking for beginning of value
-----DETAILS-----<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

Retrying...
Authentication was unsuccessful. invalid character '<' looking for beginning of value
-----DETAILS-----<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

Retrying...
Authentication was unsuccessful. invalid character '<' looking for beginning of value
-----DETAILS-----<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

Retrying...
Error: Authentication was unsuccessful - could not authenticate against the server.

Seems like https://keptn.34.238.152.105.nip.io is just responding with 404 on all requests. It used to work for me on earlier releases with xip.io, any new issue now with nip.io?

I am attaching a full log output of my terminal session.
kept installation log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant