dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Upload a relatively large file stuck(上传比较大的文件卡住)

Open itheima-cby opened this issue 7 years ago • 5 comments

Describe the bug Upload txt file to linux, if the file is small, only a few kb, can upload quickly, but upload tens of hundreds of kb size txt text, the page shows uploading 100%, and then keeps still, stuck, the background is not really The upload is successful, there is no relevant file in the list after successful refresh!

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Additional context Add any other context about the problem here.


Describe the bug 上传txt文件到linux上,如果文件比较小只有几kb,能够快速上传,但是上传几十上百kb大小的txt文本,页面显示上传100%,然后一直保持不动,卡住,后台没有真的上传成功,刷新后成功的列表中也没有相关文件!

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Additional context Add any other context about the problem here.

itheima-cby avatar May 23 '19 06:05 itheima-cby

which brower do you use? please use F12 debug to find the response of the server

api server log should also view!

davidzollo avatar May 24 '19 09:05 davidzollo

If you are using nginx, set the upload size Edit the configuration file vi /etc/nginx/nginx.conf

Change upload size Client_max_body_size 1024m


如果使用的是nginx,设置上传大小 编辑配置文件 vi /etc/nginx/nginx.conf

更改上传大小 client_max_body_size 1024m

qiaozhanwei avatar May 24 '19 09:05 qiaozhanwei

Thanks for the reply, the problem has been solved, the version of Google Chrome is old, and the latest version of the browser has been updated. ------------------ The original message ------------------ From: "乔占卫"[email protected]; Delivery time: May 24, 2015 (Friday) 5:25 PM To: "analysys/EasyScheduler"[email protected]; Cc: "Mr. Little" [email protected]; "Author" [email protected]; Subject: Re: [analysys/EasyScheduler] Uploading a large file jam (#341)

If you are using nginx, set the upload size   Edit the configuration file vi /etc/nginx/nginx.conf   Change upload size   Client_max_body_size 1024m  

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.


感谢回复,问题已经解决,是谷歌浏览器版本比较旧,更新了浏览器最新版就支持了 ------------------ 原始邮件 ------------------ 发件人: "乔占卫"[email protected]; 发送时间: 2019年5月24日(星期五) 下午5:25 收件人: "analysys/EasyScheduler"[email protected]; 抄送: "小小先生"[email protected];"Author"[email protected]; 主题: Re: [analysys/EasyScheduler] 上传比较大的文件卡住 (#341)

如果使用的是nginx,设置上传大小 编辑配置文件 vi /etc/nginx/nginx.conf

更改上传大小 client_max_body_size 1024m

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

itheima-cby avatar May 24 '19 09:05 itheima-cby

very good, thx

davidzollo avatar May 24 '19 09:05 davidzollo

well done, thanks

copperfield-dev avatar Nov 25 '19 07:11 copperfield-dev