question

Upvotes
Accepted
18 0 0 5

EMA:dictionary retrieval failed (timed out after waiting 45000 milliseconds) for 192.168.1.133:14002)

loggerMsg

ClientName: EmaConsumer_15

Severity: Error

Text: dictionary retrieval failed (timed out after waiting 45000 milliseconds) for 192.168.1.133:14002)

loggerMsgEnd

three question:

one:Why does this happen?

two:How do I catch this exception error?

three:How to handle this error? (Code examples would be great)

service-dictionary
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.

Hi @zhangqingfeng

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply.

This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hello @zhangqingfeng ,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@zhangqingfeng

It is a dictionary request timeout, as mentioned on this thread. You may need to check the error in the LPC log file.

This error is thrown in the OmmInvalidUsageException with the OmmInvalidUsageException.ErrorCode.DICTIONARY_REQUEST_TIME_OUT error code. You can catch this exception in the code.

1658129682191.png

To handle it, you need to create a new consumer. Otherwise, you can load dictionary from the local files instead.

<Dictionary>
            <Name value="Dictionary_2"/>
            <DictionaryType value="DictionaryType::FileDictionary"/>
            <!-- dictionary names are optional: defaulted to RDMFieldDictionary and enumtype.def -->
            <RdmFieldDictionaryFileName value="./RDMFieldDictionary"/>
            <EnumTypeDefFileName value="./enumtype.def"/>
        </Dictionary>

1658129682191.png (23.2 KiB)
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.