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

Deploying Caprover - ARM SSL Error #2042

Open
barcovanrhijn opened this issue Apr 15, 2024 · 4 comments
Open

Deploying Caprover - ARM SSL Error #2042

barcovanrhijn opened this issue Apr 15, 2024 · 4 comments

Comments

@barcovanrhijn
Copy link

What is the problem?

When deploying Caprover to a new server using Arm64 I'm getting a weird SSL error

Error: RequestError: Error: write EPROTO C0A74550F0730000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1605:SSL alert number 40

Steps to reproduce the problem:

Install Docker & Then deploy Caprover.
Use caprover serversetup to setup. The error appears after "Enabling SSL... Takes a few seconds..."

Output of the following command on your server:

uname -a && lsb_release -a && free -h

Linux appserver2 5.15.0-100-generic #110-Ubuntu SMP Wed Feb 7 13:28:04 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
total used free shared buff/cache available
Mem: 3.7Gi 314Mi 275Mi 4.0Mi 3.1Gi 3.2Gi
Swap: 0B 0B 0B

@barcovanrhijn
Copy link
Author

Hmm getting the same error when deploying to X64. I've considered that this might be Cloudflare related and removed the proxy setting on Cloudflare. But still no dice.

@githubsaturn
Copy link
Collaborator

This also could be a local issue on your local machine (e.g. your laptop). Can you try finishing the set up using the web GUI? You can login to ip:3000 on your browser and manually set the domain and enable/force SSL. Does this work?

@storageddd
Copy link

storageddd commented May 5, 2024

I have same error. After I tried to setup it manually, captain subdomain stops working and I have to many redirects error.

Next steps helped me to solve the issue:

  1. disable SSL (include force redirects) on domain provider (in my case Cloudflare);
  2. remove caprover container via ssh;
  3. install caprover and local setup;
  4. create new app in captain interface (caprover.yourdomain.io) and enable HTTPS redirects personally for it (app.yourdomain.io);
  5. enable SSL on domain provider (without force HTTP redirects).

@barcovanrhijn
Copy link
Author

barcovanrhijn commented May 6, 2024 via email

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

3 participants