Questions tagged [sentinel]

A sentinel is a loop exit value or list delimiter whose value is outside the range of valid input, such as -1 for a zero-based array index, or ~ for alphabetic strings.

410 questions
2
votes
0 answers

Sentinel throttle denied service to multiple devices in same network

When I used my laptop and mobile phone to access login page using same network . Sentinel denied my both devices to access when I try more than 5 time wrong credentials only on my laptop.how to avoid to denied phone to access login page .
Sagar Shinde
  • 95
  • 1
  • 11
2
votes
0 answers

How do I use JedisConnectionFactory.afterPropertiesSet () even if Redis Sentinel ip is not valid?

Hi I am a junior developer. I am trying to handle exceptions related to Redis Sentinel in spring, but it does not work. I have to use the Redis Cluster, so it should work even if Redis Sentinel is not connected. So, after declaring the Sentinel ip…
Sora Yeon
  • 21
  • 2
2
votes
3 answers

"Empty" array\vector members c++

I have to fill an array of 1000 objects by reading data from disk. However, not every objects exits. Once I declare an array, memory will be reserved for 1000 objects. As I read them one by one, I set the memory to corresponding values. However,…
Karlovsky120
  • 6,212
  • 8
  • 41
  • 94
2
votes
1 answer

Database setup for Cartalyst/Sentinel

https://cartalyst.com/manual/sentinel/2.0#sentinel-authenticate I've followed the basic installation in the Sentinel documentation for Native usage as I don't have Laravel installed, I have installed all the packages via Composer and I'd like to…
Alain D'Ettorre
  • 134
  • 1
  • 4
  • 12
2
votes
1 answer

Preload a view in laravel with different data

I am using Laravel and sentinel to develop a permission system however it was designed so that the user can select and deselect which permissions the role has from a checkbox form. I have already coded the part where they can assign permissions…
Mntfr
  • 483
  • 6
  • 20
2
votes
1 answer

In laravel, how to use sentinel in a controller?

I am using sentinel to manage my roles an permissions but in this project the permissions can be edited by the admin. so I am using a controller to assign the new permissions. however I cant use the Sentinel class in the controller archive I get the…
Mntfr
  • 483
  • 6
  • 20
2
votes
0 answers

Redis-3.0.5 Sentinel on Windows

Trying to run the 1 Master 2 Slave with 3 Sentinel setup on localhost (Windows), using redis-3.0.5 64 bit, as described here : https://github.com/ServiceStack/redis-config.git All instances come up fine and seems to be communication till I test the…
joeflux
  • 71
  • 1
  • 1
  • 4
2
votes
1 answer

How to use username for Login using Sentinel in Laravel?

I've using Sentinel for user authentication in Laravel. I've followed this guide to login using username but it doesn't seem to work! I have a test route to test the login which is as follows: Route::get('/test-login', function() { …
nvaughan84
  • 463
  • 6
  • 13
2
votes
2 answers

Laravel 5 sentinel: How can disable "activation" and "throttle" checkpoints?

is there a way to disable "activation" and "throttle" check in sentinel? Thank you for any help you can provide for this.
Shakti
  • 189
  • 1
  • 3
  • 15
2
votes
1 answer

Redis cluster via HAProxy

I have a Redis Cluster that clients are connecting to via HAPRoxy with a Virtual IP. The Redis cluster has three nodes (with each node sharing the same server with a running sentinel instance). My question is, when i clients gets a "MOVED"…
The Georgia
  • 1,005
  • 7
  • 23
  • 59
2
votes
2 answers

What is a safety wall and how do I use it?

I've Googled and found zero answers for "safety wall", so I'm pretty sure that's not the correct term. I'll explain myself: As I've read, I'm talking about taking a two dimensional array and placing it in a same array with an addition of one cell to…
2
votes
1 answer

How does one dynamically set HAProxy IP configs?

I have deployed a Redis Cluster using Kubernetes. I am now attempting to use HAProxy to load balance. HAProxy is great for load balancing a redis cluster, IF you have static IPs. However, we don't have this when using kubernetes. While testing…
Mulloy
  • 101
  • 8
2
votes
2 answers

redis 2.8.7 sentinel environment configuration questions for linux, how to make it autostart, what they should subscribe to?

for now we're trying to play with redis 2.8.7 as cache storage (from the .NET web application using booksleeve client). It seems to be very interesting and exciting task at the moment, redis documentation is very nice, but due to lack of real…
alexx
  • 133
  • 1
  • 2
  • 9
2
votes
1 answer

maximum and minimum - sentinel controlled repetition

I have to find the maximum and the minimum using a sentinel controlled repetition. "maximum” is not working properly. Can anyone help me with some clue about what’s wrong in my code? #include int main() { int number; int min; int…
Nomics
  • 706
  • 5
  • 14
2
votes
1 answer

Deep copy and deconstructor sentinel linked list using Nodes

I am currently making a linked List program using Nodes(not that i know of any other way) and I have come upon a problem about creating a deep copy and getting rid of all my Nodes and Sentinels with my ~List(). Deleting the Nodes is not a problem,…
Kurt E
  • 367
  • 1
  • 2
  • 9