Problem description
The request URL does not contain signature information.
Causes
The operation you called requires URL-based authentication. OSS verifies identity by looking for the signature in the URL query string. This error occurs when the signature is absent from the URL or when the signature is placed in the Authorization header instead of the URL.
Examples
The following request places the signature in the Authorization header instead of the URL query string:
GET /test_rtmp_live/test.m3u8?x-oss-process=hls/sign HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Authorization: AWS qn6q**************:77Dv****************
x-oss-security-token: CAIS**************Solutions
Move the signature from the Authorization header into the URL query string. A valid signed URL includes the following parameters:
| Parameter | Description |
|---|---|
OSSAccessKeyId | Your AccessKey ID |
Expires | Unix timestamp indicating when the URL expires |
Signature | The computed request signature |
security-token | Your Security Token Service (STS) token (required when using temporary credentials) |
The following request includes the signature in the URL query string:
GET /test_rtmp_live/test.m3u8?x-oss-process=hls/sign&OSSAccessKeyId=nz2p********&Expires=1141889120&Signature=vjby********&security-token=CAIS************** HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.comFor instructions on generating a signed URL, see Add signatures to URLs.
该文章对您有帮助吗?