Giter Site home page Giter Site logo

Comments (10)

maso27 avatar maso27 commented on August 18, 2024

I saw this error when I tried to use the built-in browser on the Raspbian desktop. Tried in Chrome on my Windows box and it worked with no issues.

from alexapideprecated.

thesingingmoose avatar thesingingmoose commented on August 18, 2024

I had the error on the Raspbian browser as well as chrome on a Windows laptop. Could the browser matter?

from alexapideprecated.

maso27 avatar maso27 commented on August 18, 2024

Did you put all four of the addresses into developer.amazon.com?

http://localhost:5000
http://[ip_address]:5000

http://localhost:5000/code
http://[ip_address]:5000/code

And did your IP address change for your raspberry pi maybe?

from alexapideprecated.

thesingingmoose avatar thesingingmoose commented on August 18, 2024

Yeah, had first 2 as origin and second 2 as return. I am sshing into the pi at the same time, so I dont think IP changed

from alexapideprecated.

tdicola avatar tdicola commented on August 18, 2024

I just ran into this and what was happening was me accessing http://raspberrypi:5000/ and it trying to redirect to http://raspberrypi:5000/code without that URL being set in the security profile web settings. Make sure your security profile web settings have exactly the URL you're using to access the Pi. The instructions call for using localhost but it seems like that will only work if you're using the browser on the Pi itself to access localhost. Probably best to add http://raspberrypi:5000 and http://raspberrypi:5000/code so you can access under that URL from another machine.

from alexapideprecated.

thesingingmoose avatar thesingingmoose commented on August 18, 2024

I have both localhost:5000 and RPi_IP:5000 added in the web settings (and /code for both for return).

I now get to the login screen, login, hit "OKAY" to access my device, and then hit the error.

from alexapideprecated.

thesingingmoose avatar thesingingmoose commented on August 18, 2024

There's also no longer a 500, just an error message and a link to Amazon home page

from alexapideprecated.

burf2000 avatar burf2000 commented on August 18, 2024

Has anyone found a fix for this?

from alexapideprecated.

thesingingmoose avatar thesingingmoose commented on August 18, 2024

Worked when I made a new device in Amazon Dev Portal

from alexapideprecated.

chimeranzl avatar chimeranzl commented on August 18, 2024

Has anyone found a fix for this?

Old post I know, but for anyone else... Delete the line refresh_token: "token_code"

and replace with...

refresh_token:

(no double quotes after it) then try again. It seems the internal error 500 is caused by the token line existing in the /etc/opt/Alexpi/config.yaml file. Also seems re-running setup.sh, doesn't actually replace with a fresh one when selecting the menu option, nor does it mention that the refresh token should be deleted. You don't need to create a new device or new security profile in AWS - just make sure everything matches

from alexapideprecated.

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.