Error retrieving audio from s3

node.js amazon-s3 alexa

117 观看

2回复

6265 作者的声誉

I am attempting to write my first Alexa skill. After much research, I have built a skill that plays a musical note.

When I test the skill, I get the following error message:

Error: There was a problem when trying to retrieve the audio from https://s3.amazonaws.com/music-notes/A-sharp.mp3

I can access the file just fine in my browser and I believe I have enabled CORS. Can someone point me to the cause of this error?

作者: Thom 的来源 发布者: 2017 年 12 月 27 日

回应 (2)


0

1041 作者的声誉

I would assume that this is a SSL issue, but I haven't investigated it.

If it is, this link might help:

How to Configure SSL for Amazon S3 bucket

作者: Steven Stark 发布者: 27.12.2017 05:53

2

6265 作者的声誉

决定

The problem was that the docs it had stated to use 16,000 Hz at 48 kbps, but when I did that on audacity, I left the bit rate mode at average. Changing this to constant fixed the problem. Thanks to: https://www.youtube.com/watch?v=pKlnpf0SsoE for telling me this.

作者: Thom 发布者: 27.12.2017 08:32
32x32