What causes the “Disconnecting: Encountered END_OF_STREAM” session message in QuickFix/J?

女生的网名这么多〃 提交于 2019-12-12 21:08:11

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/55728850/what-causes-the-disconnecting-encountered-end-of-stream-session-message-in-qu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!