Cannot connect from PHP-Linux, Can connect from PHP-Windows

Mar 4, 2011 at 3:50 PM

Hi All,

We developed an application that works with Azure table storage using PHPAzure library. It works great on our development computers in Windows PHP/Drupal. When we moved it to our production server which is CentOS PHP/Drupal we receive an error every time we try to do anything with the Azure table storage like list all tables or create new table (everything worked fine when running from Windows machine). We use the same credentials, URLs, Azure Keys. It is basically, the same code that runs fine on Windows box. The error we receive looks like this:


Fatal error: Uncaught exception 'Microsoft_WindowsAzure_Exception' with message 'Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:bc8accea-6e3b-4cb9-b229-fa6bcbd72847 Time:2011-03-04T16:25:05.2734864Z' in /usr/lib/php/pear/library/Microsoft/WindowsAzure/Storage/Table.php:236 Stack trace: #0 /var/www/test/azure.php(9): Microsoft_WindowsAzure_Storage_Table->listTables() #1 {main} thrown in /usr/lib/php/pear/library/Microsoft/WindowsAzure/Storage/Table.php on line 236


What can we do to fix it?

Thank you,


Mar 5, 2011 at 10:31 AM

That should not be happening. Can you send me an e-mail through the CodePlex contact page (be sure to include your address as well) so we can take this "off forum"?