bbrf-client icon indicating copy to clipboard operation
bbrf-client copied to clipboard

ssl_error

Open bughunter-0 opened this issue 2 years ago • 7 comments

after creating counchdb server and fill up the information : this what happen ...(in png) Capture d’écran 2022-08-19 143514 .

bughunter-0 avatar Aug 19 '22 13:08 bughunter-0

The domain where you hosted bbrf, has a self-signed certificate ... maybe use Let's encrypt ...

Sim4n6 avatar Aug 19 '22 15:08 Sim4n6

Try adding "ignore_ssl_errors": "true" to your config.json file.

after creating counchdb server and fill up the information : this what happen ...(in png) Capture d’écran 2022-08-19 143514 .

pdelteil avatar Aug 19 '22 18:08 pdelteil

@pdelteil changed to true ...still not work

er

Capture d’écran 2022-08-20 001332

bughunter-0 avatar Aug 19 '22 23:08 bughunter-0

The error now is different. You are trying to create a program with a domain as name. Try using Apple instead of apple.com.

Also, use "true" and not true.

pdelteil avatar Aug 19 '22 23:08 pdelteil

@pdelteil : still the same issue :(

bbrf new Apple [ERROR] BBRF server error: method_not_allowed

bughunter-0 avatar Aug 20 '22 01:08 bughunter-0

Same error here:

~/.bbrf/config.json

"ignore_ssl_errors": true
docker-compose logs proxy

Attaching to bbrf-server_proxy_1 proxy_1 | 2022/08/30 13:09:27 [emerg] 1#1: cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) proxy_1 | nginx: [emerg] cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) proxy_1 | 2022/08/30 14:21:59 [emerg] 1#1: cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) proxy_1 | nginx: [emerg] cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

bbrf new anything

[ERROR] Expecting value: line 1 column 1 (char 0)

GiuBravo avatar Aug 30 '22 14:08 GiuBravo

Same error here:

~/.bbrf/config.json

"ignore_ssl_errors": true
docker-compose logs proxy

Attaching to bbrf-server_proxy_1 proxy_1 | 2022/08/30 13:09:27 [emerg] 1#1: cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) proxy_1 | nginx: [emerg] cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) proxy_1 | 2022/08/30 14:21:59 [emerg] 1#1: cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) proxy_1 | nginx: [emerg] cannot load certificate "/etc/nginx/keys/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/keys/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

bbrf new anything

[ERROR] Expecting value: line 1 column 1 (char 0)

Hi,

It's not the same error. You are getting an error due to lack of certificates on the nginx/docker. BBRF is not returning a SSL error.

pdelteil avatar Aug 30 '22 16:08 pdelteil

Is not the same issue, you're getting a different one. Is debug mode on?

On Fri, Aug 19, 2022, 20:02 bughunter-0 @.***> wrote:

@pdelteil https://github.com/pdelteil : still the same issue :(

bbrf new Apple [ERROR] BBRF server error: method_not_allowed

— Reply to this email directly, view it on GitHub https://github.com/honoki/bbrf-client/issues/102#issuecomment-1221194656, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2OS74BRAUQGK6PIWKQBADV2AVATANCNFSM57AZNRUA . You are receiving this because you were mentioned.Message ID: @.***>

pdelteil avatar Oct 11 '22 07:10 pdelteil

@GiuBravo since we haven't heard back I'm closing this issue. It looks like your certificates were not correctly generated or placed in the right folder. If you're facing further issues, please create a new issue on the bbrf-server project.

honoki avatar Feb 01 '23 16:02 honoki