Coder Social home page Coder Social logo

Comments (6)

Jerry54321 avatar Jerry54321 commented on August 18, 2024

Furthermore, I can not input the http:// in Allowed Origins and Allowed Return URLs
It has to input https:// except the http://localhost

from avs.

xiongyihui avatar xiongyihui commented on August 18, 2024

The following is the settings of the respeaker.

image

No idea why you can't add http url. I just tried to add http://192.168.1.1:3000/authresponse to Allowed Return URLs, it works.

Maybe new created produect of AVS requires https.

from avs.

susatenk avatar susatenk commented on August 18, 2024

Also stuck with the same problem. Amazon page says only sandbox environment (localhost) can use HTTP, for all other addresses HTTPS has to be used for allowed return URL. Any advice?

Update: seems this obstacle can be fixed by modifications of auth.py:
a) adding ssl_options to tornado invocation routine
http_server = tornado.httpserver.HTTPServer(application, ssl_options={ "certfile": "/root/certificate.crt", "keyfile": "/root/key.pem", })
b) replacing all "http" by "https" in the file.
Of course certificate and key files have to be generated first.
At least device successfully logged in on AVS . Struggling further.

from avs.

crapthings avatar crapthings commented on August 18, 2024

what is this ?

We're sorry!
An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly.

from avs.

crapthings avatar crapthings commented on August 18, 2024

wow wrong product id

https://github.com/alexa/alexa-avs-sample-app/issues/5

from avs.

theodorehu95 avatar theodorehu95 commented on August 18, 2024

I observed that the in the URL, the callback URL becomes "http://1.0.0.127.in-addr.arpa:9000/callback/" instead of http://localhost:9000/callback/, so I added the first one into my security profile, It worked.

Then after finishing the first step, my browser jump to "http://1.0.0.127.in-addr.arpa:9000/callback/?code=ANeLmscGopOgvRciFmBS&scope=alexa%3Aall" which is again not accessable, I manually changed the domain name to localhost again, and I get the refresh token.

I don't know why, but it worked for me.

from avs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.