Exception in thread “main” redis.clients.jedis.exceptions.JedisDataException: ERR invalid password
up vote
0
down vote
favorite
Here is code snippet. Even after passing the correct name and key values, still getting the invalid password exception.
JedisShardInfo shardInfo = new JedisShardInfo("<name>.redis.cache.windows.net", 6380, useSsl);
shardInfo.setPassword("<key>"); /* Use your access key. */
Jedis jedis = new Jedis(shardInfo);
jedis.set("foo", "bar");
azure-redis-cache
add a comment |
up vote
0
down vote
favorite
Here is code snippet. Even after passing the correct name and key values, still getting the invalid password exception.
JedisShardInfo shardInfo = new JedisShardInfo("<name>.redis.cache.windows.net", 6380, useSsl);
shardInfo.setPassword("<key>"); /* Use your access key. */
Jedis jedis = new Jedis(shardInfo);
jedis.set("foo", "bar");
azure-redis-cache
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Here is code snippet. Even after passing the correct name and key values, still getting the invalid password exception.
JedisShardInfo shardInfo = new JedisShardInfo("<name>.redis.cache.windows.net", 6380, useSsl);
shardInfo.setPassword("<key>"); /* Use your access key. */
Jedis jedis = new Jedis(shardInfo);
jedis.set("foo", "bar");
azure-redis-cache
Here is code snippet. Even after passing the correct name and key values, still getting the invalid password exception.
JedisShardInfo shardInfo = new JedisShardInfo("<name>.redis.cache.windows.net", 6380, useSsl);
shardInfo.setPassword("<key>"); /* Use your access key. */
Jedis jedis = new Jedis(shardInfo);
jedis.set("foo", "bar");
azure-redis-cache
azure-redis-cache
asked Nov 10 at 5:32
TechPassionate
166
166
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I'm using IntelliJ IDE to perform this test, and it seems the IJ cached some wrong value for the key, even though the correct key is mentioned in the program.
Build-> Clean Project & Build->Rebuild Project from IJ, and re-run the program resolved the issue.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I'm using IntelliJ IDE to perform this test, and it seems the IJ cached some wrong value for the key, even though the correct key is mentioned in the program.
Build-> Clean Project & Build->Rebuild Project from IJ, and re-run the program resolved the issue.
add a comment |
up vote
0
down vote
I'm using IntelliJ IDE to perform this test, and it seems the IJ cached some wrong value for the key, even though the correct key is mentioned in the program.
Build-> Clean Project & Build->Rebuild Project from IJ, and re-run the program resolved the issue.
add a comment |
up vote
0
down vote
up vote
0
down vote
I'm using IntelliJ IDE to perform this test, and it seems the IJ cached some wrong value for the key, even though the correct key is mentioned in the program.
Build-> Clean Project & Build->Rebuild Project from IJ, and re-run the program resolved the issue.
I'm using IntelliJ IDE to perform this test, and it seems the IJ cached some wrong value for the key, even though the correct key is mentioned in the program.
Build-> Clean Project & Build->Rebuild Project from IJ, and re-run the program resolved the issue.
answered Nov 10 at 23:56
TechPassionate
166
166
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53236275%2fexception-in-thread-main-redis-clients-jedis-exceptions-jedisdataexception-er%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown