Frage

In ejabberd.cfg Ich habe folgende

{host_config, "thisislove-MacBook-2.local", [{auth_method, [internal, anonymous]},
                          {allow_multiple_connections, false},
                          {anonymous_protocol, both}]}.

aber wenn speeqe Javascript-Client (speeqe.com) mit verbinden, ich sehe es sendet

<body rid='1366284187' xmlns='http://jabber.org/protocol/httpbind' to='thisislove-macbook-2.local' xml:lang='en' wait='60' hold='1' window='5' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>

und der Server antwortet mit

<body xmlns='http://jabber.org/protocol/httpbind' sid='f89bf034b02fa6b884bb0c55be3f1f69e45e3866' wait='60' requests='2' inactivity='30' maxpause='120' polling='2' ver='1.8' from='thisislove-macbook-2.local' secure='true' authid='353072658' xmlns:xmpp='urn:xmpp:xbosh' xmlns:stream='http://etherx.jabber.org/streams' xmpp:version='1.0'><stream:features xmlns:stream='http://etherx.jabber.org/streams'><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register xmlns='http://jabber.org/features/iq-register'/></stream:features></body>

Beachten Sie die Mechanismen, DIGEST-MD5 & EBENE. Wenn mich nicht alles täuscht sollte es auch ANONYMOUS als Mechanismus haben. Also, was ist passiert, dass speeqe einfach beendet die Verbindung.

Als solche ich denke ich etwas in der anonymen Konfiguration oder die muc Config fehlen werden müssen. Im mod_muc configg, ich habe

{mod_muc,      [
      %%{host, "conference.@HOST@"},
      {access, muc},
      {access_create, muc},
      {access_persistent, muc},
      {access_admin, muc_admin},
      {max_room_name, 190},
      {max_room_desc, 190},
      {max_users, 500}
     ]}

Was bin ich dabei?

Danke

War es hilfreich?

Lösung

Dies könnte helfen jemand in Zukunft also hier ist was los war. Ich hatte

{auth_method, internal}. 

statt

{auth_method, [internal, anonymous]}.

Ich habe auch

{access, muc_create, [{allow, local}]}.

statt

{access, muc_create, [{allow, all}]}.

Und schließlich die Raumnamen in local_settings.js von speeqe hatten den Chat-Server haben, auch. Alpha@conference.domain.com (und nicht alpha@domain.com)

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top