Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test is failing due to error org.redisson.client.WriteRedisConnectionException #124

Open
kamalbctg opened this issue Apr 2, 2021 · 0 comments

Comments

@kamalbctg
Copy link

kamalbctg commented Apr 2, 2021

Concurrent Testing to check behavior of Rlock

Exception Details:
Time elapsed: 0.656 s <<< ERROR!
org.redisson.client.WriteRedisConnectionException: Unable to write command into connection! Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], connection: RedisConnection@574508184 [redisClient=[addr=redis://localhost:6333], channel=[id: 0xd62555f1, L:0.0.0.0/0.0.0.0:53997], currentCommand=null], command: (EVAL), params: [local v = redis.call('hget', KEYS[1], ARGV[1]); redis.call('hset', KEYS[1], ARGV[1], ARGV[2]); retur..., 1, RequestRatelimitingCache, PooledUnsafeDirectByteBuf(ridx: 0, widx: 42, cap: 256), PooledUnsafeDirectByteBuf(ridx: 0, widx: 103, cap: 256)] after 3 retry attempts
Caused by: io.netty.channel.StacklessClosedChannelException

I was using following VM

Vagrant.configure("2") do |config|
     config.vm.box = "ubuntu/trusty64"
     config.vm.network :private_network, ip: "192.168.0.42"
     config.vm.synced_folder "tools", "/home/vagrant/apps"
     config.vm.provider :virtualbox do |vb|
        vb.customize ["modifyvm", :id, "--memory", "1024", "--cpus", "1"]
     end
end

Dependencies:

<dependency>
     <groupId>com.github.kstyrc</groupId>
     <artifactId>embedded-redis</artifactId>
     <version>0.6</version>
     <scope>test</scope>
</dependency>
<dependency>
     <groupId>org.redisson</groupId>
     <artifactId>redisson</artifactId>
     <version>3.15.3</version>
</dependency>
@kamalbctg kamalbctg changed the title Test is failing due to error org.redisson.client.WriteRedisConnectionException: Unable to write command into connection! Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], connection: RedisConnection@574508184 [redisClient=[addr=redis://localhost:6333], channel=[id: 0xd62555f1, L:0.0.0.0/0.0.0.0:53997], currentCommand=null], command: (EVAL), params: [local v = redis.call('hget', KEYS[1], ARGV[1]); redis.call('hset', KEYS[1], ARGV[1], ARGV[2]); retur..., 1, delegateAgentCondCache, PooledUnsafeDirectByteBuf(ridx: 0, widx: 42, cap: 256), PooledUnsafeDirectByteBuf(ridx: 0, widx: 103, cap: 256)] after 3 retry attempts Test is failing due to error org.redisson.client.WriteRedisConnectionException Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant