Issue Summary
This is reproducible on Data Center: yes
Steps to Reproduce
- It's very random, with no actual reproduction outside of hand-crafted scenarios involving deliberately breaking the agent - server communication.
Expected Results
After a communication error agent retries the operations
Actual Results
If agent -server communication timeouts, subsequent calls simply rethrow the exception
The below exception is thrown in the atlassian-bamboo.log file:
org.springframework.remoting.RemoteTimeoutException: Receive timeout after 300000 ms for RemoteInvocation: method name 'getAdministrationConfiguration'; parameter types [] INFO | jvm 1364 | 2023/11/20 11:02:26 | at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086) ~[guava-32.1.2-jre.jar:?] INFO | jvm 1364 | 2023/11/20 11:02:26 | at com.google.common.cache.LocalCache.get(LocalCache.java:4012) ~[guava-32.1.2-jre.jar:?] INFO | jvm 1364 | 2023/11/20 11:02:26 | at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035) ~[guava-32.1.2-jre.jar:?] (...) Caused by: org.springframework.remoting.RemoteTimeoutException: Receive timeout after 300000 ms for RemoteInvocation: method name 'getAdministrationConfiguration'; parameter types [] INFO | jvm 1364 | 2023/11/20 11:02:26 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.onReceiveTimeout(JmsInvokerClientInterceptor.java:393) ~[spring-jms-5.3.29.jar:5.3.29] INFO | jvm 1364 | 2023/11/20 11:02:26 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:261) ~[spring-jms-5.3.29.jar:5.3.29] INFO | jvm 1364 | 2023/11/20 11:02:26 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206) ~[spring-jms-5.3.29.jar:5.3.29] INFO | jvm 1364 | 2023/11/20 11:02:26 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
Workaround
There are two possible workarounds:
Workaround 1
- Restart affected agents.
Workaround 2
- Trigger a change in administration configuration and then revert it. This causes event broadcast to all agents and should clear the cached value (or in this case: error).
- mentioned in
-
Page Loading...