Bad request

70 views
Skip to first unread message

Ignasi López Luna

unread,
Feb 13, 2015, 8:15:14 AM2/13/15
to elas...@googlegroups.com
Hi, 
I'm starting elastic-mq with the following code:  java -jar -Dfile.encoding=UTF8 elasticmq-server-0.8.2.jar 

When I send a request I'm getting a 400. This is my request:
POST http://localhost:9324 /product_upload Parameters: (Action: SendMessage, Version: 2012-11-05, MessageBody: {"currencyCode":"EUR","fullAddress":"22 Calle Chambers, Nueva York, 10007, Estados Unidos","locale":"es","countryCode":"ES","locationId":303301,"type":0,"itemId":770301,"pictureId":1382601,"kmError":0.9,"numPictures":1,"description":"Hjjh","IPAdress":"192.168.1.81","userId":2400733,"assetCategoryId":12461,"salePrice":"588.0","longitude":-74.0151946673148,"latitude":40.71024070385993}, ) Headers: (X-Amz-Date: 20150213T131308Z, Authorization: AWS4-HMAC-SHA256 Credential=fake/20150213/us-east-1/sqs/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=934dedae18295f5c94ba5a68884e06045b331896943edf9b961cec3bbf8650a9, Host: localhost:9324, User-Agent: aws-sdk-java/1.8.2 Mac_OS_X/10.10.1 Java_HotSpot(TM)_64-Bit_Server_VM/24.65-b04/1.7.0_67, )

And this is the response:
HTTP/1.1 400 Bad Request [Server: spray-can/1.3.1-20140423, Date: Fri, 13 Feb 2015 13:14:15 GMT, Content-Type: text/xml; charset=UTF-8, Content-Length: 631]

Any ideas of what I'm doing wrong? Or how I could get more info about the error?

Thanks!!

Adam Warski

unread,
Feb 14, 2015, 9:04:56 AM2/14/15
to elas...@googlegroups.com
Can you try latest elasticmq? (0.8.8)

Which client sdk are you using? Is there anything in the logs?

Adam

Sent from my iPhone
--

---
You received this message because you are subscribed to the Google Groups "ElasticMQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticmq+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages