-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing certificate url #90
Comments
Do you get this error when you make a manual request or one from the alexa test UI or an actual device? This error comes from alexa-verifier, that means the request is missing the URL, not the server. When you enable Does this help? |
Hey thanks for your answer. Whatever i do with my developer console at amazon i get this error |
Can you curl your SSL endpoint successfully with SSL enabled with your certificate and |
Have you uploaded the self-signed certificate to AWS? See https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/testing-an-alexa-skill#testing-a-web-service under "SSL Certificate": SSL Certificate: Select one of the options. If you want to use a self-signed SSL certificate for testing, create that certificate and upload it to the Developer Portal. See Configuring Your Web Service to Use a Self-Signed Certificate. Once you get it working, maybe contribute a note to the README, this wasn't clear for me when I re-read it. |
Yes i can do it with a REST Tool or with the browser successfully. It's not a self signed certificate ... :( It's a wildcard SSL |
Anything in the server-side logs? Do you see the request actually making it through? Maybe another error? Assuming the skill works without SSL from the amazon test tools, the problem must be SSL / the certificate. So I would check with a few browsers/curl in case there's some kind of warning about the certificate (eg. an intermediate certificate is not present), and then I am out of ideas, I would ask an Amazon forum. |
Thank you ! .. It won't work from amazon, only from "manuel calling" the Server (SSL/NON-SSL)... Is there a way to create an access log for AlexaAppServer ? So i can log the connections to the server ? |
It depends how/where you deploy your alexa-app-server, but you should be seeing the same express log as you see locally. |
The problem is, if i use an alexa app eg. Update: I tried it on an AWS Virtual machine .. works .. (not lambda, debian VPS) Update 2: Works fine with port 443 locally... very strange ! |
Perhaps the Alexa end-point doesn't support port specifier? Or you have a firewall blocking ? Here's a little snippet that I use to make sure that I can see what's going on on my server: // simple request url logger
module.exports = (express, alexaAppServer) => {
express.use('/', (req, res, next) => {
if (req.connection.ssl) {
console.warn('**** server: ssl request', req.url);
next();
} else {
console.warn('**** server: non-ssl request', req.url);
next();
}
});
}; I put this in the directory that is specified by server_dir |
Hi,
every i time i start my server i get the following error:
{"status":"failure","reason":"missing certificate url"}
I tried it with a self signed certificat and altough with an existing wildcard certificat from my domain.
Whats wrong there ?
I've tried altough the old version 2.3.1 (as mentioned in another issue) , but i get the same error.
Here are my settings:
The text was updated successfully, but these errors were encountered: