Announcement: The Alexa Skills Community Is Moving To Stack Overflow

For improved usability and experience, Alexa skills related forum support will be transitioned to Stack Overflow. Effective January 10, 2024, the Amazon Developer Forums will no longer be available. For continued Alexa skills support you can reach out to us on Stack Overflow or via Contact Us.

question

alianna101 avatar image
alianna101 asked

trouble with eclipse and beanstalk

Hello, I’m currently working on deploying skills to aws using the elastic beanstalk. I am using eclipse with the added tool chain and I am able to test my skills locally, however I am unable to add on voice services using the developer portal.On eclipse I am using the "deploy to aws beanstalk" option and I get a http url. However when I try to register the url as a skill in the developer portal I get this error: Error: Please provide a valid, secure URL in the form ' https://myskill.ishere.com/somepath' Does anybody know how to solve this?
alexa skills kitdebugging
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jjaquinta avatar image
jjaquinta answered
If you go to your Electric Beanstalk home page: https://console.aws.amazon.com/elasticbeanstalk/home?region=us-east-1 You should see the root of your application's URL there. (Mine is EchoDevTestEnv-65qiix3m3d.elasticbeanstalk.com, yours will look similar.) Depending on how you set up your servlet, the endpoint URL will be this plus the name of the servlet. (E.g. https://echodevtestenv-65qiix3m3d.elasticbeanstalk.com/watson for my Watson demo.)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

alianna101 avatar image
alianna101 answered
whats weird is that i'm seeing a http url and the developer portal for Alexa is only accepting a https url... is there anyway of generating it as https?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jjaquinta avatar image
jjaquinta answered
The steps in "Deploying a Web Service for an Alexa Skill to AWS Elastic Beanstalk", https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/deploying-a-web-service-for-an-alexa-skill-to-aws-elastic-beanstalk don't do a good job of explaining how to turn on SSL. If you follow "Using the Alexa Skills Kit Samples (Java)" https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/using-the-alexa-skills-kit-samples-java instead, the "Configuring the Elastic Beanstalk Environment to Use HTTPS" section explains how to enable SSL.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

alianna101 avatar image
alianna101 answered
Awesome that seemed to work! but I think something is wrong with my code... do you know of any good tutorials I can follow to get a hello world working?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jjaquinta avatar image
jjaquinta answered
The only tutorials I know of are the Amazon ones. I wrote a book ( http://www.amazon.com/How-Program-Amazon-Echo-Development-ebook/dp/B011J6AP26 ) but I, intentionally, tried not to overlap with Amazon stuff. So it gives a bunch of advice, but it's mostly useful after you already have things working.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.