Comments (9)
Hi @philss
Awesome!!! It works now. Thank you so much!
from aws-elixir.
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.
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.
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.
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.
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.
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.
@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.
@tomazbracic the fix was released in v0.9.1
:)
from aws-elixir.
Related Issues (20)
- Potential breaking changes not documented on CHANGELOG.md HOT 2
- Add Support for AWS Textract Analyzing ID Documents feature HOT 2
- ~/.aws/credentials parsing, session layer ? HOT 5
- AWS Rekognition not working as per the docs HOT 2
- Implement automatic retries in aws-elixir
- Bug: SQS send_batch_message error encoding list of Entries HOT 5
- Need help with assuming roles with tags. HOT 11
- nxdomain errror when using AWS.Location.search_place_index_for_text HOT 7
- Loading issue with modules that shouldn't be generated: AWS.Cloudsearchdomain and AWS.Importexport (Instead of CamelCase counterparts) HOT 2
- AWS.ApiGatewayManagementApi, URL and headers with stage HOT 1
- S3 put_object returns {:error, :timeout} but uploads file correctly HOT 5
- `AWS.S3.delete_objects` content md5 header HOT 5
- SelectObjectContent response HOT 1
- `AWS.STS.assume_role_with_web_identity` should not rely on access_key_id and secret_access_key
- Error calling textractor HOT 3
- Setting endpoint to `amazonaws.com` results in different behaviour as not setting an endpoint HOT 1
- AWS.S3.get_object always returns {:error, :timeout} with hackney > 1.18.1 HOT 5
- Streaming response handling HOT 10
- `put_bucket_cors` request is incorrect HOT 5
- Setup pipeline to automatically roll out new releases upon tagging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-elixir.