I have 2 java services trying to connect to redis. The actual endpoint configured is"redis://redis.test.internal:6379". One of the java service seems to have issue understanding this. It keeps giving an exception
Issue with Redis connection String::Illegal character in scheme name at index 0: ���redis.test.internal:6379���
When I hardcode the url directly it works.
URI redisURI = new URI("redis://redis.test.internal:6379");
When I read it from a variable it gives the above exception.
Can anyone help with this?