I need to get response on this URL:
我需要对此网址进行回复:
https://[host IP]:8088/api/admin
https:// [主机IP]:8088 / api / admin
I tried so many different configs so you might see extra stuff commented out.
我尝试了很多不同的配置,所以你可能会看到额外的东西被注释掉了。
I can easily access the web page, the only issue is, I cannot call admin api from application. No response in this regard.
我可以轻松访问网页,唯一的问题是,我无法从应用程序调用admin api。在这方面没有回应。
Here are logs and config
https://pastebin.com/42pSg9yN
This is an AWS instance with Ubunutu 16.04
这是使用Ubunutu 16.04的AWS实例
I have tried following this * Answer too and also followed the official DOC too.
我已经尝试过这个*应答也是也跟着官方DOC。
How to call ejabberd Administrator API
如何调用ejabberd Administrator API
https://docs.ejabberd.im/developer/ejabberd-api/simple-configuration/
https://docs.ejabberd.im/developer/ejabberd-api/simple-configuration/
If there is anything you need to get a better understanding, Let me know.
如果您需要更好的理解,请告诉我。
1 个解决方案
#1
0
I think that your configuration file have some conflicts.
我认为你的配置文件有一些冲突。
Plus the REST endpoints for admin is "/api" not "/api/admin".
另外,管理员的REST端点是“/ api”而不是“/ api / admin”。
If you have just installed ejaberred, I'll suggest you to do a clean installation using the official linux installer (not apt-get).
如果您刚刚安装了ejaberred,我建议您使用官方linux安装程序(不是apt-get)进行全新安装。
The installer is interactive and will generate most of the configurations for you.
安装程序是交互式的,将为您生成大多数配置。
Thanks
谢谢
#1
0
I think that your configuration file have some conflicts.
我认为你的配置文件有一些冲突。
Plus the REST endpoints for admin is "/api" not "/api/admin".
另外,管理员的REST端点是“/ api”而不是“/ api / admin”。
If you have just installed ejaberred, I'll suggest you to do a clean installation using the official linux installer (not apt-get).
如果您刚刚安装了ejaberred,我建议您使用官方linux安装程序(不是apt-get)进行全新安装。
The installer is interactive and will generate most of the configurations for you.
安装程序是交互式的,将为您生成大多数配置。
Thanks
谢谢