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

BBRF server error #13

Open
bughunter-0 opened this issue Aug 20, 2022 · 5 comments
Open

BBRF server error #13

bughunter-0 opened this issue Aug 20, 2022 · 5 comments

Comments

@bughunter-0
Copy link

bughunter-0 commented Aug 20, 2022

{
"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

@honoki
Copy link
Owner

honoki commented Aug 20, 2022

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

@bughunter-0
Copy link
Author

@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

@honoki
Copy link
Owner

honoki commented Aug 20, 2022

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.

@bughunter-0
Copy link
Author

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

@bughunter-0
Copy link
Author

@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

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

2 participants