Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发送日志报401错误,签名错误 #45

Closed
ahcfhy opened this issue Jan 11, 2023 · 1 comment
Closed

发送日志报401错误,签名错误 #45

ahcfhy opened this issue Jan 11, 2023 · 1 comment

Comments

@ahcfhy
Copy link

ahcfhy commented Jan 11, 2023

版本号:sls-ios-sdk_v2.2.8
问题描述:发送日志失败,返回结果401,提示签名错误
hmac-sha.c文件中的hmac_sha1 函数出现问题,任何输入数据,
签名出来的数据hmac-sha1均为:\345m\241�}*F\306�$\213M\200|\355�Oe\246!R
base64后的结果为 5W2hFn0qRsYIJItNgHztEk9lpiE=
很令人费解,不知道是否是签名算法出现问题还是和别的函数、变量等有冲突。
敬请解答。

@cnbleu
Copy link
Collaborator

cnbleu commented Jan 30, 2023

可能是底层库冲突了,SDK升级到3.1.7版本再尝试下。

@cnbleu cnbleu closed this as completed Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants