question

Upvotes
Accepted
1 0 0 1

StarterConsumer sample - can't connect

I'm trying to run a Starter Consumer TS1 sample, but I can't even connect, here are some excerpts from the log file:

2017 Jun 22 10:41:13.132 ST GMT+02:00 123C 2720 470 TRACE <- Received LoggerNotifyEvent: [Thu Jun 22 10:41:13 2017]: (ComponentName) Static: (Severity) Information: Using the following configuration for RSSL_Cons_Connection "Default::Connection_RSSL localhost:14002": hostName = "localhost", rsslPort = "14002", interfaceName = "localhost", compressionType = 0, channelBlocking = false, recvBufSize = 65535, sendBufSize = 65535, writeBufferMaxFragmentLength = 6144, connectionWaitTimeout = 30000, connectionPingTimeout = 30000, guaranteedOutputBuffers = 400, numInputBuffers = 20, tcp_nodelay = True, throttleEnabled = True, throttleType = count, throttleMaxCount = 250, throttleBatchCount = 10, traceMsg = False, traceMsgToFile = False, dictionaryRequestTimeout = 45 . 2017 Jun 22 10:41:13.133 ST GMT+02:00 123C 2720 596 TRACE <- Received MMT_MARKET_PRICE Status serviceName : IDN_RDF symbolName : QQCN streamState : Open dataState : Suspect statusCode : None statusText : Source unavailable... will recover when source is up.

******************** WARNING! ******************** WARNING! ******************** 2017 Jun 22 10:41:14.166 ST GMT+02:00 123C 2720 470 WARN* <- Received LoggerNotifyEvent: [Thu Jun 22 10:41:14 2017]: (ComponentName) Static: (Severity) Warning: RSSL Channel closing on connection "Default::Connection_RSSL localhost:14002" due to "channel disconnect" . 2017 Jun 22 10:41:14.168 ST GMT+02:00 123C 2720 470 TRACE <- Received LoggerNotifyEvent: [Thu Jun 22 10:41:14 2017]: (ComponentName) Static: (Severity) Information: Connection Status Changed, RSSL_Cons_Connection "Default::Connection_RSSL localhost:14002" State: "Down" StatusCode: "None" StatusText: Connection down . 2017 Jun 22 10:41:14.170 ST GMT+02:00 123C 2720 470 TRACE <- Received LoggerNotifyEvent: [Thu Jun 22 10:41:14 2017]: (ComponentName) Static: (Severity) Information: RSSL_Cons_Connection "Default::Connection_RSSL localhost:14002" will be tried in 15000 milliseconds

I've checked and no app is listening on port 14002

any advice ?

treprfarfa-api
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
25.3k 87 12 25

Hi @rottor

To consume TS1 data you need to connect to a valid source of TS1 data. Please speak to your Market Data team or your Reuters account manager for the connectivity parameters.

Using localhost for the hostName value is for when you run a local provider application - for example you could run StarterConsumer and StarterProvider_Interactive locally and the Provider will publish dummy data when requested by the Consumer - see the RFA_QuickStartGuide.pdf (in the docs folder) for more details and good high level overview of Consumers / Providers etc.

However, if you are interested in consuming TS1 data then you will need to connect to a real feed which provides TS1 data - as I dont believe we have a example app that publishes dummy TS1 data.

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
7.6k 15 6 9

@rottor

It looks like you are connecting to ADS/Provider server on localhost. Are you running the example on the same machine as your ADS? If not please change hostName in ExampleRFA.cfg from localhost to your server. And dont't forget to change service name and DACS User name in StarterConsumer.cfg.

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.