tmills / ctakes-docker

Apache License 2.0
23 stars 18 forks source link

No broker cert file found #33

Open rashed0120 opened 5 years ago

rashed0120 commented 5 years ago

When run the command docker run -v ~/ctakes-docker-clean/log:/log --env-file env_file.txt -it ctakes-as-pipeline I got error an error message no broker cert file found "Error: No broker_cert file found /deploy.sh: exit: line 7: Illegal number: -1". On the other hand, amq broker working perfectly. Moreover, when i ping from the sh i can see the ip address working form the pipeline container . Moreover, i found docker container will automatically stop after “./bin/runPipelineContainer.sh”

tmills commented 5 years ago

Sorry, I updated something in the repo that affects remote processing without fixing the documentation yet to handle the local case. Here's how to workaround until I fix it: The broker will create a file called broker_cert in ~/ctakes-docker/certificate. You should copy that file to ~/ctakes-docker/shared before starting any of the other containers. This allows the entire network to send the data as encrypted which is important for actual clinical data.

tmills commented 5 years ago

Actually, I'll be working through this the next few days as I add some functionality and test it with the local setup. Might be best to wait a few days until I get it all figured out, at which point I'll check in the changes required to get it working locally again.

rashed0120 commented 5 years ago

Sounds good. Thanks again for your help :)

rashed0120 commented 5 years ago

@tmills any update on the ctakes docker?

tmills commented 5 years ago

Sorry for taking so long on this. I just pushed a change that should fix it. When you start the broker container (should do this first), it creates the broker_cert file and will put the broker_cert file into shared/. That is where the other containers are looking for that file if you start them with the scripts. Please let me know if this helps.