You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I converted both the occurrences of the value (9999999999) to int by either (int) or intval(999...) it does not throw any console error but the browser throws the error as follows:
Array ( [RequestId] => FCDC6097-DBF6-4E90-905C-9F648975EAA7 [Message] => Specified signature is not matched with our calculation. server string to sign is:GET&%2F&AccessKeyId%3Dxxxxxxxxxxxxxxxxxxxxxxxxxxxx%26Action%3DUpdateDomainRecord%26Format%3Djson%26RR%3Dwww%26RecordId%3D20483794109989888%26SignatureMethod%3DHMAC-SHA1%26SignatureNonce%3D1077116639%26SignatureVersion%3D1.0%26Timestamp%3D2020-09-29T15%253A54%253A59%26Type%3DA%26Value%3D%253A%253A1%26Version%3D2015-01-09 [Recommend] => https://error-center.aliyun.com/status/search?Keyword=SignatureDoesNotMatch&source=PopGw [HostId] => dns.aliyuncs.com [Code] => SignatureDoesNotMatch )
While running this on my local machine I found this error in the error log file.
[Tue Sep 29 21:20:21.908468 2020] [php7:error] [pid 13717] [client ::1:54442] PHP Fatal error: Uncaught TypeError: random_int() expects parameter 2 to be int, float given in /var/www/html/dyndns-updater/alicloud-php-updaterecord/V20150109/AlicloudUpdateRecord.php:228\nStack trace:\n#0 /var/www/html/dyndns-updater/alicloud-php-updaterecord/V20150109/AlicloudUpdateRecord.php(100): random_int(1000000000, 9999999999)\n#1 /var/www/html/dyndns-updater/index.php(20): Roura\Alicloud\V20150109\AlicloudUpdateRecord->sendRequest()\n#2 {main}\n thrown in /var/www/html/dyndns-updater/alicloud-php-updaterecord/V20150109/AlicloudUpdateRecord.php on line 100
The text was updated successfully, but these errors were encountered: