I have a skill that uses an Alexa Progressive Response while waiting to play an audio file. If I run the skill in the Jovo debugger I get the following error:
Error -----------------------------------------------------------------
Code:
ERROR
Message:
connect ECONNREFUSED 127.0.0.1:80
Stack:
Error: connect ECONNREFUSED 127.0.0.1:80
at Function.progressiveResponse (/Users/bhartman/Development/jovo/FiveByFive/node_modules/jovo-platform-alexa/src/services/AlexaAPI.ts:73:13)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
----------------------------------------------------------------------
Request details:
this.$alexaSkill initialized
this.$type: {"type":"INTENT"}
this.$session.$data : {"personIdx":0}
this.$nlu : {"intent":{"name":"YesIntent"}}
this.$inputs : {}
----------------------------------------------------------------------
unhandledRejection
{}
Error: Request failed with status code 500
at createError (/Users/bhartman/Development/jovo/FiveByFive/node_modules/axios/lib/core/createError.js:16:15)
at settle (/Users/bhartman/Development/jovo/FiveByFive/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/Users/bhartman/Development/jovo/FiveByFive/node_modules/axios/lib/adapters/http.js:236:11)
at IncomingMessage.emit (events.js:215:7)
at IncomingMessage.EventEmitter.emit (domain.js:476:20)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
If I use the Alexa Developer test simulator, the progressive response works fine. However, I’d like to be able to use the Jovo debugger since I am using the audio player.