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

aliyun 短信发送失败 #12

Closed
markliby opened this issue Mar 30, 2020 · 4 comments
Closed

aliyun 短信发送失败 #12

markliby opened this issue Mar 30, 2020 · 4 comments

Comments

@markliby
Copy link

阿里云短信发送失败
失败原因:
参数错误(isv.PARAM_LENGTH_LIMIT)
建议:
建议修改参数长度
是由于短信内容过长导致吗?是否可以精简阿里云短信信息呢?

@minibear2333
Copy link
Contributor

minibear2333 commented Apr 3, 2020

阿里云短信发送失败
失败原因:
参数错误(isv.PARAM_LENGTH_LIMIT)
建议:
建议修改参数长度
是由于短信内容过长导致吗?是否可以精简阿里云短信信息呢?

请参考我的回复决定是否关闭Issue

在公有云上配置告警都是有一样的套路,如果你不是政府企业,是个人测试的话,短信长度是被限制的。你必须配置相应的短信模板 来发送告警 信息。

为什么要限制长度呢?

  • 通常公有云短信是被用来发送验证码的,所以会限制长度。
  • 防止你胡乱发送告警信息,包含黄赌毒等违法信息

@feiyu563
Copy link
Owner

feiyu563 commented Apr 3, 2020

短信的长度部分平台确实有限制,腾讯云的之前似乎没有限制,华为和阿里的好像都限制了长度

@feiyu563
Copy link
Owner

feiyu563 commented Apr 3, 2020

PrometheusAlert方面做限制的意义似乎不大,只能在使用帮助里面做个提醒。

@feiyu563 feiyu563 closed this as completed Apr 3, 2020
@mengshuai85
Copy link

其实可以把 短信的内容做一些精简,只需要发送 desc的内容就够了,其他的 可以清理掉

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

4 participants