Closed podkilla closed 3 years ago
Hi! captcha-ng.sh works for me following the instructions from ecs/README
In your case, if captcha.sh works, obviously you already have convert installed. That ejabberd error message is pretty generic. If you can check what's the output of the captcha script, it may provide some pointer to the real problem.
Thanks.
I added the line
captcha_url: https://localhost:5443/captcha
to my ejabberd.yml as stated in ecs/README. Captchas work as intended now. With the old script this line was not necessary.
Dockerfile
docker-compose
Registering new accounts on host via new captcha.sh https://github.com/processone/ejabberd/pull/3533 gives error:
2021-04-03 00:10:54.793125+02:00 [error] <0.711.0>@ejabberd_captcha:do_create_image/1:407 Failed to process output from "/home/ejabberd/conf/captcha.sh 139043". Maybe ImageMagick's Convert program is not installed.
The "old" example captcha.sh script worked but resulted in a LOT of bot accounts, so i gave the new one a shot.