Giter Club home page Giter Club logo

Comments (8)

eclair4151 avatar eclair4151 commented on September 12, 2024

Hmm I may need some more info as I am unable to reproduce unless i disconnect my pi from the network. Another person also had the same issue too. Can you confirm that the pi is connected to the internet while you are staring it?

from alexacontrolledsamsungtv.

ggr93 avatar ggr93 commented on September 12, 2024

I’m running this on my Ubuntu 16.04 LTS headless server but I can confirm I am connected to the internet

Does this specifically need to run on Pi? If so any distro specifically?

from alexacontrolledsamsungtv.

eclair4151 avatar eclair4151 commented on September 12, 2024

oh no it can run on anything that can run python. the pi is just what most people use.

it seems to be a networking issue with the AWS library.

see
aws/aws-iot-device-sdk-python#101

i would try first updating the package because the one in my requirements is 2 behind

so try
pip install AWSIoTPythonSDK --upgrade

and see the comment in the github issue

from alexacontrolledsamsungtv.

ggr93 avatar ggr93 commented on September 12, 2024

Okay will try tomorrow morning (UK) and let you know how it goes

Thank you!

from alexacontrolledsamsungtv.

eclair4151 avatar eclair4151 commented on September 12, 2024

were you able to try this?

from alexacontrolledsamsungtv.

ggr93 avatar ggr93 commented on September 12, 2024

Sorry about delayed reply, I was traveling
Attempted the fix with no luck

Also tried fresh install via newly installed Ubuntu 16.04 desktop with no luck. Even tried placing temp any any any rule on my firewall too to ensure traffic could get out but no luck with that either

from alexacontrolledsamsungtv.

eclair4151 avatar eclair4151 commented on September 12, 2024

can you try changing the DNS of your server to something like 8.8.8.8 and 8.8.4.4
the error sounds like it is unable to find the correct ip.

can you also go on that server and ping afkx1f9takwol.iot.us-east-1.amazonaws.com and make sure you are getting a response

from alexacontrolledsamsungtv.

eclair4151 avatar eclair4151 commented on September 12, 2024

I have gotten confirmation that changing the DNS on your pi fixes this issue. Closing for now. If this issue comes up again and this doesn't fix it i will re open

from alexacontrolledsamsungtv.

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.