[ Burgos @ 27.08.2005. 12:56 ] @
Kada pokukusam da nesto kazem u nekoj sobi imam problem:

Citat:
[27.08.05 13:54] [405] You are not in this room


Koristim JAJC

[Ovu poruku je menjao random dana 02.09.2005. u 16:03 GMT+1]
[ JovanT @ 29.08.2005. 13:45 ] @
E da, i ja imam ovaj problem. Prvi put sam ga iskusio nakon onog dužeg downtime-a ES-a. Normalno mogu da ćaskam privatno sa ostalim korisnicima dok se u sobama pojavljuje ova greška. Napominjem da je ranije sve radilo kako treba što znači da je problem verovatno u ES serveru...
[ Shadowed @ 29.08.2005. 18:22 ] @
Isto.
[ random @ 30.08.2005. 03:39 ] @
S vremena na vreme su se dešavali neki problemi tog tipa, ali uglavnom ljudi nisu mogli da ih reprodukuju, i nismo mogli da shvatimo u čemu je zapravo problem.

Ako možete sami da provalite tačno u čemu je problem i da mi kažete šta da ispravim (u kodu ili konfiguraciji mu-conference-a), biće sređeno.
[ Shadowed @ 30.08.2005. 16:02 ] @
Mozda da uradis neki search po fajlovima i vidis da li se negde u vezi MUC-a pominju nasi JID-ovi na sumnjiv nacin. Pretpostavljam da niko od nas ne bi znao da ti ista precizno kaze sta da konfigurises.

Sto se reprodukovanja problema tice, mogu kad god hocu. Dovoljno je da udjem u sogu i probam da posaljem neku poruku.
Ako ti nesto znaci XML:
Code:
SEND: <message to="[email protected]" type="groupchat" from="[email protected]/Just Another Jabber Client"><body>test</body></message>

RECV: <message to='[email protected]/Just Another Jabber Client' type='error' from='[email protected]'><body>test</body><error code='405'>You are not in this room</error></message>


Znaci, klijent salje ispravan kod. A nije ni situacija da klijent istripuje da je u sobi jer i ostali vide da jeste. Mislim da sam cak mogao da dodajem ljude na member listu ali pri otvaranju owner form-a i pri promeni subject-a prijavljuje gresku (za owner form - Forbidden, za subject - you are not in this room).

[Ovu poruku je menjao Shadowed dana 30.08.2005. u 17:03 GMT+1]
[ random @ 30.08.2005. 17:15 ] @
Iz priloženog XML-a ne vidim nigde da je tvoj klijent prethodno poslao presence sobi, i da mu je MUC potvrdio presence, role & affiliation.
[ Shadowed @ 30.08.2005. 17:23 ] @
Aha. Nisam dao deo pri ulasku u sobu vec samo pri slanju poruke. Ispravka:
Code:

SEND: <presence to="[email protected]/S"><status>Online</status><x xmlns="http://jabber.org/protocol/muc"/></presence>

RECV: <presence to='[email protected]/Just Another Jabber Client' from='[email protected]/S'><status>Online</status><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/Just Another Jabber Client' affiliation='admin' role='moderator'/></x></presence>

SEND: <iq type="get" to="[email protected]" id="j14"><query xmlns="jabber:iq:browse"/></iq>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]'><body>elitesecurity</body></message>

RECV: <presence to='[email protected]/Just Another Jabber Client' from='[email protected]/MaliGojko'><x xmlns='jabber:x:delay' from='[email protected]/MaliGojko' stamp='20050829T13:58:15'/><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/ChatBot' affiliation='member' role='participant'/></x></presence>

RECV: <presence to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <status>Online</status>
      <priority>5</priority>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T14:39:14'/><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/Psi' affiliation='member' role='participant'/></x></presence>

RECV: <presence to='[email protected]/Just Another Jabber Client' from='[email protected]/Deda_Mraz'>
      <priority>5</priority>
      <x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/Psi' affiliation='none' role='participant'/></x></presence>

RECV: <presence to='[email protected]/Just Another Jabber Client' xml:lang='en' from='[email protected]/Shadowed'><x xmlns='jabber:x:delay' from='[email protected]/Shadowed' stamp='20050830T16:14:57'/><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/TkabberP' affiliation='admin' role='moderator'/></x></presence>

