New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
1 0 0 1

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 512.0 KiB each and 1.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.6k 10 7 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 512.0 KiB each and 1.0 MiB total.

Upvotes
25.4k 90 13 26

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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