# Configure XMPP in Nextcloud addon "Javascript XMPP Client"

**URL:** <https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934>\
**Category:** Support\
**Created:** [May 29, 2017, 8:50pm UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934 "2017-05-29T20:50:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![frederik3267](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/f/cab0a1/32.png) [@frederik3267](https://forum.yunohost.org/u/frederik3267)\
**Post date:** [May 29, 2017, 8:50pm UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934/1 "2017-05-29T20:50:45Z")

</div>

_Nextcloud version: 11.0.2_  
_Operating system: Debian 8_  
_YunoHost: 2.5.6_

Hello

I am new to YunoHost so please correct me if I’m wrong. YunoHost has per default a XMPP server at domain.tld, and a BOSH server, for the client, which has to be used in Nextcloud, at “[https://bosh.domain.tld:5222/http-bind](https://bosh.domain.tld:5222/http-bind)”.

This all makes sense to me, however, when I, in the addon at Nextcloud called “JavaScript XMPP Client”, put in the following, please see picture below, it doesn’t work, with the error message also seen below. Does anyone know what I’m doing wrong?

[![](https://s12.postimg.org/yo0p120rd/Selection_002.png)](https://postimg.org/image/yo0p120rd/)

Looking forward to getting any help on this issue.

---

<div class="post-metadata">

**Author:** ![kanhu](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kanhu/32/3518_2.png) [@kanhu](https://forum.yunohost.org/u/kanhu)\
**Post date:** [May 29, 2017, 10:16pm UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934/2 "2017-05-29T22:16:45Z")

</div>

Is you bosh server reachable like [https://im.yunohost.org/http-bind/](https://im.yunohost.org/http-bind/)

---

<div class="post-metadata">

**Author:** ![frederik3267](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/f/cab0a1/32.png) [@frederik3267](https://forum.yunohost.org/u/frederik3267)\
**Post date:** [May 30, 2017, 1:19am UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934/3 "2017-05-30T01:19:53Z")

</div>

Thank you for your answer.

Unfortunately not, it just redirects me to the admin panel.

Looking forward to your reply.

---

<div class="post-metadata">

**Author:** ![kanhu](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kanhu/32/3518_2.png) [@kanhu](https://forum.yunohost.org/u/kanhu)\
**Post date:** [May 30, 2017, 1:53am UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934/4 "2017-05-30T01:53:08Z")

</div>

The bosh is activated in by default as @Moul indicated in [Bosh support for metronome](https://forum.yunohost.org/t/bosh-support-for-metronome/2862/2). The default domain need to be redirected to bosh interface i.e [http://127.0.0.1:5290/http-bind](http://127.0.0.1:5290/http-bind). You can archive this by yunohost redirect app [https://github.com/YunoHost-Apps/redirect\_ynh#invisible-proxy-redirect](https://github.com/YunoHost-Apps/redirect_ynh#invisible-proxy-redirect).  
It will be proxy pass with bosh.domain.tld/http-bind -\> [http://127.0.0.1:5290/http-bind](http://127.0.0.1:5290/http-bind).

---

<div class="post-metadata">

**Author:** ![frederik3267](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/f/cab0a1/32.png) [@frederik3267](https://forum.yunohost.org/u/frederik3267)\
**Post date:** [May 30, 2017, 10:29am UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934/5 "2017-05-30T10:29:00Z")

</div>

Thank you for your help kanhu, it solved the problem!

Have a great day 🙂

---

<div class="post-metadata">

**Author:** ![Jaxom99](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jaxom99/32/776_2.png) [@Jaxom99](https://forum.yunohost.org/u/Jaxom99)\
**Post date:** [February 12, 2018, 2:42pm UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934/6 "2018-02-12T14:42:06Z")

</div>

Just passing by, not on nextcloud but this post helped me so much 🙏  
🤘 Yeah, it wooorks !! 🤘 So XMPP and BOSH are starting to be clearer in my head, thanks to you, the amazing YNH community 😃

Now, on to logging and history of the channels !  
Is there a dedicated thread about XMPP on the forums ?

---

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [January 18, 2023, 8:17pm UTC](https://forum.yunohost.org/t/configure-xmpp-in-nextcloud-addon-javascript-xmpp-client/2934/7 "2023-01-18T20:17:01Z")

</div>

Closed on January 18, 2023, 8:17pm UTC


