rayo / rayo-server

Rayo Server - A high performance awesomeness server
http://www.rayo.org
Apache License 2.0
43 stars 4 forks source link

XMPP listener starts before being ready to process requests #13

Closed bklang closed 12 years ago

bklang commented 12 years ago

This is probably an issue for PRISM more than Rayo Server.

When starting up PRISM, the XMPP port is opened (socket is listening) before it is actually able to process a request, such as an XMPP login. This results in clients hanging, sometimes indefinitely. The message is apparently discarded: even though the client has an active TCP connection, but the eventual XMPP service inside PRISM never receives the message. I would request that any messages that hit the socket should be returned with an XMPP error code until something is available to handle the request.

mpermar commented 12 years ago

This is indeed a Prism issue. I've opened an internal ticket for it: https://evolution.voxeo.com/ticket/1641162

Also, bear in mind that in Rayo you should not connect directly to the Prism server but to an XMPP Server or to a Rayo Gateway instead.