Coder Social home page Coder Social logo

bbrf-server's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bbrf-server's Issues

chttpd_auth_cache changes listener died because the _users database does not exist

[notice] 2022-04-19T02:21:58.403323Z nonode@nohost <0.316.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
[error] 2022-04-19T02:21:58.404076Z nonode@nohost emulator -------- Error in process <0.904.0> with exit value:
{database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}

BBRF Listener Timeout Error

Hello devs,
my bbrf listener keeps giving this timeout error after few minutes

bbrf listner &

[ERROR] HTTPSConnectionPool(host='72.XX.XX.XX', port=443): Read timed out. (read timeout=90)

I have tried running the bbrf listener in bot background and a separate tmux session as well.

Dockerhub image

Can you please update the Dockerhub image

[notice] nonode@nohost <0.316.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. 
Create the database to silence this notice.

[error] nonode@nohost emulator -------- Error in process <0.3589.0> with exit value:

{database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}

Nginx docker cannot load certificate /etc/nginx/keys/fullchain.pem

cat ~/.bbrf/config.json | grep "ignore_ssl_errors"

"ignore_ssl_errors": true

docker-compose logs proxy

proxy_1 | 2022/08/30 19:35:29 [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 myprogram

[ERROR] HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /bbrf/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3cddc237b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

docker-compose ps
    Name                       Command               State               Ports            

bbrf-server_couchdb_1 tini -- /docker-entrypoint ... Up 4369/tcp, 5984/tcp, 9100/tcp
bbrf-server_proxy_1 nginx -g daemon off; Exit 1

TCP 443 not opened

Hi,

I am using an AWS Lightsail machine to host this server. The book did everything, DNS, Certbot, passed change.

Docker-compose up -d ends without any error.

However, no TCP 443 is opened to continue the setup.

image

docker ps
CONTAINER ID   IMAGE                COMMAND                  CREATED         STATUS         PORTS                          NAMES
0980f0f12db4   honoki/bbrf-server   "tini -- /docker-ent…"   7 minutes ago   Up 7 minutes   4369/tcp, 5984/tcp, 9100/tcp   bbrf-server-couchdb-1

Any ideas on how to debug this?

Thanks!

Docker Version error on setting up

Hello Devs,
I am trying to setup the bbrf server on my Lionde VPS (debian 11). When running the command docker-compose up -d, I get the following error

root@localhost:~/bbrf-server# docker-compose up -d 
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.

Can you tell why it is so, do I need to manually change the version in compose file ?

Thanks and Regards,

[issue] unknown_error

While removing or adding a big amount of domains/urls (over 100k) I'm getting the error unknown_error

This is the error from the CouchDB Log.

[error] 2021-04-27T23:54:43.969434Z [email protected] <0.27214.75> 5fba4475ec req_err(492424286) unknown_error : badarg

Sometimes all urls/domains are deleted any ways, sometimes there's some left over, running the command again removes all documents.

docker-compose error

❯ sudo docker-compose up -d
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.