将图像发送到 /上传时会出现错误
我有一个节点应用程序,该应用程序将FormData发送到 /上传。我设计了该应用程序以每个文件发送一个请求。当我运行它发送40个请求时,它有效。我在50个测试请求之后再次运行了它,现在我在主机服务器上发送以下错误,同时使用PM2日志观看该过程:
0|football-strapi | Error: Parse Error
0|football-strapi | at socketOnEnd (_http_server.js:540:22)
0|football-strapi | at Socket.emit (events.js:326:22)
0|football-strapi | at endReadableNT (_stream_readable.js:1241:12)
0|football-strapi | at processTicksAndRejections (internal/process/task_queues.js:84:21)
有人在此问题上有经验吗?这是Strapi V3。
谢谢
I have a node application which sends formData to /upload. I designed the app to send one request per file. When I ran it sending 40 requests, it worked. I ran it again right after with 50 requests to test and now I'm sending the following error on the host server while watching the process with pm2 logs:
0|football-strapi | Error: Parse Error
0|football-strapi | at socketOnEnd (_http_server.js:540:22)
0|football-strapi | at Socket.emit (events.js:326:22)
0|football-strapi | at endReadableNT (_stream_readable.js:1241:12)
0|football-strapi | at processTicksAndRejections (internal/process/task_queues.js:84:21)
Does anyone have experience with this issue? This is Strapi v3.
Thank You
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论