TestProject Forum

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.