Possibly related:
I find when I configure the following:
cas.authn.throttle.schedule.start-delay=PT15S
cas.authn.throttle.schedule.repeat-interval=PT2M

hazelcast for tickets will not start as well.
{uuid=c50a7ff2-aada-46df-9b27-7becfb0b82ef, partitionId=84,
source=[10.0.79.37]:5701 - 3d6b7b52-1e7b-4d02-86cf-20646660c0dc,
sourceCurrentReplicaIndex=0, sourceNewReplicaIndex=-1,
destination=[10.0.79.38]:5701 - 98a372bd-9e6c-4392-83d4-0f53bc20999e,
destinationCurrentReplicaIndex=2, destinationNewReplicaIndex=0,
master=[10.0.79.38]:5701, initialPartitionVersion=54,
partitionVersionIncrement=2, status=SUCCESS}>
2022-04-19 14:48:20,284 DEBUG
[com.hazelcast.internal.partition.InternalPartitionService] -
<[10.0.79.37]:5701 [dev] [5.0.2] Applied completed migrations with
partition state stamp: -8849522026878563695>
2022-04-19 14:48:20,284 DEBUG
[com.hazelcast.internal.partition.InternalPartitionService] -
<[10.0.79.37]:5701 [dev] [5.0.2] Applied completed migrations with
partition state stamp: -8849522026878563695>
2022-04-19 14:48:20,285 DEBUG [com.hazelcast.instance.impl.Node] -
<[10.0.79.37]:5701 [dev] [5.0.2] Graceful shutdown completed for
InternalPartitionService {stamp: -8849522026878563695, migrationQ: 0}>
2022-04-19 14:48:20,285 DEBUG
[com.hazelcast.internal.cluster.ClusterService] - <[10.0.79.37]:5701
[dev] [5.0.2] Setting master address to null>
2022-04-19 14:48:20,285 INFO [com.hazelcast.instance.impl.Node] -
<[10.0.79.37]:5701 [dev] [5.0.2] Shutting down connection manager...>
2022-04-19 14:48:20,286 INFO
[com.hazelcast.internal.server.tcp.TcpServerConnection] -
<[10.0.79.37]:5701 [dev] [5.0.2] Connection[id=1, /10.0.79.37:46505-
>/10.0.79.38:5701, qualifier=null, endpoint=[10.0.79.38]:5701,
alive=false, connectionType=MEMBER, planeIndex=0] closed. Reason:
TcpServer is stopping>
2022-04-19 14:48:20,288 INFO
[com.hazelcast.internal.server.tcp.TcpServerConnection] -
<[10.0.79.37]:5701 [dev] [5.0.2] Connection[id=2, /10.0.79.37:5701-
>/10.0.79.50:45633, qualifier=null, endpoint=[10.0.79.50]:5701,
alive=false, connectionType=MEMBER, planeIndex=0] closed. Reason:
TcpServer is stopping>
2022-04-19 14:48:20,289 INFO [com.hazelcast.instance.impl.Node] -
<[10.0.79.37]:5701 [dev] [5.0.2] Shutting down node engine...>
2022-04-19 14:48:20,301 DEBUG
[com.hazelcast.internal.cluster.ClusterService] - <[10.0.79.37]:5701
[dev] [5.0.2] Setting master address to null>
2022-04-19 14:48:23,310 INFO
[com.hazelcast.instance.impl.NodeExtension] - <[10.0.79.37]:5701 [dev]
[5.0.2] Destroying node NodeExtension.>
2022-04-19 14:48:23,310 INFO [com.hazelcast.instance.impl.Node] -
<[10.0.79.37]:5701 [dev] [5.0.2] Hazelcast Shutdown is completed in
3191 ms.>
2022-04-19 14:48:23,310 INFO [com.hazelcast.core.LifecycleService] -
<[10.0.79.37]:5701 [dev] [5.0.2] [10.0.79.37]:5701 is SHUTDOWN>

If I comment out the two options above, hazelcast for tickets works.
hazelcast for throttles doesn't work in any case.
-- 
Erik Mallory
Server Analyst
Wichita State University

On Wed, 2022-04-13 at 18:21 +0000, 'Mallory, Erik' via CAS Community
wrote:
> Hello,
> Hazelcast for throttling is not working.
> Here are my settings, and below the settings is the error.
> Help is appreciated.
> 
> #Authentication Throttling
> cas.authn.throttle.core.username-parameter=username
> cas.authn.throttle.core.app-code=CAS
> cas.authn.throttle.failure.threshold=100
> cas.authn.throttle.failure.code=AUTHENTICATION_FAILED
> cas.authn.throttle.failure.range-seconds=60
> ##
> #Hazelcast for Throttling 
> #cas.authn.throttle.hazelcast.cluster.network.members=10.0.79.37,10.0
> .7
> 9.38,10.79.50
> cas.authn.throttle.hazelcast.cluster.network.local-
> address='10.0.79.37'
> cas.authn.throttle.hazelcast.cluster.network.members=10.0.79.37
> cas.authn.throttle.hazelcast.cluster.core.instance-name=cas-thrt
> cas.authn.throttle.hazelcast.cluster.network.port=5704
> cas.authn.throttle.hazelcast.cluster.network.tcpip-enabled=true
> cas.authn.throttle.hazelcast.cluster.network.port-auto-
> increment=false
> cas.authn.throttle.hazelcast.cluster.core.eviction-policy=LRU
> cas.authn.throttle.hazelcast.cluster.core.max-no-heartbeat-
> seconds=300
> cas.authn.throttle.hazelcast.cluster.core.logging-type=log4j
> cas.authn.throttle.hazelcast.cluster.core.max-size=85
> cas.authn.throttle.hazelcast.cluster.core.max-size-
> policy=USED_HEAP_PERCENTAGE
> cas.authn.throttle.hazelcast.cluster.core.timeout=5
> cas.authn.throttle.hazelcast.cluster.core.backup-count=1
> cas.authn.throttle.hazelcast.cluster.core.async-backup-count=0
> cas.authn.throttle.hazelcast.cluster.core.async-fillup=true
> #cas.authn.throttle.hazelcast.enable-compression=false
> #cas.authn.throttle.hazelcast.enable-management-center-
> scripting=false
> 
>  ERROR
> [org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler
> ]
> - <Unexpected error occurred in scheduled task>
> com.hazelcast.nio.serialization.HazelcastSerializationException:
> Failed
> to serialize
> 'com.hazelcast.spi.impl.operationservice.impl.operations.PartitionIte
> ra
> tingOperation'
>         at
> .....
> Caused by: java.io.NotSerializableException:
> org.apereo.cas.web.support.AbstractInMemoryThrottledSubmissionHandler
> In
> terceptorAdapter$$Lambda$3419/0x0000000841191840
> -- 
> Erik Mallory
> Server Analyst
> Wichita State University
> 

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/7de223dbd1a21d10f4491100b06c9df7490aa457.camel%40wichita.edu.

Reply via email to