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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 1

LCP port isn't available

Hello!

I installed LPC on a linux server. I Followed all instructions, but 14002 port isn't available for connection.
I tried using telnet, but it doesn't connect. I also tried to list the available ports in the server, but 14002 and 443 aren't available. Can someone help me?

elektronrefinitiv-realtimeelektron-sdkrrtlpc
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
14.7k 39 12 18

Hi @Edilson,

The error message

Scopes required to access the resource: [trapi.streaming.pricing.read]. Missing scopes: [trapi.streaming.pricing.read]","status":"Forbidden"}}

means that your user ID is not permissioned to get streaming market data from RTO. Please get in touch with your Refinitiv Account manager to get this fixed.

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
45.2k 103 43 60

@Edilson

You need to check the log file in order to verify the problem. You should see the following log if it runs properly.

<lpc.snkRsslServer.14002: Info: Mon Jun 21  15:55:16.311203 2021>
Ready for RSSL user connections.
<END>


<6152f41d22c0.1.lpc: Info: Mon Jun 21  15:55:16.311741 2021>
RSSL Server initialization succeeded.  Ready for RSSL connections.
<END>


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

@jirapongse.phuriphanvichai
This is the log:


<SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:45.750019 2021>
lpc (version lpc1.2.0.L1 ( aafda90 112)) Initialization Start.
<END> <SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:45.750066 2021>
The Configuration Database is using the file /opt/refinitiv/SOFTWARE/globalconfig/lpc.cnf .
<END> <SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:45.750081 2021>
lpc main thread Using Epoll Event Notifier.
<END> <ServerSharedMemory: Info: Tue Jul 06 08:32:45.750176 2021>
Allocated
<END> <SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:45.774339 2021>
Refinitiv Real-Time Legacy Protocol Converter is configured to perform service discovery queries for connections.
<END> <SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:45.774374 2021>
Creating login message for Refinitiv Real-Time Legacy Protocol Converter dictionary download. Client servers may not start until dictionary is downloaded.
<END> <SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:48.277833 2021>
Standard endpoint found via Service Discovery. Using endpoint address amer-3-t2.streaming-pricing-api.refinitiv.com and port 14002.
<END> <SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:50.337201 2021>
Successfully connected secure socket 12 secureChannel.1 to host amer-3-t2.streaming-pricing-api.refinitiv.com, component version: ads3.4.2.L1.linux.tis.rrg 64-bit. Secure socket associated with client session LPC. Sending Login message.
<END> <lpc.snkRsslServer.14002: Info: Tue Jul 06 08:32:50.976148 2021>
Ready for RSSL user connections.
<END> <SV-DMZ-Riscos.bsbios.com.1.lpc: Info: Tue Jul 06 08:32:50.976173 2021>
RSSL Server initialization succeeded. Ready for RSSL connections.
<END>
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
14.7k 39 12 18

@Edilson,

Your log file shows that LPC has successfully started and is listening for the connections on 14002. If you are not able to telnet to the machine on this port, it implies that your server has a firewall which is blocking it. Please try to change firewall rules or disable it and try again.

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

@jirapongse.phuriphanvichai

We tried again, but there aren't firewall rules for blocking.
When we call nmap on the server, 14002 port isn't listed.
There is another log file to view possible errors?

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

We found this log error:

Error receiving service discovery endpoints, code -1. Error: Failed to query service endpoint information from the EDP-RT service discovery. Text: {"error":{"id":"1ec8f0d8-54df-476b-8bcb-8ce3fd7edcca","code":"insufficient_scope","message":"access denied. Scopes required to access the resource: [trapi.streaming.pricing.read]. Missing scopes: [trapi.streaming.pricing.read]","status":"Forbidden"}}

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

Thanks @Gurpreet!


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.