12002 is a timeout error returned by IE. It means it couldn't talk to
the other side. It's certainly possible that the data can get through
in this case, but the ACK doesn't get back. Strophe is correct to
resend the same data. It should resend it with exactly the same RID.
From your log I can see the RID is indeed the same, so this looks like
a Punjab bug.
What's weird is that this definitely used to work.
jack.
jack.
--
You received this message because you are subscribed to the Google Groups "Punjab" group.
To post to this group, send email to punja...@googlegroups.com.
To unsubscribe from this group, send email to punjab-xmpp...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/punjab-xmpp?hl=en.
There's two things I don't understand:
- Why is the first request punjab receives with RID of 1102481758 ok?
Shouldn't it say that it is an invalid RID the first time? I neglected
to include the times in the log, but there was 10 seconds between the
first body with RID of 1102481758 and the second. I thought there
might be a race condition occurring between the requests coming in and
the requests being cached, but 10 seconds should be enough time to
cache them I'd have thought.
- Secondly, punjab doesn't seem to return any data for the first
1102481758 request. I guess this is because the server (ejabberd)
doesn't have anything to send yet?
I did test if punjab returned the cached response when it receives a
duplicate RID by editing strophe to not increment RIDs, and punjab did
indeed return the cached responses.
I'll scan the log again tomorrow and try to provide a bit more
information.
Also, I noticed in the strophe log that when a 12002 error occurs the
ready state does not go past 1, which I believe means the request
hasn't actually been sent yet? This doesn't really make sense to me
because it looks like punjab does actually receive it. So perhaps this
is just an IE bug. I also thought that maybe the simultaneous request
limit is being hit in IE, but it is limited to 6 in IE8 so I thought
this would be unlikely.
Thanks for your thoughts so far!