session timeout

I just want to do proper connection with my partner in both ways. I can sent them files but when they are trying to send me something I can see only attempt in log that my partner is trying to connect. Log shows that after SSRM command session become"idle" and after 45 sec session is closed without any reason. I'm using OFTP2 ver 1.0 b37 my partner use Axway. Below log from my system, please let me know how to fix this problem.

[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Setting state machine Session Connection State Machine
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] [Session Manager]: Added session with session id 20210504101609-6268, created at May 4, 2021 10:16:09 AM, remote address is /XXX.XXX.XXX.XXX:50095
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Incoming connection [/XXX.XXX.XXX.XXX:50095]
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Setting session var "Caller" to false
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Session state: IDLE [Idle]
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Statemachine "Session Connection State Machine" received signal "N_CON_IND", state is "IDLE"
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Processing unit received signal "N_CON_RS", state is "IDLE"
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Send stream transmission header (10 00 00 17)
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Send bytes: 49 4f 44 45 54 54 45 20 46 54 50 20 52 45 41 44 59 20 0d
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Send command:
o-----------------------------------------------------------------
| SSRM Start Session Ready Message [Outbound]
o-----------------------------------------------------------------
| 0 | X(1) | SSRMCMD | SSRM Command | 'I' | [49]
| 1 | X(17) | SSRMMSG | Ready Message | 'ODETTE FTP READY ' | [4f 44 45 54 54 45 20 46 54 50 20 52 45 41 44 59 20]
| 18 | X(1) | SSRMCR | Carriage Return | '
' | [0d]
o-----------------------------------------------------------------
[May 4, 2021 10:16:09 AM] [Session 20210504101609-6268] Session state: IDLE --> A_NC_ONLY [Responder, Network Connection Opened]
[May 4, 2021 10:16:54 AM] [Session 20210504101609-6268] Session timeout [XXXXXXXX - --]
[May 4, 2021 10:16:54 AM] [Session 20210504101609-6268] [Session Manager]: Removed session 20210504101609-6268 with partner null, created at May 4, 2021 10:16:09 AM, remote address was /XXX.XXX.XXX.XXX:50095
[May 4, 2021 10:16:54 AM] [Session 20210504101609-6268] Connection closed [XXXXXXXX - --, /XXX.XXX.XXX.XXX:50095]. Established for 45.1s, 0 bytes transfered

Forum
OFTP2

Comments

Profile picture for user service

JarekPEL,

if you connect to an OFTP2 server it immediatly sends the SSRM (Start Session Ready Message), that is what you see in the log.
The other system has then 45s to answer with a SSID. If this does not happen, the connection is closed by the timeout.
Means this looks like an infrastructure problem, your partner connects to you but does not send the required OFTP2 message. Perhaps your IP is not yet registered in their firewall, whitelist or something like that.

Regards