ejabberd无状态配置

编程入门 行业动态 更新时间:2024-10-27 12:34:35
本文介绍了ejabberd无状态配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我对XMPP真的很陌生,所以我决定与ejabberd一起去。首先,我尝试在ubuntu上进行配置,但接连出现错误,我只是切换到Windows。服务器正在运行。

I'm really new to XMPP and I decided to go with ejabberd. Firstly I tried to configure it on ubuntu, but I got error after error and I just switched to windows. The server is running now.

我已经安装了XAMPP,并使用strophe.js测试了连接。

I've installed XAMPP and I tested the connection with strophe.js.

我已经阅读了有关ejabberd的一些文档,并观看了教程视频,并且那个人谈论无状态配置(仅使用ejabberd来处理消息,并拥有自己的数据库,我保存邮件,用户等)。我想实现这一目标,但我真的不知道从哪里开始。我假设我必须将消息发布到我的数据库中进行存储,并发布到ejabberd进行推送。

I've read some of the documentation on ejabberd and watched the tutorial videos and that guy talks about stateless configuration( use ejabberd only of messages and have my own database in which I save messages,users etc). I want to achieve that, but I don't really know where to start. I assume that I would have to post the message to my database for storing and also to the ejabberd for pushing.

有什么想法/示例/教程吗?

Any ideas/examples/tutorials?

编辑:

2016-05-22 20:28:32.746 [error] <0.532.0>@ejabberd_sql:check_error:991 SQL query 'Q9525209' at {sql_queries,145} failed: <<"Unknown Host">> 2016-05-22 20:28:32.746 [error] <0.532.0>@ejabberd_sql:check_error:991 SQL query 'Q9525209' at {sql_queries,145} failed: <<"Unknown Host">> 2016-05-22 20:28:32.746 [error] <0.532.0>@ejabberd_auth:is_user_exists:316 The authentication module ejabberd_auth_sql returned an error when checking user <<"admin">> in server <<"localhost">> Error message: <<"Unknown Host">>

配置:

## ## MySQL server: ## odbc_type: mysql odbc_server: "127.0.0.1" odbc_database: "ej_chatapp" odbc_username: "root" odbc_password: "password" ## ## If you want to specify the port: odbc_port: 3306 auth_method: odbc

推荐答案

在我的视频中,无状态配置在ejabberd SaaS的上下文中被提及: ejabberd-saas

In my videos, Stateless configuration is mentioned in the context of ejabberd SaaS: ejabberd-saas

ejabberd SaaS提供了可用于指向您自己的后端的API。这些API在ejabberd中不可用,仅在SaaS中可用,以简化与客户后端的集成。

ejabberd SaaS provide API that can be used to point to your own backend. Those API are not available in ejabberd, only available in SaaS to ease integration with customer backends.

更多推荐

ejabberd无状态配置

本文发布于:2023-11-09 03:17:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1571249.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:状态   ejabberd

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!