question

Upvotes
Accepted
23 7 4 10

RFA 8 java version login response is pending

I am migrating my consumer applciation from RFA 7 to RFA 8 Java version. I followed the tutorials provided in the RFA 8 package. The problem is previously we used RFA 7 connection type as SSL and now RFA 8 connection type as RSSL. We are able to connect to our server through port: 8101,SSL&RFA 7 but not with port:8101,RSSL&RFA 8. I tried switching port:14002,RSSL&RFA 8. I went through all the guides you provided but i didn't got any luck. Please suggest me the next steps.

I am getting below response in hte logs ..
LoginClient.processEvent: Received Login Response
LoginClient: Received Login Response - MsgType.REFRESH_RESP
MESSAGE
Msg Type: MsgType.REFRESH_RESP
Msg Model Type: LOGIN
Indication Flags: REFRESH_COMPLETE
Hint Flags: HAS_ATTRIB_INFO | HAS_ITEM_GROUP | HAS_RESP_TYPE_NUM | HAS_STATE
State: OPEN, SUSPECT, NONE, "All connections pending"
Group: 0000
RespTypeNum: 0 (RespType.SOLICITED)

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
9.6k 10 7 7

Hello @applicationdevelopment

According to the log, it seems that your application can get the session(RFAJ configuration is loaded successfully) and RFAJ waits for the login response but there is no response back from the server. Can you check with your network admin if there is firewall which does not allow sending/receiving messages between your machine and the server on port 14002?

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
32.2k 40 11 19

Hello,

@applicationdevelopment,

By default,

Port 8101 is connection type SSL

Port 14002 is connection type RSSL

To verify I would first try SSL => 8101

However, to benefit from both better efficiency and new features, would then move to RSSL => 14002 and consider Elektron API suite.

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.

I need to have a consumer should work with Port:14002 and RFA 8 Java version.

As I read in the docs, SSL is deprecated in RFA8.

Suggest me why I am getting this pending response back.

@applicationdevelopment,

As the error message indicates not being able to connect,

Are you able to test with telnet,

telnet yourinfrahost 14002

?

@zoya.farberov

I already did telent the port 14002.

port is open and listening.

@zoya.farberov

There is a firewall blocking the login. Thanks for the help.
Upvotes
16 0 0 1

Which application are you trying to use? Is it one of the example applications shipped with the RFA 8 package, or your own app?

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.

I am using quick start example in the rfa 8 package

rfaj8.0.1.E2.all.rrg\Examples\com\reuters\rfa\example\quickstart\QuickStartConsumer

with my own prefs.xml which connects to my remote ADS server.

@applicationdevelopment

Just to double-check here,

QuickStart acquires session in code as defined:

// 4. Acquire a Session

_session = Session.acquire(

Please check that your session is defined via Config Editor tool? and corresponds to the infra you are connecting to?

@zoya.farberov

My session is defined. I double checked it.

I can see a warning message in my config editor as:

Warning: Unable to access backing storage of system preferences tree
Changes to system tree will not be made persistent
Editing system tree is disabled

In my putty:

WARNING: Prefs file removed in background /home/reuters/.java/.userPrefs/prefs.xml
Nov 18, 2016 11:59:38 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/_!&8!~!"1!'0!b@"5!%4!bw"k!'`= create failed.

@applicationdevelopment

I think you are on the right track. On Linux this is where your config gets stored, by not being able to write the location you are not able to change and utilize at run.

If you are on linux, please check the permissions of your user for the folder?

Show more comments

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.