Proxy for AWS: Error unmarshalling response back from AWS #44

Closed
opened 2025-12-29 14:21:35 +01:00 by adam · 8 comments
Owner

Originally created by @dmtrrk on GitHub (Oct 23, 2017).

Originally assigned to: @StefH on GitHub.

Proxying requests to AWS DynamoDb with no specific configuration (for any request proxy to DynamoDb).
Getting an error Error unmarshalling response back from AWS

Tried the same with original Wiremock proxy - works correctly.

Originally created by @dmtrrk on GitHub (Oct 23, 2017). Originally assigned to: @StefH on GitHub. Proxying requests to AWS DynamoDb with no specific configuration (for any request proxy to DynamoDb). Getting an error `Error unmarshalling response back from AWS` Tried the same with original Wiremock proxy - works correctly.
adam added the bug label 2025-12-29 14:21:35 +01:00
adam closed this issue 2025-12-29 14:21:35 +01:00
Author
Owner

@StefH commented on GitHub (Oct 23, 2017):

Hello @deeptowncitizen,

Can you please provide the mapping (in code or in JSON) that you are defining?

And if possible also the request / client code.

@StefH commented on GitHub (Oct 23, 2017): Hello @deeptowncitizen, Can you please provide the mapping (in code or in JSON) that you are defining? And if possible also the request / client code.
Author
Owner

@dmtrrk commented on GitHub (Oct 23, 2017):

#55 contains the fix the problem.
PR contains steps to reproduce the problem.
There is no mapping (it is proxy all requests)

var dynamoDb = new DynamoDb(8081);
var mock = FluentMockServer.Start(8082);
mock
    .Given(Request.Create()
        .UsingAnyVerb())
    .RespondWith(Response.Create()
        .WithProxy("http://localhost:8081/"));

And then simply create any Dynamodb request to the proxy

@dmtrrk commented on GitHub (Oct 23, 2017): #55 contains the fix the problem. PR contains steps to reproduce the problem. There is no mapping (it is proxy all requests) ``` var dynamoDb = new DynamoDb(8081); var mock = FluentMockServer.Start(8082); mock .Given(Request.Create() .UsingAnyVerb()) .RespondWith(Response.Create() .WithProxy("http://localhost:8081/")); ``` And then simply create any Dynamodb request to the proxy
Author
Owner

@StefH commented on GitHub (Oct 23, 2017):

1] Thanks for fixing.

2] Do you also need a new NuGet?

@StefH commented on GitHub (Oct 23, 2017): 1] Thanks for fixing. 2] Do you also need a new NuGet?
Author
Owner

@dmtrrk commented on GitHub (Oct 23, 2017):

Would be really great. Thank you!

@dmtrrk commented on GitHub (Oct 23, 2017): Would be really great. Thank you!
Author
Owner

@dmtrrk commented on GitHub (Oct 24, 2017):

do you have any plans when you will release a new version?

@dmtrrk commented on GitHub (Oct 24, 2017): do you have any plans when you will release a new version?
Author
Owner

@StefH commented on GitHub (Oct 24, 2017):

Within a few hours. I keep you updated.

@StefH commented on GitHub (Oct 24, 2017): Within a few hours. I keep you updated.
Author
Owner

@StefH commented on GitHub (Oct 24, 2017):

NuGets updated.

@StefH commented on GitHub (Oct 24, 2017): NuGets updated.
Author
Owner

@dmtrrk commented on GitHub (Oct 24, 2017):

thank you

@dmtrrk commented on GitHub (Oct 24, 2017): thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#44