OHDSI Home | Forums | Wiki | Github

Broadsea WebApi Container Resets every 30 seconds

(Newbie here) I am trying to get the Brodsea setup from here:
https://github.com/OHDSI/Broadsea
I tried to deploy it on my local Linux machine and also on a AWS EC2 instance and I have the same error.
The WebApi container restarts every ~30 seconds. The docker logs say
ERROR main org.apache.juli.logging.DirectJDKLog - [] - Unable to create initial connections of pool.
The other containers seem to be working fine.
Browsing to http://127.0.0.1/broadsea returns a 404-page not found error
Any ideas?
Please and thank you.

Hi Robert,

Use this development branch of Broadsea: https://github.com/OHDSI/Broadsea/tree/develop

It is the latest version (3.0). If you have issues, please join us on our Discord server, currently beta testing, where we can help you further.

Thank you Sanjay,
I pulled the repository with
“git clone --branch develop https://github.com/OHDSI/Broadsea.git”
and when I do “docker-compose pull”, it only pulls the traefik image.

If I do “git clone https://github.com/OHDSI/Broadsea.git” I get the same problem (webapi container resetting due lack of connectivity with the db)

With this new Broadsea (develop branch), please follow the Readme carefully, as a lot has changed. The .env file needs to be authored based upon your use case, as that drives everything. There isn’t a need to run docker-compose pull.

Also, this version of Broadsea uses a very helpful function called “profiles”. Profiles define what services you wish to launch. So “docker-compose up -d” will not work.

You will have to specify, “docker-compose --profile default up -d” for the default services to launch. Instructions are in the README. You define individual service environmental variables in the .env file, and you setup your profiles in the docker-compose.yml.

Profile “default” launches everything you need to get up and running, and you can add services as you need once you get to various advanced phases of testing and production.

Hope that helps.

Thank you all,
I redeployed everything fresh from here:
https://github.com/OHDSI/Broadsea (committed 2 hours ago)
and all seems to be working fine now.

2 Likes

Great to hear! Please add any issues you find to the github repo

t