简体   繁体   English

从Node JS服务器网络上上传视频时出错:: ERR_CONNECTION_RESET

[英]Error on uploading on video from Node JS server net::ERR_CONNECTION_RESET

I am using 我在用

angular HttpClient 角度HttpClient

to upload assets(Images,mp3,mp4,pdf). 上传素材资源(图片,mp3,mp4,pdf)。

All assets upload successfully on my 所有资产成功上传到我的

DEV server DEV服务器

but on 但是在

Production server (AWS server) 生产服务器(AWS服务器)

All assets upload except VIDEO (.mp4) . 除了VIDEO(.mp4)以外,所有资产都上传。 I don't find the reason . 我找不到原因。

Getting error on console Requesting 在控制台请求时出错

net::ERR_CONNECTION_RESET

在此处输入图片说明

Is this for all sizes of m4 ? 是否适用于所有大小的m4? If this issue is only related to the larger file size please check with your web server configuration for nginx set size in this way. 如果此问题仅与较大的文件大小有关,请以这种方式检查您的Web服务器配置中的nginx设置大小。 client_max_body_size 200M; client_max_body_size 200M;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM