Cause 1: The disk space on the Bot Runner is full
Cause 2 : Control Room Access URL in the Control Room Settings is incorrect
Cause 3 : Copy-Paste of the bots
Cause 4 : Inaccessibility of the Control Room due to Network
Cause 5 : Permissions over Bots in the Role is not provided to the Runner user
Cause 6 : SSL Handshake Error (On-Prem CR with Self Signed certificate)
Cause 7 : Bot deployment path too long and exceeding 255 characters. On Node Manager logs, below error is seen
com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - lambda$downloadFile$44(GlobalCacheServiceImpl.java:697) - Unexpected error downloading and saving file https://XXXXX.my.automationanywhere.digital/v1/repository/5/7741/download?version=latest java.lang.RuntimeException: Error creating or updating cache file at com.automationanywhere.nodemanager.service.impl.CacheDataAccessServiceImpl.lambda$createOrUpdateCacheEntry$1(CacheDataAccessServiceImpl.java:124) ~anode-manager.jar:?] ...Caused by: org.h2.jdbc.JdbcSQLDataException: Value too long for column """LOCAL_PATH"" VARCHAR(255)": "'C:\Users\<username>\AppData\Local\AutomationAnywhere\dad5bdc2-c53b-4ae3-85d2-a102651730a9_d58e4cadd8eeea31\Automation Anywhere\... (280)"; SQL statement:INSERT INTO CACHE_STORE (id, local_path, e_tag, update_time) values (?, ?, ?, CURRENT_DATE()) N22001-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:455) ~onode-manager.jar:?]
Cause 8: Wrong CR URL set up in Control Room Settings. Following error is seen in WEBCR_Commons logcom.automationanywhere.common.util.logutil.LogUtil - traceId:10abb456c456fd9a spanId:10abb456c456fd9a url:http://XXXXX/assets//v2/packages/artifacts/package/bot-command-recorder-2.0.7-20200726-053131.jar method:GET code:500 requestbody:null responsebody:{"message":"The request was rejected because the URL contained a potentially malicious String \"//\""} org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the URL contained a potentially malicious String "//" at com.automationanywhere.authn.spring.ControlRoomHttpFirewall.rejectedBlacklistedUrls(ControlRoomHttpFirewall.java:304) ~ekernel.jar:?] at com.automationanywhere.authn.spring.ControlRoomHttpFirewall.getFirewalledRequest(ControlRoomHttpFirewall.java:267) ~Fkernel.jar:?]
Cause 9: The Repository URL "https://aai-artifacts.my.automationanywhere.digital/" is blocked and not accessible within the environment. The below error is seen in Node_Manager.logError Stack: ERROR "Thread-35] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - onFailedDownloadAttempt(GlobalCacheServiceImpl.java:709) - attempt 3 download failure java.lang.RuntimeException: Unexpected error downloading file https://aai-artifacts.my.automationanywhere.digital/packages/bot-command-messagebox-2.0.0-20200721-222213.jar
Cause 10: Permissions over the Bot Runner and Global Cache Folder on the system where the device is registered
Cause 11: If the control room server is on AWS Server and the control room URL is pointing to the local hostname, the following error is seen in the Node_Manager.js file2020-Nov-18 Wed 10:09:08.215 ERROR WForkJoinPool.commonPool-worker-7] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - onFailedDownloadAttempt(GlobalCacheServiceImpl.java:992) - attempt 1 download failure java.lang.RuntimeException: Unexpected error downloading file http://XXXXX/v2/repository/bot/runtime2020-Nov-18 Wed 10:09:08.215 ERROR Wpool-7-thread-1] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - onFailedDownloadAttempt(GlobalCacheServiceImpl.java:992) - attempt 1 download failure java.lang.RuntimeException: Unexpected error downloading file http://XXXXX/v2/repository/files/packaging/78446b1e-e3ca-42d5-b7c0-ca74f99938a1/18.jar
Cause 12: Network Proxy blocks the Jar File which includes executables like DLL, Javascript, Python script, VB script are unable to download2020-Dec-26 Sat 15:36:46.824 INFO 2pool-2-thread-1] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - lambda$downloadWithRetries$76(GlobalCacheServiceImpl.java:1119) - retrying download https://XXXXX.my.automationanywhere.digital/v1/repository/0/1045/download?version=latest... (attempt 1)2020-Dec-26 Sat 15:36:46.869 ERROR 6pool-2-thread-1] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - lambda$downloadFile$78(GlobalCacheServiceImpl.java:1314) - Unexpected response code 403 downloading the file https://XXXXX.my.automationanywhere.digital/v1/repository/0/1045/download?version=latest
Cause 13: Some of the .jar files are missing or not accessible2021-Jan-11 Mon 16:17:12.721 ERROR 1pool-2-thread-1] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - lambda$downloadFile$78(GlobalCacheServiceImpl.java:1314) - Unexpected response code 500 downloading the file http://XXXXX/v2/repository/files/packaging/88176aa3-ba21-4e59-b00c-961d669037a2/19.jar
Cause 14: Updated.jar (Bot Package) files can be downloaded from outside Automation Anywhere using the Artifact link (https://aai-artifacts.my.automationanywhere.digital/packages/) but the same package cannot be downloaded while running the task bot and giving us the "Unable to download the bot or the dependencies to the device" Error message.
Entries in Node Manager Log:2021-Nov-15 Mon 12:57:22.515 ERROR -pool-2-thread-1] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - run(GlobalCacheServiceImpl.java:1879) - Error deleting the cache entries during expiry java.lang.RuntimeException: Unexpected error getting cache file at com.automationanywhere.nodemanager.service.impl.CacheDataAccessServiceImpl.getExpiredCacheEntries(CacheDataAccessServiceImpl.java:140) ~cnode-manager.jar:?]--------------------------------------------------Caused by: org.h2.jdbc.JdbcSQLNonTransientException: General error: "java.lang.IllegalStateException: Chunk 1919655 not found n1.4.200/9]"; SQL statement:SELECT * FROM CACHE_STORE WHERE update_time < CURRENT_DATE() - INTERVAL 30 DAY T50000-200]--------------------------------------------------------------------------------------------------------------------------Caused by: java.lang.IllegalStateException: Chunk 1919655 not found n1.4.200/9]--------------------------------------------------------------------------------------------------------------------2021-Nov-15 Mon 12:58:19.959 ERROR opool-4-thread-1] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - lambda$checkForExceptions$53(GlobalCacheServiceImpl.java:940) - Unable to download java.util.concurrent.CompletionException: java.lang.RuntimeException: Unexpected error downloading file https://aai-artifacts.my.automationanywhere.digital/packages/bot-command-datetime-2.2.0-20210722-143808.jar (Here You will get the package Name)------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Caused by: java.lang.RuntimeException: Unexpected error downloading file https://aai-artifacts.my.automationanywhere.digital/packages/bot-command-datetime-2.2.0-20210722-143808.jar (Here You will get the package Name)-------------------------------------------------------------------------------------------------------------------------------------------------Caused by: java.lang.RuntimeException: Unexpected error getting cache file-----------------------------------------------------------------------------------------------------------------Caused by: org.h2.jdbc.JdbcSQLNonTransientException: General error: "java.lang.IllegalStateException: Chunk 1919655 not found i1.4.200/9]"; SQL statement:SELECT * FROM CACHE_STORE where id = ? R50000-200]---------------------------------------------------------------------------------------------------------------------------------
Cause 15: The TLS might be causing a handshake errorjavax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source) ~I?:?]
Cause 16 : Bot getting stuck at downloading dependency which uses Excel and Recorder commands / Actions after upgrade
Cause 17 : Metadata was deleted from Repository
Cause 18: The control room is configured with node-level SSL instead of load balancer SSL.
Cause 19: Control room URL resolution is getting failed at the DNS server
2022-Dec-07 Wed 19:40:21.665 ERROR 0pool-4-thread-1] - com.automationanywhere.nodemanager.service.impl.GlobalCacheServiceImpl - {} - lambda$checkForExceptions$54(GlobalCacheServiceImpl.java:960) - Unable to download java.util.concurrent.CompletionException: java.lang.RuntimeException: Unexpected error downloading file https://***.my.automationanywhere.digital/v2/repository/bot/runtimeCaused by: java.net.UnknownHostException: ***.my.automationanywhere.digital