-
Hi. I am attempting to upgrade ejabberd from version 18.12 to 23.10. We are using the extauth module, and we have confirmed that it is a program that simply returns true for "isuser" and "auth." Although I didn't create it, this seems intentional. We use ejabberd to connect with set-top boxes, and since we cannot register ejabberd for every set-top box, it seems like a reasonable approach. However, there were no issues with this in version 18.12. The problem seems to have arisen from version 20 onwards (I couldn't confirm with version 19 as the installation failed). Since updating to 23.10, none of the devices, tsung, or pidgin can connect, and the returned messages are all the same. However, when I tested with the original, uncustomized ejabberd 23.10, I confirmed that pidgin connects properly. Therefore, I suspect it might not be an issue with the authentication module. However, I have no idea which part is causing the problem. My speculation is that perhaps the authentication procedure has been strengthened since version 20, requiring additional configurations, but I cannot be certain. I will attach the logs:
Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I believe this is result of hitting deny rule in access assigned to c2s listener, please check your listener config for port 5223 and see what |
Beta Was this translation helpful? Give feedback.
-
Ok, I will close this issue, session forbidden problem solved by editing the config file. SQL: "REPLACE INTO sm(usec, pid, node, username, resource, priority, info) VALUES (1708665980000094, '<0.3031.0>', 'krms_xmpp@krms_xmpp_server_12', 'tskim', '140875160389904576771890', '', '[{ip,{{172,16,9,252},57896}},\n {conn,c2s_tls},\n {auth_module,ejabberd_auth_external}]');" solved also, but i don't know what i do. sorry about that. |
Beta Was this translation helpful? Give feedback.
I believe this is result of hitting deny rule in access assigned to c2s listener, please check your listener config for port 5223 and see what
access:
you have assigned to it, it looks it returnsdeny