-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ejabberd_auth_http: fusco_lib.erl deprecation warnings #338
Comments
ejabberd_auth_http depends on the fusco library, which was last updated 3 years ago... So it's to be expected that it isn't up to date with recent changes. There is no fork with that fixed. Fortunately it's a warning, and will work with Erlang/OTP 26 which is still the recommended version for some months. Other than that, does ejabberd_auth_http work correctly for you? |
Thanks for explanation! Also, I'm having some problems integrating the ejabberd_auth_http plugin.
When I try to use http endpoint instead of https its return me only 301 responce code without redirection:
Could you please tell me what I'm doing wrong ejabberd.yml
docker-compose.yml
full logs
|
Hi, I tried to replicate your problem, but I faced a pair of inconsistencies before reaching that state. You are calling If I try that query, I get as response Surprisingly, in you case that query gets converted to the proper command, called check_password I don't know what implements that command-name conversion, did you install any other module, or using an older container image? The [main] | 10:02:42.489 [info] Start accepting TCP connections at [::]:5280 for :ejabberd_http
[main] | :> ejabberdctl module_install ejabberd_auth_http
[main] | I'll download "fusco" using git because I can't use Mix to fetch from hex.pm:
[main] | /bin/sh: mix: not found
[main] | Fetching dependency cuesport: /bin/sh: git: not found
[main] | Fetching dependency fusco: /bin/sh: git: not found
[main] | Module ejabberd_auth_http has been installed.
[main] | Now you can configure it in your ejabberd.yml
[main] | I'll download "fusco" using git because I can't use Mix to fetch from hex.pm:
[main] | /bin/sh: mix: not found In your ejabberd log file, it shows git is installed and used. Did you install it manually, or are using another container image? The precise problem appears when ejabberd_auth_http executes this should return
I don't know if that means that some option provided to fusco is problematic, or maybe there was some problem and fusco is simply returning the options it used... |
on the ejabberd-24
The text was updated successfully, but these errors were encountered: