Agent get down frequently, and during triggering jobs or test case

Every time I close my TestProject Website on machine1, the agent registered to it also gets down on machine1… This makes difficult for me to run job on machine1 from machine 2 which is remotely located…Please note that both the machines are under same account and agents are installed in multiple machine and registered to same account …Please provide remedy for this issue…logs prints these errors---------------------------------------------------------------------

2022-05-16 20:20:51.238 INFO pool-11-thread- i.t.a.i.l Starting services…
2022-05-16 20:20:51.551 INFO pool-11-thread- i.t.a.i.l iOS SDK Wrapper - Ready!
2022-05-16 20:21:04.394 ERROR init-entry i.t.a.a.a.c.a Timed out while searching for adb processes
java.util.concurrent.TimeoutException: null
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at io.testproject.agent.a.a.b.c.a(TestProjectAgent:72)
at io.testproject.agent.a.a.b.c.a(TestProjectAgent:60)
at io.testproject.agent.a.a.c.a.c(TestProjectAgent:441)
at io.testproject.agent.a.a.c.a.a(TestProjectAgent:61)
at io.testproject.agent.a.a.c.a.a(TestProjectAgent:44)
at io.testproject.agent.managers.f.a.a(TestProjectAgent:80)
at io.testproject.agent.managers.f.l.l(TestProjectAgent:852)
at io.testproject.agent.managers.f.l.b(TestProjectAgent:265)
at io.testproject.agent.h.f(TestProjectAgent:345)
at io.testproject.agent.fsm.local.a.w.a(TestProjectAgent:66)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.testproject.agent.c.d.run(TestProjectAgent:33)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
2022-05-16 20:21:04.405 INFO init-entry i.t.a.a.a.c.a Setting ADB port to 5037
2022-05-16 20:21:04.434 INFO init-entry i.t.a.a.a.c.a Creating new ADB bridge…
2022-05-16 20:21:10.285 INFO pool-11-thread- i.t.a.i.l Services Status: [c=DONE]
2022-05-16 20:21:17.156 INFO pool-11-thread- i.t.a.i.l Canceling isReadyTask returned true
2022-05-16 20:21:17.278 INFO pool-11-thread- i.t.a.i.l Received request to start monitoring
2022-05-16 20:21:17.380 INFO pool-11-thread- i.t.a.i.l Starting heartbeat service…
2022-05-16 20:21:25.780 INFO init-entry i.t.a.a.a.c.a Successfully connected to ADB Bridge running on port 5037.
2022-05-16 20:21:25.979 INFO init-entry i.t.a.i.l Waiting a bit for IOS Wrapper to come up…
2022-05-16 20:21:36.755 INFO init-entry i.t.a.m.c.a Requesting ADB version from C:\Program Files\TestProject Agent\app\android-sdk\platform-tools\adb.exe
2022-05-16 20:21:44.337 INFO init-entry i.t.a.m.c.a Detected Java [13.0.1]
2022-05-16 20:21:44.672 INFO init-entry i.t.a.m.c.a Detected DotNet [5.0.14]
2022-05-16 20:21:44.689 INFO init-entry i.t.a.m.c.a Detected ADB [1.0.41]
2022-05-16 20:21:50.381 INFO init-entry i.t.a.m.c.f Searching for installed browsers…
2022-05-16 20:21:50.381 INFO init-entry i.t.a.m.c.f Checking installed browsers by default paths…
2022-05-16 20:21:50.425 INFO init-entry i.t.a.m.c.f Detected Chrome browser [101.0.4951.67]
2022-05-16 20:21:50.428 INFO init-entry i.t.a.m.c.f Detected Firefox browser [100.0.0.8153]
2022-05-16 20:21:50.430 INFO init-entry i.t.a.m.c.f Detected InternetExplorer browser [11.0.14393.0]
2022-05-16 20:21:50.431 INFO init-entry i.t.a.m.c.f Checking installed browsers by registry…
2022-05-16 20:21:51.199 WARN init-entry i.t.a.f.o Registry query failed - ERROR: The system was unable to find the specified registry key or value.
2022-05-16 20:21:51.270 WARN init-entry i.t.a.f.o Registry query failed - ERROR: The system was unable to find the specified registry key or value.
2022-05-16 20:21:51.273 INFO init-entry i.t.a.m.c.f Searching for Legacy Edge in registry…
2022-05-16 20:21:51.273 INFO init-entry i.t.a.m.c.f Finished detecting installed browsers.
2022-05-16 20:21:51.282 INFO init-entry i.t.a.m.c.f Installing Legacy Edge driver using DISM (Feature on Demand)…
2022-05-16 20:21:51.283 INFO init-entry i.t.a.m.c.f Legacy Edge driver will be available after reboot
2022-05-16 20:21:51.284 WARN init-entry i.t.a.m.c.f Didn’t detect Legacy Edge driver
2022-05-16 20:21:51.284 INFO init-entry i.t.a.m.c.a Detected Chrome driver [91.0.4472.101] x64
2022-05-16 20:21:51.284 INFO init-entry i.t.a.m.c.a Detected Edge driver [42.17134.1.0] x64
2022-05-16 20:21:51.284 INFO init-entry i.t.a.m.c.a Detected Edge driver [91.0.864.48] x64
2022-05-16 20:21:51.284 INFO init-entry i.t.a.m.c.a Detected Firefox driver [89.0.1] x64
2022-05-16 20:21:51.285 INFO init-entry i.t.a.m.c.a Detected InternetExplorer driver [11.914.17763.0] x64
2022-05-16 20:21:51.402 INFO init-entry i.t.a.m.b Starting gRPC Server on port localhost:50313
2022-05-16 20:21:51.639 INFO init-entry i.t.a.m.O Runtime information saved
2022-05-16 20:21:51.643 INFO init-entry i.t.a.h Agent initialization is complete.
2022-05-16 20:21:51.647 INFO init-entry i.t.a.s.IdentityManager No identity file was found - Agent is not registered
2022-05-16 20:21:51.705 INFO idle-entry i.t.a.w.b Starting Web Server…
2022-05-16 20:21:51.772 INFO disconnect-entr i.t.a.m.K Checking Agent’s connectivity with the outside world…
2022-05-16 20:21:51.778 INFO idle-entry i.t.a.w.b Starting internal web server…
2022-05-16 20:21:54.860 INFO disconnect-entr i.t.a.m.K Connection established successfully.
2022-05-16 20:21:54.900 INFO disconnect-entr i.t.a.f.c.a.k Direct connection (no proxy) is possible.
2022-05-16 20:21:55.448 INFO disconnect-entr i.t.a.f.c.a.k External connectivity is possible, proceeding to Authentication…
2022-05-16 20:21:55.772 INFO auth-entry i.t.a.f.c.a.a Trying to load Agent remote identity…
2022-05-16 20:21:56.503 INFO auth-entry i.t.a.s.IdentityManager No identity file was found - Agent is not registered
2022-05-16 20:21:57.934 INFO idle-entry i.t.a.w.b Web server started on http://localhost:8585
2022-05-16 20:21:57.941 INFO auth-entry i.t.a.f.c.a.a Agent is not registered
2022-05-16 20:21:58.061 INFO start-appium i.t.a.m.f.k Starting Appium server…
2022-05-16 20:21:58.137 INFO unauthorized-en i.t.a.f.c.a.p Waiting for incoming registration request…
2022-05-16 20:22:22.466 INFO pool-3-thread-5 i.t.a.m.c.f DISM - Microsoft.WebDriver: [, Deployment Image Servicing and Management tool, Version: 10.0.14393.0, , Image Version: 10.0.14393.0, , , Error: 87, , No Windows features were specified on the command line., Use the /Get-Features option to find the name of the feature in the image and try the command again., , The DISM log file can be found at C:\Windows\Logs\DISM\dism.log]
2022-05-16 20:24:05.835 INFO qtp688778516-63 i.t.a.w.r.e.RegistrationEndpoints Received a request to register Agent with token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2lkIjoiaVNsSkJvZEZYME9oRWJJMkw3cTg5ZyIsImd1aWQiOiItNzZxZnRRT3dreU1VMTdkSmVsU05nIiwiYWxzIjoiQkxSX1dpblNldjE2X1NlcnZlciIsInR5cCI6IlBoeXNpY2FsIiwidXNyIjoibWltdS5kdXR0YUBpbi5wYW5hc29uaWMuY29tIiwibmJmIjoxNjUyNzU3ODQ1LCJleHAiOjE2NTI3NTgxNDUsImlhdCI6MTY1Mjc1Nzg0NSwiaXNzIjoiQWdlbnRzLVJlZ2lzdHJhdGlvbi1BdXRob3JpdHkiLCJhdWQiOiJ0cC5hZ2VudCJ9.U_355UAiqgEPCXhtHfS61PtU1Ot9bBFumKgUi0d01Vk
2022-05-16 20:24:05.855 INFO pool-3-thread-8 i.t.a.b.b.f Connecting TestProject servers…
2022-05-16 20:24:05.856 INFO pool-3-thread-8 i.t.a.m.K Checking Agent’s connectivity with the outside world…
2022-05-16 20:24:07.425 INFO pool-3-thread-8 i.t.a.m.K Connection established successfully.
2022-05-16 20:24:07.433 INFO pool-3-thread-8 i.t.a.b.b.f Registering Agent…
2022-05-16 20:24:07.437 INFO pool-3-thread-8 i.t.a.b.b.f Preparing to send registration request to host https://api.testproject.io/
2022-05-16 20:24:07.441 INFO pool-3-thread-8 i.t.a.b.b.f Sending registration request to https://api.testproject.io/agents/registration/agents
2022-05-16 20:24:08.690 INFO pool-3-thread-9 i.t.a.b.a.d POST https://api.testproject.io/agents/registration/agents - 200 (D9XdpDu1): No Message
2022-05-16 20:24:08.693 INFO pool-3-thread-8 i.t.a.b.b.f Registration request succeeded.
2022-05-16 20:24:08.734 INFO qtp688778516-63 i.t.a.m.L Registered successfully
2022-05-16 20:24:08.734 INFO qtp688778516-63 i.t.a.m.L Resuming endpoint flow to unblock UI asap
2022-05-16 20:24:09.237 INFO qtp688778516-63 i.t.a.s.IdentityManager Agent identity has been saved
2022-05-16 20:24:09.298 INFO auth-entry i.t.a.f.c.a.a Trying to load Agent remote identity…
2022-05-16 20:24:09.312 INFO auth-entry i.t.a.f.c.a.a Agent is registered as [BLR_WinSev16_Server] (-76qftQOwkyMU17dJelSNg), proceeding to authentication…
2022-05-16 20:24:09.318 INFO auth-entry i.t.a.f.c.a.a Authenticating with TestProject…
2022-05-16 20:24:09.325 INFO auth-entry i.t.a.s.c Requesting authenticating token…
2022-05-16 20:24:10.689 INFO auth-entry i.t.a.s.c Authenticated successfully
2022-05-16 20:24:10.710 INFO state-machine i.t.a.f.c.a.h Starting Signal…
2022-05-16 20:24:12.076 INFO EventThread i.t.a.b.c.a Signal connected, awaiting authentication result…
2022-05-16 20:24:12.102 INFO EventThread i.t.a.b.c.a Sent empty Session ID
2022-05-16 20:24:13.589 INFO EventThread i.t.a.b.c.a Signal authentication finished
2022-05-16 20:24:13.591 INFO EventThread i.t.a.b.c.a Connection Session ID: jhsQAoZ7PA
2022-05-16 20:24:13.593 INFO EventThread i.t.a.b.c.a Signal authorized
2022-05-16 20:24:15.465 INFO idle-entry i.t.a.b.a.d POST https://api.testproject.io/api/v1/agent/certificate - 200 (Eb1eQEKv): No Message
2022-05-16 20:24:15.582 INFO idle-entry i.t.a.w.b Added SSL connector
2022-05-16 20:24:15.584 INFO idle-entry i.t.a.s.IdentityManager Requesting remote identity…
2022-05-16 20:24:16.696 INFO idle-entry i.t.a.b.a.d GET https://api.testproject.io/api/v1/agent - 200 (v69CiXOH): No Message
2022-05-16 20:24:16.722 WARN idle-entry i.t.a.s.IdentityManager Latest version is unknown, Agent might be outdated
2022-05-16 20:24:16.729 INFO idle-entry i.t.a.s.IdentityManager Agent identity has been saved
2022-05-16 20:24:16.732 INFO idle-entry i.t.a.f.c.a.d Account plan: Free
2022-05-16 20:24:16.735 INFO idle-entry i.t.a.h Refreshing & reporting capabilities…
2022-05-16 20:24:16.792 INFO idle-entry i.t.a.m.c.a Requesting ADB version from C:\Program Files\TestProject Agent\app\android-sdk\platform-tools\adb.exe
2022-05-16 20:24:16.862 INFO idle-entry i.t.a.m.c.a Detected Java [13.0.1]
2022-05-16 20:24:16.869 INFO idle-entry i.t.a.m.c.a Detected DotNet [5.0.14]
2022-05-16 20:24:16.873 INFO idle-entry i.t.a.m.c.a Detected ADB [1.0.41]
2022-05-16 20:24:16.880 INFO idle-entry i.t.a.m.c.f Installing Legacy Edge driver using DISM (Feature on Demand)…
2022-05-16 20:24:16.895 INFO idle-entry i.t.a.m.c.f Legacy Edge driver will be available after reboot
2022-05-16 20:24:16.896 WARN idle-entry i.t.a.m.c.f Didn’t detect Legacy Edge driver
2022-05-16 20:24:16.901 INFO idle-entry i.t.a.m.c.a Detected Chrome driver [91.0.4472.101] x64
2022-05-16 20:24:16.904 INFO idle-entry i.t.a.m.c.a Detected Edge driver [42.17134.1.0] x64
2022-05-16 20:24:16.938 INFO idle-entry i.t.a.m.c.a Detected Edge driver [91.0.864.48] x64
2022-05-16 20:24:16.949 INFO idle-entry i.t.a.m.c.a Detected Firefox driver [89.0.1] x64
2022-05-16 20:24:16.951 INFO idle-entry i.t.a.m.c.a Detected InternetExplorer driver [11.914.17763.0] x64
2022-05-16 20:24:17.461 INFO jersey-client-a i.t.a.b.a.d POST https://api.testproject.io/api/v1/agent/capabilities - 200 (unI8e1vg): Capabilities were received
2022-05-16 20:24:17.465 INFO idle-entry i.t.a.b.b.a Retrieving list of provisioned iOS devices…
2022-05-16 20:24:17.713 INFO idle-entry i.t.a.b.a.d GET https://api.testproject.io/api/v1/devices/provisioned - 200 (L3WbJiEj): No Message
2022-05-16 20:24:17.723 INFO pool-3-thread-1 i.t.a.b.b.a Reporting state: Idle
2022-05-16 20:24:17.749 INFO pool-3-thread-1 i.t.a.m.w.b Configuring concurrent workers amount: 1
2022-05-16 20:24:20.102 INFO pool-3-thread-9 i.t.a.m.c.f DISM - Microsoft.WebDriver: [, Deployment Image Servicing and Management tool, Version: 10.0.14393.0, , Image Version: 10.0.14393.0, , , Error: 87, , No Windows features were specified on the command line., Use the /Get-Features option to find the name of the feature in the image and try the command again., , The DISM log file can be found at C:\Windows\Logs\DISM\dism.log]
2022-05-16 20:24:20.262 INFO idle-entry i.t.a.m.A Reported Agent state and got response - [Agent Version: 3.5.0]
2022-05-16 20:24:20.291 INFO idle-entry i.t.a.m.d.p Report uploading manager started.
2022-05-16 20:24:21.766 INFO qtp688778516-64 i.t.a.w.b.c EventsSocket 52c4e24a-adc3-40db-8e0d-8d96b3e6ffc6 #1 connected
2022-05-16 20:24:22.031 INFO EventThread i.t.a.b.c.a User 607821 has connected
2022-05-16 20:24:52.825 INFO launcher-socket i.t.a.m.C Disconnected from Launcher
2022-05-16 20:27:48.672 INFO main i.t.a.Program *** AGENT MANAGER - START ***
2022-05-16 20:28:22.318 INFO init-entry i.t.a.h TestProject Agent 3.5.0 (cd294d338) on Windows Server 2016
2022-05-16 20:28:22.422 INFO init-entry i.t.a.h Running under user Administrator (Administrator) of type Administrator with Administrator privileges
2022-05-16 20:28:22.424 INFO init-entry i.t.a.h Using WINDOWS-ROOT certificates store
2022-05-16 20:28:22.462 INFO init-entry i.t.a.m.C Starting launcher socket on port 50477
2022-05-16 20:28:23.022 INFO init-entry i.t.a.h Working folder: C:\Program Files\TestProject Agent\app
2022-05-16 20:28:23.026 INFO init-entry i.t.a.h Data folder: C:\Users\Administrator\AppData\Roaming\TestProject\Agent
2022-05-16 20:28:23.084 INFO init-entry i.t.a.h Agent IP addresses: 10.0.3.15, 10.0.2.15, 10.0.5.15, 10.0.4.15
2022-05-16 20:28:24.895 INFO init-entry i.t.a.m.c.f Checking if extensions installation blacklist is configured…
2022-05-16 20:28:27.267 WARN init-entry i.t.a.f.o Registry query failed - ERROR: The system was unable to find the specified registry key or value.
2022-05-16 20:28:34.302 INFO pool-6-thread-1 i.t.a.i.l iOS Wrapper 3.5.0 starting on port 50487…
2022-05-16 20:28:34.369 INFO pool-6-thread-1 i.t.a.i.l Building server for port 50487
2022-05-16 20:28:35.336 INFO pool-6-thread-1 i.t.a.i.l Starting server…
2022-05-16 20:28:35.542 INFO init-entry i.t.a.m.c.f There is no evidence that all extensions are blacklisted
2022-05-16 20:28:35.836 INFO pool-6-thread-1 i.t.a.i.l Server started, listening on 50487
2022-05-16 20:28:41.283 INFO pool-6-thread-1 i.t.a.i.l Starting services…
2022-05-16 20:28:41.616 INFO pool-6-thread-1 i.t.a.i.l iOS SDK Wrapper - Ready!
2022-05-16 20:29:01.657 ERROR init-entry i.t.a.a.a.c.a Timed out while searching for adb processes
java.util.concurrent.TimeoutException: null
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at io.testproject.agent.a.a.b.c.a(TestProjectAgent:72)
at io.testproject.agent.a.a.b.c.a(TestProjectAgent:60)
at io.testproject.agent.a.a.c.a.c(TestProjectAgent:441)
at io.testproject.agent.a.a.c.a.a(TestProjectAgent:61)
at io.testproject.agent.a.a.c.a.a(TestProjectAgent:44)
at io.testproject.agent.managers.f.a.a(TestProjectAgent:80)
at io.testproject.agent.managers.f.l.l(TestProjectAgent:852)
at io.testproject.agent.managers.f.l.b(TestProjectAgent:265)
at io.testproject.agent.h.f(TestProjectAgent:345)
at io.testproject.agent.fsm.local.a.w.a(TestProjectAgent:66)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.testproject.agent.c.d.run(TestProjectAgent:33)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
2022-05-16 20:29:07.484 ERROR init-entry i.t.a.a.a.b.a Port 5037 is not available for binding
2022-05-16 20:29:14.559 INFO init-entry i.t.a.a.a.c.a Setting ADB port to 50528
2022-05-16 20:29:14.579 INFO init-entry i.t.a.a.a.c.a Creating new ADB bridge…
2022-05-16 20:29:20.473 INFO pool-6-thread-1 i.t.a.i.l Services Status: [c=DONE]
2022-05-16 20:29:20.473 INFO pool-6-thread-1 i.t.a.i.l Canceling isReadyTask returned true
2022-05-16 20:29:20.546 INFO pool-6-thread-1 i.t.a.i.l Starting heartbeat service…
2022-05-16 20:29:20.642 INFO pool-6-thread-1 i.t.a.i.l Received request to start monitoring
2022-05-16 20:29:34.587 ERROR init-entry i.t.a.m.f.a Failed to initialize ADB!
io.testproject.agent.a.a.a.a: Failed to create bridge
at io.testproject.agent.a.a.c.a.a(TestProjectAgent:101)
at io.testproject.agent.managers.f.a.a(TestProjectAgent:81)
at io.testproject.agent.managers.f.l.l(TestProjectAgent:852)
at io.testproject.agent.managers.f.l.b(TestProjectAgent:265)
at io.testproject.agent.h.f(TestProjectAgent:345)
at io.testproject.agent.fsm.local.a.w.a(TestProjectAgent:66)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.testproject.agent.c.d.run(TestProjectAgent:33)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
2022-05-16 20:29:34.941 INFO init-entry i.t.a.i.l Waiting a bit for IOS Wrapper to come up…
2022-05-16 20:29:37.109 INFO init-entry i.t.a.m.c.a Requesting ADB version from C:\Program Files\TestProject Agent\app\android-sdk\platform-tools\adb.exe
2022-05-16 20:29:37.368 INFO init-entry i.t.a.m.c.a Detected Java [13.0.1]
2022-05-16 20:29:37.388 INFO init-entry i.t.a.m.c.a Detected DotNet [5.0.14]
2022-05-16 20:29:37.391 INFO init-entry i.t.a.m.c.a Detected ADB [1.0.41]
2022-05-16 20:29:38.245 INFO init-entry i.t.a.m.c.f Searching for installed browsers…
2022-05-16 20:29:38.299 INFO init-entry i.t.a.m.c.f Checking installed browsers by default paths…
2022-05-16 20:29:38.324 INFO init-entry i.t.a.m.c.f Detected Chrome browser [101.0.4951.67]
2022-05-16 20:29:38.331 INFO init-entry i.t.a.m.c.f Detected Firefox browser [100.0.0.8153]
2022-05-16 20:29:38.337 INFO init-entry i.t.a.m.c.f Detected InternetExplorer browser [11.0.14393.0]
2022-05-16 20:29:38.339 INFO init-entry i.t.a.m.c.f Checking installed browsers by registry…
2022-05-16 20:29:39.314 WARN init-entry i.t.a.f.o Registry query failed - ERROR: The system was unable to find the specified registry key or value.
2022-05-16 20:29:39.490 WARN init-entry i.t.a.f.o Registry query failed - ERROR: The system was unable to find the specified registry key or value.
2022-05-16 20:29:39.497 INFO init-entry i.t.a.m.c.f Searching for Legacy Edge in registry…
2022-05-16 20:29:39.499 INFO init-entry i.t.a.m.c.f Finished detecting installed browsers.
2022-05-16 20:29:39.519 INFO init-entry i.t.a.m.c.f Installing Legacy Edge driver using DISM (Feature on Demand)…
2022-05-16 20:29:39.523 INFO init-entry i.t.a.m.c.f Legacy Edge driver will be available after reboot
2022-05-16 20:29:39.523 WARN init-entry i.t.a.m.c.f Didn’t detect Legacy Edge driver

This topic was automatically closed after 180 days. New replies are no longer allowed.