gpt4 book ai didi

java - 将 DAX 连接到 aws VPC 中的 lambda 函数

转载 作者:行者123 更新时间:2023-12-01 17:55:35 25 4
gpt4 key购买 nike

无法连接从 lambda 函数调用 DAX api,连接时出现错误。

TART RequestId: 91744a72-6b81-11e7-b7b9-81ab3e1f67f1 Version: $LATEST
[2017-07-18 06:23:09.356] NO-REQUEST-ID ERROR c.a.d.c.SocketTubePool - error connecting to /172.31.20.237:8111 java.net.ConnectException: Connection timed out (Connection timed out)
[2017-07-18 06:23:09.356] NO-REQUEST-ID ERROR c.a.d.c.SocketTubePool - error connecting to /172.31.20.237:8111 java.net.ConnectException: Connection timed out (Connection timed out)
[2017-07-18 06:23:09.364] NO-REQUEST-ID ERROR c.a.d.c.SocketTubePool - error connecting to /172.31.20.237:8111 java.net.ConnectException: Connection timed out (Connection timed out)
[2017-07-18 06:23:09.364] NO-REQUEST-ID ERROR c.a.d.c.c.Cluster - caught exception during cluster refresh: java.io.IOException: failed to configure cluster endpoints from hosts: [dax122.fwef.clusefwefwetercfg.dax.use1.cache.amazonaws.com:8111]
java.io.IOException: failed to configure cluster endpoints from hosts: [dax122.fwef.clusefwefwetercfg.dax.use1.cache.amazonaws.com:8111]

最佳答案

您能否检查用于启动 DAX 集群的安全组上的安全组配置?您需要使用用于 lambda 函数配置的安全组作为源,在用于启动集群的安全组上的 TCP 端口 8111 上授权入站流量。请引用documentation以获得更多帮助。

关于java - 将 DAX 连接到 aws VPC 中的 lambda 函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45159620/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com