mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-27 14:45:50 +03:00
[GH-ISSUE #86] 内容有emoji时发送会返回431 #62
Labels
No labels
enhancement
in progress
need test
pull-request
v2
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bark-server#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wenco on GitHub (Sep 29, 2021).
Original GitHub issue: https://github.com/Finb/bark-server/issues/86
Hi,我在使用docker自建时,推送内容有emoji文字就会返回下面的信息,需要怎么更改配置?
{"code":431,"message":"Request Header Fields Too Large","timestamp":1632886021}
@Finb commented on GitHub (Sep 29, 2021):
和emoji无关,看提示是推送内容过长。
苹果推送 payload 大小限制为 4KB,如果你的文本过长就需要裁减掉掉一些。
@wenco commented on GitHub (Sep 29, 2021):
同样的推送内容,在替换你的推送接口前可以正常推送,更换我docker自建就提示上面的问题,后面把推送内容中所有emoji删除就可以推送。目前使用ios15。
@wenco commented on GitHub (Sep 29, 2021):
可能emoji太多导致超限了