Describe the bug
I have a system configured with 2 addresses. If the first one is not responding during launch of application it will not try second system and will eventually quit (because the init code waits up to 60 seconds for successful login or other meaningful response).
Expected behavior
System tries second address in 30 seconds.
system information:
- OS: Linux
- Java version: JDK21
- QFJ Version: 3.0.1
Additional context
20260613-12:20:11: Session FIXT.1.1:xxx->yyy schedule is daily, 05:30:00-UTC - 17:30:00-UTC (daily, 07:30:00-CEST - 19:30:00-CEST)
20260613-12:20:11: Created session: FIXT.1.1:xxx->yyy
20260613-12:20:11: Configured socket addresses for session: [/127.0.0.1:10134, /127.0.0.1:10135]
20260613-12:20:11: MINA session created: local=/127.0.0.1:43448, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=view-localhost/127.0.0.1:10134
20260613-12:20:11: Disconnecting: Encountered END_OF_STREAM
20260613-12:20:41: MINA session created: local=/127.0.0.1:56316, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=view-localhost/127.0.0.1:10134
20260613-12:20:41: Disconnecting: Encountered END_OF_STREAM
I think it may be caused by no callbacks reaching me because Session.next has this code:
if (message == EventHandlingStrategy.END_OF_STREAM) {
disconnect(ENCOUNTERED_END_OF_STREAM, false);
return;
}
and disconnect has this code:
if (logonReceived || logonSent) {
try {
application.onLogout(sessionID);
so I'm never notified of this. But that doesn't explain why it only tries the first socket address again and again.
Describe the bug
I have a system configured with 2 addresses. If the first one is not responding during launch of application it will not try second system and will eventually quit (because the init code waits up to 60 seconds for successful login or other meaningful response).
Expected behavior
System tries second address in 30 seconds.
system information:
Additional context
I think it may be caused by no callbacks reaching me because Session.next has this code:
and disconnect has this code:
so I'm never notified of this. But that doesn't explain why it only tries the first socket address again and again.