Coder Social home page Coder Social logo

Comments (9)

tomazbracic avatar tomazbracic commented on August 18, 2024 1

Hi @philss

Awesome!!! It works now. Thank you so much!

from aws-elixir.

philss avatar philss commented on August 18, 2024

Hi @tomazbracic 👋

I'm not sure what is happening, but I found this mention in the docs:

The service endpoints that expose this API are listed in Amazon Web Services IoT Core Endpoints and Quotas. You must
use the endpoint for the region that has the resources you want to access.

Maybe you need to specify a custom endpoint for that. Can you give it a try? To change the endpoint you can use AWS.Client.put_endpoint/2.

from aws-elixir.

tomazbracic avatar tomazbracic commented on August 18, 2024

Doesn't help. I used endpoint listed there, called AWS.Client.put_endpoint/2 function. It did set it... but calling AWS.IoT.describe_thing/2 doesn't work. The same error.

body: "{\"message\":\"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.\"}",```

from aws-elixir.

philss avatar philss commented on August 18, 2024

OK, thanks. I wanna try to compare this with what the Ruby SDK is doing. I'm almost sure that is a requirement for this endpoint that we are missing. By the way, have you tried with a SDK in another language?

from aws-elixir.

tomazbracic avatar tomazbracic commented on August 18, 2024

Ok, I tried to use Go's v2 SDK and I get Things listed just fine. Without any real specifics. I am using pretty much the same credentials for retrieving S3 buckets as for listing and reaching out to IoT service.

from aws-elixir.

philss avatar philss commented on August 18, 2024

Oh, interesting. Thanks for the testing! I'm going to research more about that. It's probably a bug on our side... maybe a header missing or a signature bug.

from aws-elixir.

tomazbracic avatar tomazbracic commented on August 18, 2024

Can you say at this moment... when you will have more info on this? Do you think this is something that might be fixed soon? or... you don't see it like that?

from aws-elixir.

philss avatar philss commented on August 18, 2024

@tomazbracic sorry for the delay. I think I found the issue and fixed it here: ce47b9f

Can you confirm that the version from the master branch fixes the problem? I'm going to release a version after this.

from aws-elixir.

philss avatar philss commented on August 18, 2024

@tomazbracic the fix was released in v0.9.1 :)

from aws-elixir.

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.