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

BBRF server error

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

{ "username": "admin", "password": "password", "couchdb": "https://127.0.0.1/_utils/#database/bbrf/_all_docs/bbrf", "slack_token": "", "discord_webhook": "", "ignore_ssl_errors": "true" }

bbrf new google

the resault

[ERROR] BBRF server error: method_not_allowed

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

Hi - it looks like your couchdb configuration isn't right. It should probably read https://127.0.0.1/bbrf

Refer to the documentation for more details about configuring the config.json file

honoki avatar Aug 20 '22 15:08 honoki

@honoki : i changed as you said :

{ "username": "admin", "password": "amine", "couchdb": "https://127.0.0.1/bbrf", "slack_token": "", "discord_webhook": "", "ignore_ssl_errors": "true" }

and return

bbrf new apple [ERROR] BBRF server error: illegal_docid

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

It's possible a document with that id already exists. You can add "debug":true to your config and see if that shows any more error messages.

honoki avatar Aug 20 '22 16:08 honoki

and did the bbrf-init.sh in /bbrf-server/couchdb/ correct Capture d’écran 2022-08-20 172443

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

@honoki i added

{ "username": "admin", "password": "amine", "couchdb": "https://127.0.0.1/bbrf", "slack_token": "", "discord_webhook": "", "ignore_ssl_errors": "true", "debug":true }

show like :

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 127.0.0.1:443 DEBUG:urllib3.connectionpool:https://127.0.0.1:443 "PUT /bbrf/apple HTTP/1.1" 400 73 [ERROR] BBRF server error: illegal_docid

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