question

Upvotes
Accepted
1 0 0 0

While getting these rates we could see hex error is showing in logs

treprfarfa-apierror
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

While getting Equity rates from NSE and BSE exchange we could see hex error is showing in logs. We are using the JAVA RFA 6.4 API jars API for ratefeed

Upvotes
Accepted
9.5k 10 5 7

The application printed “Unable to unpack data with TibMsg. Displaying hex.” when the message did not contain both BID and ASK field.

To solve the problem, the application should keep BID and ASK price up-to-date according to messages. It should ignore only messages which does not contain both BID and ASK fields and print proper text e.g. “The message does not contain BID and ASK field, ignore the message.”. “Unable to unpack data with TibMsg. Displaying hex.” should be printed when RFA cannot unpack a message.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
20.3k 73 10 20

Hi @treasuryit

Please share the actual 'hex errors' are you are seeing - so we can have some idea of what may be going wrong?

Note that RFA Java 6.4 has not been supported for several years now.

You will note from the RFA SDK download page that the oldest supported version is RFA v7.6 (which is around 4 years old) - but ideally, you should upgrade to v8.x


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea