2017-01-24, 14:54
(2017-01-23, 01:17)sblackst Wrote: Unfortunately, I'm having a hard time configuring it with the dreaded: "The remote endpoint could not be called, or the response it returned was invalid." message with a basic command like "ask kodi to pause". I've tried a ton of troubleshooting, but I just can't figure it out, so any help would be immensely appreciated
This is set up as Alexa->Lambda->Kodi and I've followed the instructions as far as I can tell, deployment to Lambda succeeds without errors, and I've tested that I can cURL the JSON-RPC endpoint from the Internet successfully, getting JSON back that I can indeed validate:
Code:curl --data-binary '{"jsonrpc":"2.0", "method":"VideoLibrary.GetMovies", "id":1}' -H 'content-type: application/json;' -u <username>:<password> http://<hostname>:<port>/jsonrpc
Code:Sending request to http://<hostname>:<port>/jsonrpc
No JSON object could be decoded: ValueError
My first thought would be to check that you're using the external address and port for Kodi. Remember, the request is coming from Amazon, so you'll need a port forwarded on your router and either a static IP or use a service like No-IP, dyndns, etc.