Openfire: delayed replies. Are they normal?

Hi all,

I’ve a strange behavior with Openfire 3.9.3 and I’d like to know whether it’s normal or not.

I’m using a web client based on Strophe (Candy) and when I send messages like:

the server takes exactly 60 seconds to reply.

I also tried to sniff the traffic with Wireshark (both at server and client side) and it confirms this behavior:

REQ: 716060 2015-10-02 20:29:32.966594000 10.144.8.108 10.0.101.43 HTTP 137 POST /http-bind/ HTTP/1.1 (text/plain)

REP: 720227 2015-10-02 20:30:32.987479000 10.0.101.43 10.144.8.108 HTTP/XML 656 HTTP/1.1 200 OK

Is this normal or is it a configuration problem or a version issue?

Thanks in advance for your replies,

Mario

This is normal and is how BOSH (or “HTTP long polling”) works.

Read XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH) for more information.

I really apologize for the late reply…

Thank you very much for your kind answer, that explained a lot of things.

Cheers,

Mario