Coder Social home page Coder Social logo

amazonsqs's People

Contributors

skwashd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

amazonsqs's Issues

Request signature does not match—Why?

I’m attempting to use this library to merely post a message to a SQS message queue.

Here is my code:

<?php
$manager = new AmazonSQS\Manager(AWS_ACCESS_KEY, AWS_SECRET_KEY);
$queue = $manager->getQueueByName('test_queue');

$message = new AmazonSQS\Model\Message();
$message->setBody('Test Message');

try {
    $response = $manager->sendMessage($queue, $message);
    print '<pre>'; print_r($response); print '</pre>'; exit;
}
catch (Exception $e) {
    echo $e->getMessage();
}

However, when I run the above I get the following exception thrown:

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.

Why is this? I can confirm that my access and secret keys are correct, and that a queue by the name of “test_queue” does in fact exist.

Guzzle

Replace my own apiTalk lib with the Guzzle lib

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.