RECV: <presence to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><show>away</show><status>Ostavi poruku / Leave a message</status><priority>3</priority><x xmlns='jabber:x:signed'>iD8DBQBDFER7DMixHPTHb5kRAl8+AJ9cyW8phsn4A+p9tAC7RSEy7qZJHgCfQW7u
      cMBNIpNzPEFcR1y0vOSSCzw=
      =ZeVk</x><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:13:34'/><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/Avalon' affiliation='owner' role='moderator'/></x></presence>

RECV: <presence to='[email protected]/Just Another Jabber Client' from='[email protected]/Ni'>
      <priority>5</priority>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T15:59:15'/><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/Psi' affiliation='member' role='participant'/></x></presence>

RECV: <presence from='[email protected]/anrxc' to='[email protected]/Just Another Jabber Client'>
      <priority>5</priority>
      <x xmlns='jabber:x:signed'>iD8DBQBDFH+yYrWu4qiRa70RArXiAJ9f0gI/iqiudjM8PX9xyznsd0YDiQCeOfmc
      CHrdi5P+8naU2MuGLDr0tPI=
      =7bYA</x>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:02:49'/><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[email protected]/Psi' affiliation='member' role='participant'/></x></presence>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>jel to jabbera to ili do servera?</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:18:28'>[email protected]</x></message>

SEND:  

RECV: <message type='groupchat' id='ad34a' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>što je u neku ruku sasvim u redu, nismo svi u istoj vremenskoj zoni</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:18:39'>[email protected]</x></message>

RECV: <message type='groupchat' id='aaf9a' to='[email protected]/Just Another Jabber Client' from='[email protected]/Ni'>
      <body>ili do jabbvera</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:18:45'>[email protected]</x></message>

RECV: <message to='[email protected]/Just Another Jabber Client' type='groupchat' xml:lang='en' from='[email protected]/Shadowed'><body>Aha, na taj nacin pravis html. Mislio sam da bot automatski generise html</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:18:46'>[email protected]</x></message>

RECV: <message type='groupchat' id='ad35a' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>tako da, it&apos;s not a bug, it&apos;s a feature ;)</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:18:49'>[email protected]</x></message>

RECV: <message type='groupchat' id='ad36a' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>ne, kakav bot</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:18:55'>[email protected]</x></message>

RECV: <message type='groupchat' id='ad37a' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>muc generiše XML</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:19:00'>[email protected]</x></message>

RECV: <message type='groupchat' id='ad38a' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>to možeš da podesiš u podešavanjima sobe</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:19:10'>[email protected]</x></message>

RECV: <message to='[email protected]/Just Another Jabber Client' type='groupchat' xml:lang='en' from='[email protected]/Shadowed'><body>Ma sta ce MaliGojko onda ovde?</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:19:17'>[email protected]</x></message>

RECV: <message type='groupchat' id='ad39a' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>!seen caboom</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:19:24'>[email protected]</x></message>

RECV: <message to='[email protected]/Just Another Jabber Client' type='groupchat' from='[email protected]/MaliGojko'><body>Last seen 4 days 7 minutes 5 seconds ago</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:19:24'>[email protected]</x></message>

RECV: <message type='groupchat' id='aafca' to='[email protected]/Just Another Jabber Client' from='[email protected]/Deda_Mraz'>
      <body>Toplo mi je :(</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:20:17'>[email protected]</x></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>toplo ti je??</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:20:49'>[email protected]</x></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>you are so hot ;D</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:20:56'>[email protected]</x></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>:D</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:20:57'>[email protected]</x></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>:-$</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:20:58'>[email protected]</x></message>

RECV: <message type='groupchat' id='aafda' to='[email protected]/Just Another Jabber Client' from='[email protected]/Deda_Mraz'>
      <body>ma ozbiljno bre :)</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:21:05'>[email protected]</x></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>i ja sam ozbiljan ;)</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:21:28'>[email protected]</x></message>

RECV: <message type='groupchat' id='ad3aa' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>znači, MUC loguje vreme kao UTC u XML-u</body><x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:21:35'>[email protected]</x></message>

