500 Internal Server Error with files/content api
回答済みHi,
We have a feature calling content API to upload files to box.
We saw 500 Internal Server Error recently, could someone help to check what happened?
Here is the curl log on our server: we are trying to upload a file with size around 500MB, we say the error after sending for more than 60 seconds
curl --location --request POST 'https://upload.box.com/api/2.0/files/content' --header 'Authorization: Bearer {{token}}' --form 'attributes={"name":"test.txt", "parent":{"id":"149214152055"}}' --form 'file=@"/usr/local/proad/test.txt"' -x pproxy.prod.jp.local:14101 -vv
* About to connect() to proxy pproxy.prod.jp.local port 14101 (#0)
* Trying 100.71.52.30...
* Connected to pproxy.prod.jp.local (100.71.52.30) port 14101 (#0)
* Establish HTTP proxy tunnel to upload.box.com:443
> CONNECT upload.box.com:443 HTTP/1.1
> Host: upload.box.com:443
> User-Agent: curl/7.29.0
> Proxy-Connection: Keep-Alive
> Authorization: Bearer TOKEN
>
< HTTP/1.1 200 Connection established
<
* Proxy replied OK to CONNECT request
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=box.com,O="Box, Inc.",L=Redwood City,ST=California,C=US
* start date: Oct 05 00:00:00 2022 GMT
* expire date: Oct 17 23:59:59 2023 GMT
* common name: box.com
* issuer: CN=DigiCert TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US
> POST /api/2.0/files/content HTTP/1.1
> User-Agent: curl/7.29.0
> Host: upload.box.com
> Accept: */*
> Authorization: Bearer TOKEN
> Content-Length: 472670314
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=----------------------------d4e9d74be394
>
< HTTP/1.1 100 Continue
< HTTP/1.1 500 Internal Server Error
< Server: nginx
< Date: Thu, 16 Feb 2023 01:33:50 GMT
< Content-Type: text/html; charset=UTF-8
< Content-Length: 0
< X-Box-Original-Ingress-ADC-Host: prod-c-traffic-manager-jcnl
< Strict-Transport-Security: max-age=31536000
< Via: 1.1 google
< Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
* HTTP error before end of send, stop sending
<
* Closing connection 0
サインインしてコメントを残してください。
コメント
1件のコメント