无法连接从Lamda函数调用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]
2条答案
按热度按时间8ehkhllq1#
您可以检查用于启动DAX群集的安全组上的安全组配置吗?您需要授权用于启动群集的安全组上TCP端口8111上的入站流量,使用用于lambda函数配置的安全组作为源。请参阅documentation以获取更多帮助。
cgfeq70w2#
这是连接超时异常。如果端口8111在入站规则中打开,则应检查AWS防火墙设置。
这些设置位于AWS Jmeter 板的安全策略部分。