MAC signature not correct
See original GitHub issueI have a test written that accesses Azure’s Blob service and it works locally just fine.
However, when I run it on Jenkins it fails with the following message:
The MAC signature found in the HTTP request 'XXXXXX' is not the same as any computed signature. Server used following string to sign
more
azure.common.AzureHttpError: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:fc3b5142-0001-0026-5321-73555a000000
Time:2017-01-20T13:34:53.0623043Z</Message><AuthenticationErrorDetail>The MAC signature found in the HTTP request 'PR5//xx=' is not the same as any computed signature. Server used following string to sign: 'PUT
31800
application/x-www-form-urlencoded
x-ms-blob-type:BlockBlob
x-ms-client-request-id:3522da8c-df15-11e6-bf69-000d3a229a4b
x-ms-date:Fri, 20 Jan 2017 13:34:46 GMT
x-ms-version:2015-07-08
/xx/xx/588211f5e13823375ca62ef8'.</AuthenticationErrorDetail></Error>
But as I said - I can do the request just fine on the local machine.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
If Mail on your Mac can't verify a signed email - Apple Support
To view detailed information about why the message signature couldn't be verified, click Show Details in the banner at the top of the...
Read more >How to Fix Image Problems in Apple Mail Email Signatures
When your email signature images are not displaying correctly in Apple Mail, there are a few ways you can fix this, depending on...
Read more >How to tell why OSX Code Signature is invalid - Stack Overflow
Run this command to see valid code signing identities on your machine and verify your code signing exist and valid.
Read more >How to Fix Image Problems in Apple Mail Email Signatures
In this video, I explain why your email signature images might not be loading correctly in Apple Mail and what you can do...
Read more >The MAC signature found in the HTTP request 'XXXX' is not ...
This issue happens when the authorization signature is incorrect. In this blog, we will be covering the cause and troubleshooting of this ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If someone else finds this useful, see my comment here: https://stackoverflow.com/questions/58164698/azure-server-failed-to-authenticate-the-request/67679100#67679100
Apparently, I was using requests-2.3.0 . After updating to requests-2.12.5, the problem went away