Well, i get the same error when entering a sample utterance:
The remote endpoint could not be called, or the response it returned was invalid.
and in Lambda when i test:
START RequestId: a70ecb9c-efe6-11e6-b979-693b99b365f9 Version: $LATEST
END RequestId: a70ecb9c-efe6-11e6-b979-693b99b365f9
REPORT RequestId: a70ecb9c-efe6-11e6-b979-693b99b365f9 Duration: 3003.26 ms Billed Duration: 3000 ms Memory Size: 128 MB Max Memory Used: 15 MB
2017-02-10T23:14:23.605Z a70ecb9c-efe6-11e6-b979-693b99b365f9 Task timed out after 3.00 seconds
any help would be welcomed, its keeping me awake at night, would love to get it working :)
Interesting enough, when i run it locally it connects…
http://imgur.com/aecZ8af
Still playing around, no luck…
Saw this in the log now…
Unable to import module 'index': Error
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/var/task/index.js:27:17)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
Much later edit: so i notice that Lambda runs NodeJS 4.3, i am running 7.5 on the RPi, could that be it?