0

Using Amazon AWS API Gateway as endpoint results in SSL Exception on Tropo

1. Create New Application, add a phone number

2. Set Text endpoint to an Amazon API gateway :
https://*****.execute-api.us-east-1.amazonaws.com/*****

3. send a text message to the number

4. 100% SSL Exception. Most likely to Amazon not supporting

Apr 10 16:32:44.666 rt1.dev.wdc.sl.tropo.com PRISM 68307/5046118/ec2c7713f3871fded9a096ab3fab0f71/15b7e403b15784ecae8ca6b530147004/1/1f3geqdonem06/[Tropo-Thread-15b7e403b15784ecae8ca6b530147004]/#TROPO#@T: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure\\n at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)\\n at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)\\n at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2011)\\n at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1113)\\n at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)\\n at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)\\n at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)\\n at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:535)\\n at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)\\n at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)\\n at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)\\n at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)\\n at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)\\n at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)\\n at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)\\n at com.voxeo.tropo.util.StopWatchHttpClient.execute(StopWatchHttpClient.java:32)\\n at com.voxeo.tropo.util.StopWatchHttpClient.execute(StopWatchHttpClient.java:1)\\n at org.apache.http.client.HttpClient$execute.call(Unknown Source)\\n at com.tropo.rest.SimpleFetcher.fetch(SimpleFetcher.groovy:87)\\n at com.tropo.rest.Fetcher$fetch$0.callCurrent(Unknown Source)\\n at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)\\n at com.tropo.rest.Fetcher$fetch$0.callCurrent(Unknown Source)\\n at com.tropo.rest.SimpleFetcher.fetch(SimpleFetcher.groovy:63)\\n at com.tropo.rest.Fetcher$fetch.call(Unknown Source)\\n at com.tropo.rest.Dialog.process(Dialog.groovy:44)\\n at com.tropo.rest.engine.TropoScriptEngine.eval(TropoScriptEngine.java:64)\\n at com.voxeo.tropo.app.SimulatedCompiledScript.eval(SimulatedCompiledScript.java:81)\\n at com.voxeo.tropo.app.TropoCompiledScript.eval(TropoCompiledScript.java:92)\\n at com.voxeo.tropo.app.SimpleInstance.evaluateScript(SimpleInstance.java:301)\\n at com.voxeo.tropo.app.SimpleInstance.run(SimpleInstance.java:218)\\n at com.voxeo.tropo.app.TropoApplicationManager$4.run(TropoApplicationManager.java:513)\\n at java.lang.Thread.run(Thread.java:745)\\n

Apr 10 16:32:44.666 rt1.dev.wdc.sl.tropo.com PRISM 68307/5046118/ec2c7713f3871fded9a096ab3fab0f71/15b7e403b15784ecae8ca6b530147004/1/1f3geqdonem06/[Tropo-Thread-15b7e403b15784ecae8ca6b530147004]/#TROPO#: Thread Tropo-Thread-15b7e403b15784ecae8ca6b530147004 returned engine com.tropo.rest.engine.TropoScriptEngine@44038a71 of type tropo-web, activeEngines = 0
Apr 10 16:32:44.666 rt1.dev.wdc.sl.tropo.com PRISM 68307/5046118/ec2c7713f3871fded9a096ab3fab0f71/15b7e403b15784ecae8ca6b530147004/1/1f3geqdonem06/[Tropo-Thread-15b7e403b15784ecae8ca6b530147004]/#TROPO#: Hanging up call [id=9178d6ceb9da434222ce53d6283486b6] #[tropo][sas_2-14-sm7f7eg8u8ntzltropo][1f3geqdonem06][ss_141blix2y2jz1][sip:646247***@10.108.198.90;real-id=16462476***(10.108.198.74:5060)][sip:4074310***@10.108.198.90;real-id=14074310***(198.11.254.110:5060)]
Apr 10 16:32:44.666 rt1.dev.wdc.sl.tropo.com PRISM 68307/5046118/ec2c7713f3871fded9a096ab3fab0f71/15b7e403b15784ecae8ca6b530147004/1/1f3geqdonem06/[Tropo-Thread-15b7e403b15784ecae8ca6b530147004]/#TROPO#: Call [1646247***\snull->14074310***\snull][SMS][9178d6ceb9da434222ce53d6283486b6]: hangup({}) #[tropo][sas_2-14-sm7f7eg8u8ntzltropo][1f3geqdonem06][ss_141blix2y2jz1][sip:646247***@10.108.198.90;real-id=1646247***(10.108.198.74:5060)][sip:4074310***@10.108.198.90;real-id=14074310***(198.11.254.110:5060)]
Apr 10 16:32:44.666 rt1.dev.wdc.sl.tropo.com PRISM 68307/5046118/ec2c7713f3871fded9a096ab3fab0f71/15b7e403b15784ecae8ca6b530147004/1/1f3geqdonem06/[Tropo-Thread-15b7e403b15784ecae8ca6b530147004]/#TROPO#: ApplicationInstance[https:\s\s*****.execute-api.us-east-1.amazonaws.com\sproduction\ssmsin , 15b7e403b15784ecae8ca6b530147004] has unknown errors: Received fatal alert: handshake_failure@T: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure\\n at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)\\n at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)\\n at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2011)\\n at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1113)\\n at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)\\n at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)\\n at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)\\n at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:535)\\n at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)\\n at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)\\n at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)\\n at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)\\n at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)\\n at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)\\n at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)\\n at com.voxeo.tropo.util.StopWatchHttpClient.execute(StopWatchHttpClient.java:32)\\n at com.voxeo.tropo.util.StopWatchHttpClient.execute(StopWatchHttpClient.java:1)\\n at org.apache.http.client.HttpClient$execute.call(Unknown Source)\\n at com.tropo.rest.SimpleFetcher.fetch(SimpleFetcher.groovy:87)\\n at com.tropo.rest.Fetcher$fetch$0.callCurrent(Unknown Source)\\n at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)\\n at com.tropo.rest.Fetcher$fetch$0.callCurrent(Unknown Source)\\n at com.tropo.rest.SimpleFetcher.fetch(SimpleFetcher.groovy:63)\\n at com.tropo.rest.Fetcher$fetch.call(Unknown Source)\\n at com.tropo.rest.Dialog.process(Dialog.groovy:44)\\n at com.tropo.rest.engine.TropoScriptEngine.eval(TropoScriptEngine.java:64)\\n at com.voxeo.tropo.app.SimulatedCompiledScript.eval(SimulatedCompiledScript.java:81)\\n at com.voxeo.tropo.app.TropoCompiledScript.eval(TropoCompiledScript.java:92)\\n at com.voxeo.tropo.app.SimpleInstance.evaluateScript(SimpleInstance.java:301)\\n at com.voxeo.tropo.app.SimpleInstance.run(SimpleInstance.java:218)\\n at com.voxeo.tropo.app.TropoApplicationManager$4.run(TropoApplicationManager.java:513)\\n at java.lang.Thread.run(Thread.java:745)\\n #[tropo][sas_2-14-sm7f7eg8u8ntzltropo][1f3geqdonem06][ss_141blix2y2jz1][sip:646247***@10.108.198.90;real-id=1646247***(10.108.198.74:5060)][sip:4074310***@10.108.198.90;real-id=14074310***(198.11.254.110:5060)]

1 comment

Please sign in to leave a comment.