CWIKIUS
  • 首页
  • 计算科学
  • 房地产
  • 文化旅游
  • 项目和网站
    • OSSEZ 计算技术
    • USRealEstate 社区
    • 地区文化
    • CWIKI.US
    • BUG.OSSEZ.COM
    • RSS.OSSEZ.COM
CWIKIUS.CN
一个有独立思考和温度的清新站
  1. Home
  2. Computer Science
  3. This article

Maven docker-maven-plugin 插件 Push 413 错误

2022年10月21日 85Browse 0Like 0Comments

这个 413 错误 有 2 个方面的,第一是 nginx 反向代理的问题。

通常这个将包的大小设置到 1024m 都能解决。

我们的坑

我们的坑的错误是我们使用了 cloudflare。

cloudflare 有数据上传限制。

否则会抛出下面的的提示:

<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>cloudflare</center>
</body>
</html>

考古后发现下面的配置:

Cloudflare limits upload size (HTTP POST request size) per plan type:

  • 100MB Free and Pro
  • 200MB Business
  • 500MB Enterprise by default

 

2022-10-20_02-04-38

 

如果你需要上传超过上面大小的数据的话,就不能使用 Cloudflare 的 CDN 缓存功能。

你可以只使用 Cloudflare 的 CDN 服务来解决这个问题。

 

https://www.ossez.com/t/maven-docker-maven-plugin-push-413/14160

Tags: None
Last updated:2022年10月21日

HoneyMoose

有温度的人文和独立的思考

Like
< Previous
Next >

Comments

Cancel reply

Categories
  • Algorithm(算法)
  • AMQP
  • Angular
  • CI
  • Compile And CI
  • Computer Science
  • Confluence
  • DataBase
  • Gradle
  • Hibernate
  • IDE
  • Java
  • Jersey
  • Jira
  • MariaDB
  • PrestaShop
  • Spring
  • Spring Batch
  • U.S.
  • U.S. Travel
  • USRealEstate
  • VisaFn

COPYRIGHT © 2020 CWIKIUS. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS

湘ICP备2020018253号-1