Unable to create Client-Side Field Level Encryption enabled connection client with ATLAS in Java

Hi @PrasannaVengadesan_santhanagopalan, and welcome to the forums!

But when trying to create a CSFLE Enabled Client connection the program fails with “Time out error”

Could you share:

  • A minimum reproducible code
  • Error log (stack trace)

As the “time out error” in this case could be caused by various different reasons, i.e. no mongocryptd available on PATH, etc.

I doubt on my docker file setup. due to wrong setup mongocryptd process is not running I guess. can someone please share me sample docker file

You can have a look at github.com/sindbach/field-level-encryption-docker/java for MongoDB Java sync driver running client-side field level encryption example with a Dockerfile (ubuntu).

Regards,
Wan

1 Like