question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MAC signature not correct

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
joshjohanningcommented, May 24, 2021
2reactions
tadas-suboniscommented, Jan 20, 2017

Apparently, I was using requests-2.3.0 . After updating to requests-2.12.5, the problem went away

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found