在某些上传的人工答复中,回复为空

时间:2019-05-02 07:10:19

标签: curl artifactory

我通过cURL将几个zip文件上传到人工服务器。 它们中的大多数都在人工制品中毫无问题地存储。 但是一个文件大于100MB,并且在bash脚本中服务器返回100(继续)。
如果我在使用cURL的终端上尝试,则响应为:
curl:(52)来自服务器的空回复

但是在日志中,我看到“我们已经完全上载并且很好”

我没有找到文件大小限制的任何配置-仅用于WebUI上传,但这没问题。

我已经阅读了有关“服务器的空回复”状态的安全和超时问题,但是这些都不是我的问题:
大多数文件都可以存储-这不是一个安全问题。
可能会超时,但是我将--max-time设置为600(5分钟),并且在不到2分钟的时间内给出了响应。 -时间可能是我需要通过WebUI上传文件的时间。 接下来是:我可以毫无问题地通过WebUI进行部署。

有人知道

的问题吗
Here my cURL call and the verbose logging:
curl --max-time 600 -v -w "X-JFrog-Art-Api:*********" -X PUT "https://my.artifactory.server/artifactory/libs-release-local/solrserver/7.4/solrserver-7.4.zip" -T solrserver.zip 
*   Trying ******...
* TCP_NODELAY set
* Connected to ****** (*****) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=*****
*  start date: Sep  5 00:00:00 2018 GMT
*  expire date: Nov  8 12:00:00 2020 GMT
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=RapidSSL RSA CA 2018
*  SSL certificate verify ok.
> PUT /artifactory/libs-release-local/solrserver/7.4/solrserver-7.4.zip HTTP/1.1
> Host: ********
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Length: 126612253
> Expect: 100-continue
> 
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* Empty reply from server
* Connection #0 to host ********** left intact
curl: (52) Empty reply from server

0 个答案:

没有答案