Comments (6)
server=redis.newlifex.com;port=6379;password=123456;db=3
What's your address of server?
Try again with version>=v2023.0803
from newlife.redis.
Ok. Thanks for the response. I use kubernetic dns cluster name. I use the master instance address and the master redirect it to one of the worker service address. It's at the point it fails. But the old version does do that. I will try the new version you mentioned now.
from newlife.redis.
Still the same.
[FTL] PRO PARENT-API-6SLDM iRegisterkids.Parent | One or more errors occurred. (解析主机redis-replicas-3.的地址失败!Name does not resolve)
System.AggregateException: One or more errors occurred. (解析主机redis-replicas-3.的地址失败!Name does not resolve)
---> NewLife.XException: 解析主机redis-replicas-3.的地址失败!Name does not resolve
2023-10-02T15:05:32.699359968Z ---> System.Net.Sockets.SocketException (00000005, 0xFFFDFFFF): Name does not resolve
at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, Int64 startingTimestamp)
2023-10-02T15:05:32.699401918Z at System.Net.Dns.<>c.b__33_0(Object s, Int64 startingTimestamp)
at System.Net.Dns.<>c__DisplayClass39_01.<RunAsync>b__0(Task <p0>, Object <p1>) at System.Threading.Tasks.ContinuationResultTaskFromTask
1.InnerInvoke()
2023-10-02T15:05:32.699492428Z at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
2023-10-02T15:05:32.699534374Z --- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
2023-10-02T15:05:32.699608855Z at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at NewLife.Net.DnsResolver.ResolveCore(String host, DnsItem item, Boolean throwError)
at NewLife.Net.DnsResolver.Resolve(String host)
at NewLife.Net.NetUri.ParseAddress(String hostname)
2023-10-02T15:05:32.699754328Z --- End of inner exception stack trace ---
at NewLife.Net.NetUri.ParseAddress(String hostname)
at NewLife.Net.NetUri.get_EndPoint()
2023-10-02T15:05:32.699811861Z at NewLife.Net.NetUri.get_Port()
at NewLife.Caching.Clusters.RedisReplication.GetReplications(Redis redis, IList1 servers) at NewLife.Caching.Clusters.RedisReplication.GetNodes() at System.Threading.Tasks.Task
1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
2023-10-02T15:05:32.699966738Z --- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout)
at NewLife.Caching.Clusters.RedisReplication.StartMonitor()
at NewLife.Caching.FullRedis.InitCluster()
at NewLife.Caching.FullRedis.Execute[T](String key, Func3 func, Boolean write) at NewLife.Caching.Redis.SetAll[T](IDictionary
2 values, Int32 expire)
from newlife.redis.
Can u compare the difference between v5.2.2023.301(Working) vs latest version that are not working
from newlife.redis.
redis.AutoDetect = false;
from newlife.redis.
Thanks. That fixed the issue
from newlife.redis.
Related Issues (20)
- 返回空,看不见数据 HOT 1
- 延迟队列是不是不可以消息确认才删除 HOT 3
- 可靠redis队列里的高级用法中消息体和消息键好像不是可靠消息 HOT 2
- RedisList枚举空LIST列表时报空异常
- Which NewLife.Redis versions supports Redis 7.0? HOT 1
- .Net8 support HOT 5
- 使用 List 設定 expire 沒有作用 ? HOT 2
- 怎么读取STREAM数据 HOT 1
- RedisStream<T>.Range(DateTime start, DateTime end, Int32 count = -1)读取的消息不是时间区间内的? HOT 9
- 集群模式下,批量删除key会报错 HOT 1
- 项目NewLife.Extensions.Caching.Redis遗漏程序集签名
- 给一个配置 能关闭主从探索功能 HOT 1
- BLPOP弹出字符串时,抛非标准Json字符串异常
- 集群key中包含'{}'时,发生节点MOVED HOT 1
- 连接[://192.168.0.32:3838][3000ms]超时! HOT 3
- 配置多个redis地址时,如果第一个地址无法访问是不是不会自动切换。 HOT 5
- 使用RedisHash对象HMGet方法获取对象内单个记录时偶然性报错,版本5.5.2023.1201 HOT 6
- 字段数组有默认值的时候获取不到数据 HOT 3
- TimeOnly类型写入到 redis之后,变成了一个json对象那种格式,读取redis之后获取到的值无法用TimeOnly接收。 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newlife.redis.