Closed cabaalexander closed 3 months ago
I'm working on a local network (raspberry setup). I'm setting up caprover on a raspberry headless and access it on other devices.
When I try to use caprover login it fails because of the certificate but I'm using local IP: captain.10.0.0.37.sslip.io.
caprover login
captain.10.0.0.37.sslip.io
It tried to use HTTPS, but then I tried to force it to HTTP and those did not work.
Here are some logs as an example:
? CapRover machine URL address, it is "[http[s]://][captain.]your-captain-root.domain": https://captain.10.0.0.37.sslip.io ? CapRover machine password: [hidden] ? CapRover machine name, with whom the login credentials are stored locally: captain-01 Something bad happened: cannot save captain-01 at https://captain.10.0.0.37.sslip.io. Error: self-signed certificate node on master is 📦 v0.0.1 via ⬢ v18.18.2 took 12s ↪ 🤩 caprover login Login to a CapRover machine@@... undefined ? CapRover machine URL address, it is "[http[s]://][captain.]your-captain-root.domain": http://captain.10.0.0.37.sslip.io ? CapRover machine password: [hidden] ? CapRover machine name, with whom the login credentials are stored locally: captain-01 Something bad happened: cannot save captain-01 at http://captain.10.0.0.37.sslip.io. 404 - "<!doctype html>\n<html>\n\n<head>\n <meta charset=utf-8>\n <meta content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no\" name=viewport>\n <title>Powered by CapRover</title>\n <style>\n html,\n body {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n background-color: #F7F8FB;\n height: 100%;\n -webkit-font-smoothing: antialiased;\n }\n\n body {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n .message {\n text-align: center;\n align-self: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 20px;\n max-width: 550px;\n }\n\n .message__title {\n font-size: 32px;\n font-weight: 100;\n margin-top: 15px;\n color: #47494E;\n margin-bottom: 8px;\n }\n\n .btn {\n text-decoration: none;\n padding: 11px 25px;\n border-radius: 11px;\n margin-top: 110px;\n font-size: 19px;\n color: #7F828B;\n }\n\n body.defaultpagebody {\n background: -webkit-linear-gradient(-45deg, #1d5b85 0%, #3295c7 100%);\n background: linear-gradient(135deg, #1d5b85 0%, #3295c7 100%);\n }\n\n .message__title {\n color: #fff;\n }\n\n .message {\n padding: 25px;\n color: #fff;\n }\n\n body.defaultpagebody p {\n color: rgba(255, 255, 255, 0.6);\n }\n\n body.defaultpagebody .info {\n fill: rgba(255, 255, 255, 0.9);\n }\n\n body.defaultpagebody .btn {\n color: #fff;\n border: 2px solid rgba(255, 255, 255, 0.7);\n }\n </style>\n <base target=_parent />\n</head>\n\n<body class=defaultpagebody>\n <div class=message>\n <div class=message__title>\n Nothing here yet :/\n </div>\n <div class=message>\n \n </div>\n <a href=\"https://caprover.com/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"btn\">\n Read Docs</a>\n </div>\n</body>\n\n</html>"
If my root domain is set to captain.10.0.0.37.sslip.io should this work to login ?
I'd want to set up caprover completly on my local network and then as I need public access I should forward the ports and link the domain and stuffs.
I discovered myself that I miss to add the subdomain captain.* so instead of:
captain.*
it should be:
captain.captain.10.0.0.37.sslip.io
My bad.
I'm working on a local network (raspberry setup). I'm setting up caprover on a raspberry headless and access it on other devices.
When I try to use
caprover login
it fails because of the certificate but I'm using local IP:captain.10.0.0.37.sslip.io
.It tried to use HTTPS, but then I tried to force it to HTTP and those did not work.
Here are some logs as an example:
If my root domain is set to
captain.10.0.0.37.sslip.io
should this work to login ?I'd want to set up caprover completly on my local network and then as I need public access I should forward the ports and link the domain and stuffs.