TestProject Forum

Failed obtaining agent configuration!

I am running jobs via jenkins-docker setup. I have multiple jenkins environments and on one particular environment, it shows the below error.

....
e[33m_firefox |e[0m 10:15:09.378 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444
e[33m_firefox |e[0m 2021-09-28 10:15:09.423:INFO::main: Logging initialized @404ms to org.seleniumhq.jetty9.util.log.StdErrLog
e[33m_firefox |e[0m 10:15:09.667 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
e[33m_firefox |e[0m 10:15:09.759 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
e[32mtestproject-agent|e[0m Failed obtaining agent configuration!
e[32mtestproject-agent |e[0m Error code: 
e[32mtestproject-agent |e[0m Request ID: N/A
e[32mtestproject-agent |e[0m Error message: N/A
e[32mtestproject-agent exited with code 1

This is happening for all jobs running in that particular jenkins. Tried changing the API token, but didn’t make any difference.

I’m having a similar issue where the agent will sporadically fail to start up:

Waiting for browsers ...
Using Agent Alias: Docker Agent: analytics-x-products 11
Using Job ID: sbdnIxxxxxxxxxMqznIi1qw
Adding job parameters: 
{
    "jobParameters": {
        "browsers": [
            "chrome",
            "firefox"
        ]
    }
}
Failed obtaining agent configuration!
Error code: 503
Request ID: N/A
Error message: N/A