Anyone know why this web request fails?


#1

1) Give a description of the problem

A web request I’m making is failing. I’ve searched and can’t find this particular error in the forum.

Error executing external web request: javax.net.ssl.SSLException: java.security.ProviderException: java.security.InvalidKeyException: EC parameters error

2) What is the expected behavior?

The following URL should return the results in JSON.

https://helloacm.com/api/convert-number-to-english/?cached&n=13

3) What is happening/not happening?

Error executing external web request: javax.net.ssl.SSLException: java.security.ProviderException: java.security.InvalidKeyException: EC parameters error

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: info ╔ Event processed successfully (231ms)

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: trace ║╔ Execution stage complete. (70ms)

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: trace ║║ Executed virtual command log (5ms)

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: info ║║ null

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: trace ║║ Executed virtual command httpRequest (44ms)

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: error ║║ Error executing external web request: javax.net.ssl.SSLException: java.security.ProviderException: java.security.InvalidKeyException: EC parameters error @line 3293 (vcmd_httpRequest)

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: debug ║║ Sending external web request to: helloacm.com/api/convert-number-to-english/?cached&n=13

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: debug ║║ Cancelling statement #1's schedules...

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: trace ║╚ Execution stage started

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: trace ║ Runtime (38109 bytes) successfully initialized in 124ms (v0.3.107.20180806) (158ms)

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: debug ║ RunTime Analysis CS > 18ms > PS > 124ms > PE > 14ms > CE

[244841c9-25e8-40bc-9ee2-14b2f2dfc7fa](https://graph-na02-useast1.api.smartthings.com/ide/logs#244841c9-25e8-40bc-9ee2-14b2f2dfc7fa) 8:05:21 PM: info ╚ Received event [Turkey Foot].test = 1534809921374 with a delay of 1ms

#3

Here is a similar problem reported over on the ST forums, seems their platform is a bit outdated.