Warm tip: This article is reproduced from stackoverflow.com, please click
fix-protocol quickfix quickfixj camel-quickfix

What causes the "Disconnecting: Encountered END_OF_STREAM" session message in QuickFIX/J?

发布于 2020-05-01 17:35:22

I am using QuickFIX/J version 1.6.4 within Apache Camel 2.17.0 and I get the session message Disconnecting: Encountered END_OF_STREAM. It is not an error, but in my case it leads to an unintentional Logoff.

What circumstances can lead to this message and how do I analyze which circumstance in my case is the cause?

Questioner
Yannick
Viewed
146
Yannick 2019-10-10 22:41

I found the answer of this question in this blog post by bhageera.

In the end the reason was pretty silly… the counterparty I was connecting to allows only 1 connection per user/password (i.e. session with those credentials) at a time. As it turns out there was another application using the same credentials against the same TargetCompID. As soon as that application was killed off, the current one logged in fine.

In my case, two clients with the same credentials were active on two different test environments.