ctakes-docker icon indicating copy to clipboard operation
ctakes-docker copied to clipboard

No broker cert file found

Open rashed0120 opened this issue 6 years ago • 5 comments

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”

rashed0120 avatar Jan 14 '19 18:01 rashed0120

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 avatar Jan 15 '19 11:01 tmills

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.

tmills avatar Jan 15 '19 14:01 tmills

Sounds good. Thanks again for your help :)

rashed0120 avatar Jan 15 '19 14:01 rashed0120

@tmills any update on the ctakes docker?

rashed0120 avatar Mar 07 '19 20:03 rashed0120

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.

tmills avatar Mar 12 '19 10:03 tmills