continuing question 97398 ommstreaming-pricing-012-received-a-closing-messag (I cant add a commen...

...t there)

Hi Wasin.w

I took your recommendation and upgraded to 1.0.0b20, Error call-back is not launched when stream halt.

on my code

          self.current_rd_session = rd.open_session()
                self.theWebSocket = rd.content.pricing.Definition([ 'HTEc...,'CHFUSD=R'], fields=['BID', 'ASK', 'QUOTIM', 'QUOTIM_MS',....]).get_stream()
                self.theWebSocket.on_refresh(self.handle_refresh_wrapper)
                self.theWebSocket.on_update(self.handle_update_wrapper)
                self.theWebSocket.on_status(self.handle_status_wrapper)
                self.theWebSocket.on_complete(self.on_complete_wrapper) 
                self.theWebSocket.on_error(self.on_error_wrapper)
                self.theWebSocket.open()

on refinery python connector (with DEBUG messages enabled)

++Rcv raw: b'\x81~\x01\x16[{"ID":2,"Type":"Status","Domain":"Login","Key":{"Name":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"State":{"Stream":"Closed","Data":"Suspect","Code":"Timeout","Text":"Authentication token has expired."}}]'
.
.
.
++Rcv decoded: fin=1 opcode=8 data=b'\x03\xe8Normal Closure'
++Sent raw: b'\x88\x825\xfa\xd5\x866\x12'
++Sent decoded: fin=1 opcode=8 data=b'\x03\xe8'

Now refinitiv data stop accepting messages. No On_Error call-back function was launched.

How can I verify I will get error callback launched when this

Normal Closure

occurs on the refinitiv connector internals events?

Thanks for advance

ori kovacsi katz

previous post

Answers

  • Hello @okatz

    Please be informed that the RD team acknowledges this callback behavior and the team is investigating it.

    I do not have any updates from them yet, but I will give you more updates as soon as I get more information from them.

    Sorry for the inconvenience.


  • The latest RD Library version 1.0 is just released this week. The application should upgrade to this version.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.