misskey icon indicating copy to clipboard operation
misskey copied to clipboard

巨大ファイルが添付されていると照会できない

Open penginn-net opened this issue 6 months ago • 5 comments

💡 Summary

巨大なファイルが添付されているとエラーになる

🥰 Expected Behavior

照会できる

🤬 Actual Behavior

default.ymlのmaxFileSizeの値以上だと WARN * [download] maxSize exceeded (2893111290 > 262144000) on response が出た後にINTERNAL_ERROR "Premature close" 書き換えるとダウンロードに間に合わなくてTimeout

📝 Steps to Reproduce

1.ファイルサイズ大きいファイルが添付された投稿を照会する

💻 Frontend Environment

* Model and OS of the device(s):
* Browser:
* Server URL:
* Misskey:

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:2024.8.0
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • [ ] Yes, I will patch the bug myself and send a pull request

penginn-net avatar Aug 21 '24 07:08 penginn-net