ProtocolError: Received <class 'autobahn.wamp.message.Yield'> message, and session is not yet established

#1

Dear Tobias. We use the crossbar in our project where clients have a bad dial-up connection (ppp over 2g network). I cant find a solution. When call clients RPC from server and client breaks the connection. After that my procedure stopped and i have this error :

Traceback (most recent call last):

File “/home/dencgik/Dropbox/prj/.ps-crossbar/local/lib/python2.7/site-packages/autobahn/wamp/websocket.py”, line 95, in onMessage

self._session.onMessage(msg)

File “/home/dencgik/Dropbox/prj/.ps-crossbar/local/lib/python2.7/site-packages/crossbar/router/session.py”, line 470, in onMessage

raise ProtocolError(u"Received {0} message, and session is not yet established".format(msg.class))

ProtocolError: Received <class ‘autobahn.wamp.message.Yield’> message, and session is not yet established

I can`t cath it. How can I discribe and work with this exeption?

Thank you!

0 Likes