Agent issue : Failed to initialize a session with the Agent

Hi Team,
We are using Testng framework with dataprovider.
But for few cases in between, TestProject does not launch the app and failes with the error : [2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Session [f0a20e63-32af-462a-a023-c9bc854d42c7] closed
[2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Inferred [com.qaprosoft.carina.core.foundation.AbstractTest] and [SmartAppFlow] for Project and Job names accordingly.
[2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Using [Seema Karia] and [SmartAppFlow] for Project and Job names accordingly.
[2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Initializing new session…
[2021-11-12 01:53:50] [AgentClient.java] [1] [ERROR] Failed to initialize a session with the Agent. Below is the details captured in log file.

[2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Session [f0a20e63-32af-462a-a023-c9bc854d42c7] closed
[2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Inferred [com.qaprosoft.carina.core.foundation.AbstractTest] and [SmartAppFlow] for Project and Job names accordingly.
[2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Using [Seema Karia] and [SmartAppFlow] for Project and Job names accordingly.
[2021-11-12 01:53:50] [AgentClient.java] [1] [INFO] Initializing new session…
[2021-11-12 01:53:50] [AgentClient.java] [1] [ERROR] Failed to initialize a session with the Agent

Hi @seemak,
We are already working on a very similar issue reported by your team.
Please hold on while are we investigating I will be sure to update you here as well.

Hi @seemak,
If the problem continues on Agent 3.4.2 please send us the logs so we can investigate further.
You can share the logs over the chat or via our support mail support@testproject.io
When sharing the logs please include this forum post URL.