Mantis - Resin
Viewing Issue Advanced Details
6152 minor always 03-27-18 15:50 05-02-18 15:19
wileysaw  
ferg  
normal  
closed 4.0.51  
fixed  
none    
none 4.0.57  
0006152: java.lang.IllegalArgumentException: 'X' is an invalid server because it has the same IP:port as 'X'
Exceptions printed in logs with the following setup :

Triad Server * 3, Dynamic Server * 3

java.lang.IllegalArgumentException: 'CloudServer[dyn-app-0-1]' is an invalid server because it has the same IP:port as 'CloudServer[dyn-app-0-1]'
                           at com.caucho.cloud.topology.CloudServer.<init>(CloudServer.java:158)
                           at com.caucho.cloud.topology.CloudPod.createServer(CloudPod.java:446)
                           at com.caucho.cloud.topology.CloudPod.createDynamicServer(CloudPod.java:362)
                           at com.caucho.cloud.elastic.ScalingPod.addServer(ScalingPod.java:143)
                           at com.caucho.cloud.elastic.ScalingPod.update(ScalingPod.java:103)
                           at com.caucho.cloud.elastic.ScalingManager.updatePod(ScalingManager.java:285)
                           at com.caucho.cloud.elastic.ScalingAlarm.handleAlarm(ScalingAlarm.java:57)
                           at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
                           at com.caucho.util.Alarm.run(Alarm.java:495)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       
[17-12-31 01:10:27.335] {resin-73} java.lang.IllegalArgumentException: 'CloudServer[]' is an invalid server because it has the same IP:port as 'CloudServer[]
                           at com.caucho.cloud.topology.CloudServer.<init>(CloudServer.java:158)
                           at com.caucho.cloud.topology.CloudPod.createServer(CloudPod.java:446)
                           at com.caucho.cloud.topology.CloudPod.createDynamicServer(CloudPod.java:362)
                           at com.caucho.cloud.elastic.ScalingPod.addServer(ScalingPod.java:143)
                           at com.caucho.cloud.elastic.ScalingPod.update(ScalingPod.java:103)
                           at com.caucho.cloud.elastic.ScalingManager.updatePod(ScalingManager.java:285)
                           at com.caucho.cloud.elastic.ScalingManager$ScalingCacheListener.onCacheChange(ScalingManager.java:445)
                           at com.caucho.cloud.globalcache.GlobalCacheManager.notifyListeners(GlobalCacheManager.java:274)
                           at com.caucho.cloud.globalcache.GlobalCacheManager.access$000(GlobalCacheManager.java:61)
                           at com.caucho.cloud.globalcache.GlobalCacheManager$ClusterCacheListener.onUpdated(GlobalCacheManager.java:445)
                           at com.caucho.server.distcache.CacheImpl$UpdatedListener.onUpdated(CacheImpl.java:1386)
                           at com.caucho.server.distcache.CacheImpl.entryUpdate(CacheImpl.java:1143)
                           at com.caucho.server.distcache.CacheImpl.access$200(CacheImpl.java:87)
                           at com.caucho.server.distcache.CacheImpl$1.run(CacheImpl.java:1121)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)



[18-01-21 04:20:14.576] {resin-port-} ClusterServer[id=app-1] notify-heartbeat-stop
[18-01-21 04:20:26.590] {resin-3818} java.lang.IllegalArgumentException: 'CloudServer[dyn-app-0]' is an invalid server because it has the same IP:port as 'CloudServer[dyn-app-0-1]
                           at com.caucho.cloud.topology.CloudServer.<init>(CloudServer.java:158)
                           at com.caucho.cloud.topology.CloudPod.createServer(CloudPod.java:446)
                           at com.caucho.cloud.topology.CloudPod.createDynamicServer(CloudPod.java:362)
                           at com.caucho.cloud.elastic.ScalingPod.addServer(ScalingPod.java:143)
                           at com.caucho.cloud.elastic.ScalingPod.update(ScalingPod.java:103)
                           at com.caucho.cloud.elastic.ScalingManager.updatePod(ScalingManager.java:285)
                           at com.caucho.cloud.elastic.ScalingAlarm.handleAlarm(ScalingAlarm.java:57)
                           at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
                           at com.caucho.util.Alarm.run(Alarm.java:495)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       



 

There are no notes attached to this issue.