Closed hksinsinwar closed 5 years ago
{error,econnrefused} means that ejabberd was not able to connect to http server that should handle http auth request, possibly connection blocked by firewall or wrong url in that auth_http configuration?
Hi @prefiks
Thanks for your response.
Can you help me out how can i get more information, like what is the auth server url and actual server url ejabberd is using,
I am able to connect using CURL and postman
curl -XGET http://127.0.0.1:8093/check_password
My configuration is
auth_method: http
auth_opts:
host: "http://127.0.0.1:8093"
connection_pool_size: 10
connection_opts: []
basic_auth: ""
path_prefix: "/"
I added extra information in debug and findout that ejabberd_http_mod is trying to connect host http://localhost:12000
not the one i configured in auth_opts to
http://localhost:8093
Can you help me why it is not picking the provided host for authentication ?
Could you check if restarting ejabberd or executing 'ejabberdctl reload_config' fixes that? Possibly you changed your config after ejabberd already loaded it? Are both of those options at start of a line, there is no spaces before them?
Hi @prefiks
Thanks for your kind support. Actually issue was with config file location.
Ejabberd CONTRIB_MODULES_CONF_DIR variable, Upon installation ejabberd is not moving the configuration file from module to <
Now it is picking the configuration, Thanks again 👍
Ejabberd server : 19.3 I am seeing this error in log, related issues are already reported, but none of the solutions worked for me. Please give a some insights or help in this as I am not a ERLang specialist