For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 1 1 0

Closed / Suspect / Not entitled / 'Access Denied: User req to PE(62)

I am trying to run the example runConsumer450 , but getting error like below.

Services :

Service :

Provider : aws

Transport : tcp

Endpoint : apac-1.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : ap-southeast-1a

Service :

Provider : aws

Transport : tcp

Endpoint : apac-3.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : ap-southeast-1a ap-southeast-1b

Service :

Provider : aws

Transport : tcp

Endpoint : apac-2.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : ap-southeast-1b

Service :

Provider : aws

Transport : tcp

Endpoint : emea-1.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : eu-west-1a

Service :

Provider : aws

Transport : tcp

Endpoint : emea-3.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : eu-west-1a eu-west-1b

Service :

Provider : aws

Transport : tcp

Endpoint : emea-2.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : eu-west-1b

Service :

Provider : aws

Transport : tcp

Endpoint : amer-1.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : us-east-1a

Service :

Provider : aws

Transport : tcp

Endpoint : amer-3.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : us-east-1a us-east-1b

Service :

Provider : aws

Transport : tcp

Endpoint : amer-2.pricing.streaming.edp.thomsonreuters.com

Port : 14002

Data Format : rwf

Location : us-east-1b


Oct 20, 2020 8:15:06 AM com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback

INFO: loggerMsg

ClientName: ChannelCallbackClient

Severity: Info

Text: Received ChannelUp event on channel Channel_1

Instance Name Consumer_1_1

Component Version ads3.2.1.L1.linux.tis.rrg 64-bit

loggerMsgEnd



StatusMsg

streamId="5"

domain="MarketPrice Domain"

state="Closed / Suspect / Not entitled / 'Access Denied: User req to PE(62)'"

name="IBM.N"

nameType="1"

serviceId="257"

serviceName="ELEKTRON_DD"

StatusMsgEnd


Oct 20, 2020 8:30:12 AM com.thomsonreuters.ema.access.ChannelDictionary processCallback

WARNING: loggerMsg

ClientName: ChannelDictionary

Severity: Warning

Text: RDMDictionary stream was closed with status message

streamId 3

Reason State: Closed/Suspect/None - text: "Login stream was closed."

loggerMsgEnd



Oct 20, 2020 8:30:12 AM com.thomsonreuters.ema.access.ChannelDictionary processCallback

WARNING: loggerMsg

ClientName: ChannelDictionary

Severity: Warning

Text: RDMDictionary stream was closed with status message

streamId 4

Reason State: Closed/Suspect/None - text: "Login stream was closed."

loggerMsgEnd

elektronrefinitiv-realtimeelektron-sdkerror-login
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
Accepted
32.2k 39 11 19

Hello @d.gopalasundaram,

The example consumer 450 has hard-coded instrument request for "IBM.N"

IBM.N request requires permissions for PE (permission entity) =62.

Your user is is not permissioned for PE 62.

In code, replace "IBM.N" with an instrument that your user id is permissioned for, rebuild, rerun.

If you do not know which ones, you can try "JPY=", composite currency instrument, and "/IBM.N", delayed IBM.N.

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
3 1 1 0

Hi @zoya.farberov

Thanks very much , I am able to run the example runconsumer450 by changing the Item Name. when i am trying to run runConsumer113 getting the below error.


> Task :Ema:Examples:runconsumer113

OmmConsumerConfigImpl::consumerName parameter [Consumer_3] is an non-existent consumer name


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
55.7k 144 45 65

@d.gopalasundaram

To run the Consumer113 example, you need to copy the EmaConfig.xml from the 113__MarketPrice__SessionManagement source code directory to the working directory.

The configuration file contains configurations of Consumer_3 used by the example.

        <Consumer>
            <Name value="Consumer_3"/>

            <!-- Channel set to "RSSL_ENCRYPTED"                                                        -->
            <Channel value="Channel_4"/>

            <!-- Dictionary is optional: defaulted to "ChannelDictionary"                                -->
            <Dictionary value="Dictionary_1"/>
            <XmlTraceToStdout value="0"/>
        </Consumer>
...
        <Channel>
            <Name value="Channel_4"/>
            <ChannelType value="ChannelType::RSSL_ENCRYPTED"/>
            <CompressionType value="CompressionType::None"/>
            <GuaranteedOutputBuffers value="5000"/>
            <!-- EMA discovers a host and a port from EDP-RT service discovery for the specified location 
                 when both of them are not set and the session management is enable. -->
            <Location value="us-east"/>
            <EnableSessionManagement value="1"/>
            <!-- ObjectName is optional: defaulted to ""                                                -->
            <ObjectName value=""/>
        </Channel>

For more information, you can follow the Running an EMA example section in this article.


1603160855345.png (21.5 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.