Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Hi Frederic,
Can you also kindly attach your jaxl.log file along with boshchat.php file to
make the debug more convenient and accurate to your dev env.
A few things which i would like you to check:
1. telnet im.toto.org 5222 (does this work from your host machine)
2. http://im.toto.org:5280/http-bind doesn't exists
3. Also you pointed out that boshHost and other values are not getting picked
up and you had to re-pass them via Jaxl constructor. Are you using jaxl.ini
which Jaxl core expects if Jaxl constructor parameters are missing.
Original comment by mailsfor...@gmail.com
on 24 Dec 2010 at 2:05
[deleted comment]
[deleted comment]
1st problem i see as per your log your username. Try again by simply providing
"frederic" as your username instead of "frederic@im.strapontins.org" from the
boshchat.php user interface.
Original comment by mailsfor...@gmail.com
on 24 Dec 2010 at 2:45
[deleted comment]
Hi Frederic,
Thanks for pointing this out. I have checked in a patch into Jaxl dev repo
@github. Can you test this against the latest code. Here is the commit link
that shall fix this issue:
https://github.com/abhinavsingh/JAXL/commit/822335aea0f7c8168ac1270b03b68d1304db
1cd8
I also tested out connecting to your chat server via boshchat.php using
following settings:
$jaxl = new JAXL(array(
'domain'=>'im.strapontins.org',
'port'=>5222,
'boshHost'=>'strapontins.org',
'authType'=>'DIGEST-MD5',
'logLevel'=>5
));
However, I see your chat server returns service-unavailable when Jaxl library
tries to initiate bosh session.:
[1455] 2010-12-24 06:59:53 - [[XMPPSend]] body
<body rid="4121" sid="a4884efe-cbe3-495f-897c-d3b8f5560a91"
xmlns="http://jabber.org/protocol/httpbind"><iq type="set" id="2"
to="im.strapontins.org"><session
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq></body>
[1455] 2010-12-24 06:59:54 - [[XMPPGet]]
<body xmlns='http://jabber.org/protocol/httpbind'
sid='a4884efe-cbe3-495f-897c-d3b8f5560a91' xmlns:stream =
'http://etherx.jabber.org/streams'><iq type='error'
to='frederic@im.strapontins.org/jaxl.1293202790' from='im.strapontins.org'
id='2' xmlns='jabber:client'><error type='cancel'><service-unavailable
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq></body>
[1455] 2010-12-24 06:59:54 - [[BoshOut]]
[]
Although i can see your server indicating session starting step optional as
indicated by stanza below:
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><required/></bind><session
xmlns='urn:ietf:params:xml:ns:xmpp-session'><optional/></session>
Kindly let me know if you are able to come till here using latest checked code
at github. Thereafter i can go ahead and fix issue by not initiating a session
if it's optional as indicated by the server.
Original comment by mailsfor...@gmail.com
on 24 Dec 2010 at 3:06
Optional session has been fixed with this code push:
https://github.com/abhinavsingh/JAXL/commit/2e10ffad69b77d85c9e0aa86e86c666897a3
d880
Kindly verify the latest development branch and let me know if problem persists.
Original comment by mailsfor...@gmail.com
on 24 Dec 2010 at 3:19
Thanks, it's works =)
so, i have this error (but all works fine):
Undefined index: time in lib/jaxl/xep/jaxl.0202.php on line 67
Original comment by frede...@strapontins.org
on 24 Dec 2010 at 5:14
Hi Frederic,
This is just a PHP Notice and you can ignore it. It suppress these set
appropriate error_reporting() level inside your app file.
This notice is thrown when you use XEP 0202 and it tries to find
$payload['time'] in passed payload. However not every time this value is found,
hence a notice is thrown.
Original comment by mailsfor...@gmail.com
on 24 Dec 2010 at 5:46
Original issue reported on code.google.com by
frede...@strapontins.org
on 24 Dec 2010 at 1:54