Comments (4)
Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide.
from localstack.
Hello @cchentyro and thanks for your report!
Could you please share how you are generated the pre-signed URL so that we can easily reproduce and fix this issue?
Could you also share the LocalStack logs with the config LS_LOG=trace
when the issue happens, to see exactly what LocalStack receives?
Thanks!
from localstack.
After looking at your URL, it seems your query string parameter is double URL encoded:
A /
is equal to %2F
, but yours are %252F
which is %2F
URL-encoded.
I believe the parameter should be the following:
X-Amz-Credential=accessKeyId%2F20240517%2Fap-southeast-2%2Fs3%2Faws4_request
I've tried your format against AWS and it fails, AWS does not double-encode the X-Amz-Credential
parameter and if you do, it will return the following:
<Error>
<Code>AuthorizationQueryParametersError</Code>
<Message>
Error parsing the X-Amz-Credential parameter; the Credential is mal-formed; expecting "<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aws4_request".
</Message>
<RequestId>GYD5Z0TSA3384VSS</RequestId>
<HostId>lJ3Qh5M4RlUiShRvfhL72xJqN+DOeceFsb8cb5w6GbSkhx9+LTkXBmxAj2/qJinKz6i+KgpHZnc=</HostId>
</Error>
I'll open a PR to raise the same exception as AWS in the meantime.
from localstack.
Hello 👋! It looks like this issue hasn’t been active in longer than two weeks. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.
from localstack.
Related Issues (20)
- bug: LocalStack seems to break when downloading large files (~1.5GB, related to processing time?) HOT 11
- bug: Timeout issue while registring rotue from 000000000000.dkr.ecr.us-east-1.localhost:4566 to http://127.0.0.1:34951 HOT 4
- bug: S3 Presign URL returns incorrect URL (NoSuchBucket). HOT 9
- Could not use S3 when using `Virtual-hosted–style` HOT 2
- bug: SQS -> Lambda only trigger once a minute HOT 2
- bug: StepFunctions parallel states don't recognize "Parameters" field correctly.
- Unsupported stack parameter type: AWS::SSM::Parameter::Value<CommaDelimitedList> HOT 2
- bug: Invalid type for parameter stageDescription HOT 1
- bug: AttributeError: 'Role' object has no attribute 'partition' HOT 4
- feature request: Allow for mounting layers in subfolders of /opt HOT 1
- feature request: support ctx.stash for JS pipeline resolver HOT 1
- bug: ASLParserException on CreateStateMachine operation if 'Map' state contains 'Label' field HOT 1
- bug: localstack: command not found on Github Actions
- bug: CopyObject implementation breaks object when clearing out tags. HOT 1
- Using "old" version of DDB local HOT 1
- feature request: support AWS SAM serverless connectors (`AWS::Serverless::Connector`)
- bug: get-parameter and get-parameters on SSM does not work with ARNs (Localstack 3.5.0) HOT 1
- bug: tags added to parameter after creation do not work in describe parameter call HOT 1
- feature request: AssociateSoftwareToken VerifySoftwareToken support in Cognito
- bug: Lambda client context not passed to function
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 localstack.