dromara / dromara/SMS4J

版本3.3.2,阿里云发送短信,经常性的报错:SignatureDoesNotMatch

Open
#34 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.3k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

{"RequestId":"A57FBFD7-FC9A-54FE-A876-4D5E19577186","Message":"Specified signature is not matched with our calculation. server string to sign is:POST&%2F&AccessKeyId%3DLTAI5tCQMEHnrouyWitCdfh5%26Action%3DSendSms%26Format%3DJSON%26PhoneNumbers%3D15637261076%26RegionId%3Dcn-hangzhou%26SignName%3D%25E9%25A3%259F%25E9%2587%2587%25E9%2580%259A%26SignatureMethod%3DHMAC-SHA1%26SignatureNonce%3Db3a1e860-2fdb-450a-8437-4499e77e56ad%26SignatureVersion%3D1.0%26TemplateCode%3DSMS_474780806%26TemplateParam%3D%257B%2522code%2522%253A%25221008%2522%257D%26Timestamp%3D2025-01-11T03%253A06%253A17Z%26Version%3D2017-05-25","HostId":"dysmsapi.aliyuncs.com","Code":"SignatureDoesNotMatch","Recommend":"https://api.aliyun.com/troubleshoot?q=SignatureDoesNotMatch&product=Dysmsapi&requestId=A57FBFD7-FC9A-54FE-A876-4D5E19577186"}

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named in the report. Start by reproducing the Java SMS request against Alibaba Cloud's dysmsapi.aliyuncs.com with the reported 3.3.2 setup, then trace the request-signing entry point; done means repeated sends no longer produce SignatureDoesNotMatch and a regression test covers the corrected request.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.