RECV: <message type='groupchat' id='aafea' to='[email protected]/Just Another Jabber Client' from='[email protected]/Deda_Mraz'>
      <body>pa idi onda na krstaricu :p</body>
      <x xmlns='jabber:x:delay' from='[email protected]' stamp='20050830T16:21:40'>[email protected]</x></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]'><subject>Sajt ponovo aktivan - http://jabber.elitesecurity.or...ubject><body>Shadowed has set the topic to: Sajt ponovo aktivan - http://jabber.elitesecurity.org</body></message>

RECV: <iq type='result' to='[email protected]/Just Another Jabber Client' id='j14' from='[email protected]'>
<item category='conference' xmlns='jabber:iq:browse' name='elitesecurity' type='public'><ns>http://jabber.org/protocol/muc</ns>
<item category='user' type='client' name='MaliGojko' jid='[email protected]/MaliGojko'/>
<item category='user' type='client' name='FlyLord' jid='[email protected]/FlyLord'/>
<item category='user' type='client' name='S' jid='[email protected]/S'/>
<item category='user' type='client' name='Deda_Mraz' jid='[email protected]/Deda_Mraz'/>
<item category='user' type='client' name='Shadowed' jid='[email protected]/Shadowed'/>
<item category='user' type='client' name='random' jid='[email protected]/random'/>
<item category='user' type='client' name='Ni' jid='[email protected]/Ni'/>
<item category='user' type='client' name='anrxc' jid='[email protected]/anrxc'/></item></iq>

RECV: <iq type='get' to='[email protected]/Just Another Jabber Client' id='ad3ba' from='[email protected]/random'><query xmlns='jabber:iq:version'/></iq>

SEND: <iq to="[email protected]/random" id="ad3ba" type="result"><query xmlns="jabber:iq:version"><name>JAJC ( http://jajc.ksn.ru )</name><os>WinXP 5.01.2600 Service Pack 2</os><version>0.0.8.112</version></query></iq>

SEND: <message to="[email protected]" type="groupchat" from="[email protected]/Just Another Jabber Client"><body>test</body></message>

RECV: <message to='[email protected]/Just Another Jabber Client' type='error' from='[email protected]'><body>test</body><error code='405'>You are not in this room</error></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>krstarica??</body>
      </message>

RECV: <message type='groupchat' id='ad3ca' to='[email protected]/Just Another Jabber Client' from='[email protected]/random'><body>misilm da je bolje da ostane tako...</body></message>

RECV: <message type='groupchat' to='[email protected]/Just Another Jabber Client' from='[email protected]/FlyLord'>
      <body>sha ima tamo?</body>
      </message>


[Ovu poruku je menjao Shadowed dana 30.08.2005. u 18:39 GMT+1]
[ random @ 30.08.2005. 17:44 ] @
Oki, ustanovili smo u čemu je problem. Bilo je potrebno da nalog u klijentu bude konfigurisan kao '[email protected]' umesto '[email protected]'. Ova razlika u slovu zbunjuje MUC (bug koji treba ispraviti). Znači, koristite sva mala slova kad konfigurišete nalog u klijentu i trebalo bi da bude u redu.
[ Shadowed @ 30.08.2005. 17:45 ] @
OK. Otrkiveno u cemu je problem. U velikim i malim slovima.
Znaci, pri pravljenju account-a u JAJC-u, Username treba upisati obavezno malim slovima.
Ocigledno je bug u MUC-u jer ne bi trebao praviti razliku izmedju malih i velikih slova.
Mada, bilo bi kulturno i od JAJC-a da sve salje malim slovima.
[ random @ 30.08.2005. 19:21 ] @
Prijavio sam bug.
[ random @ 02.09.2005. 13:01 ] @
Patchovao sam mu-conference (i još svašta nešto promenio). Trebalo bi da sve radi sada. Ja sam testirao ručno, ali testirajte i vi sa svojim klijentima.
[ momsab @ 02.09.2005. 19:03 ] @
radi sa Mirandom brkanje malih i velikih slova

doduše, radilo je i pre brez problema
[ Burgos @ 02.09.2005. 20:04 ] @
Radi............. :)

Sve je ok
[ random @ 02.09.2005. 23:22 ] @
We win again :o)