Skip to content

Instantly share code, notes, and snippets.

@porterjamesj
Created September 25, 2017 03:34
Show Gist options
  • Save porterjamesj/491023f6f4eb1cc98ac8ada9735fa398 to your computer and use it in GitHub Desktop.
Save porterjamesj/491023f6f4eb1cc98ac8ada9735fa398 to your computer and use it in GitHub Desktop.
-----------------------------------------------------
2017/09/25 03:15:10.559235 s3.DEBUG {
Bucket: "locker",
Key: "playlist_test/【Silent Siren】「八月の夜」MUSIC VIDEO full ver.【サイレントサイレン】-TuRm1JzAsVg.mp4.part",
UploadId: "2~g-5U_pGnYJrH_6i6AQZKJDgFxoQ9ZBa"
}
2017/09/25 03:15:10.559409 s3.DEBUG {
Body: buffer(0xc42120b0c0),
Bucket: "locker",
Key: "playlist_test/【Silent Siren】「八月の夜」MUSIC VIDEO full ver.【サイレントサイレン】-TuRm1JzAsVg.mp4.part",
PartNumber: 1,
UploadId: "2~g-5U_pGnYJrH_6i6AQZKJDgFxoQ9ZBa"
}
2017/09/25 03:15:10.612921 s3.DEBUG DEBUG: Request s3/UploadPart Details:
---[ REQUEST POST-SIGN ]-----------------------------
PUT /locker/playlist_test/%E3%80%90Silent%20Siren%E3%80%91%E3%80%8C%E5%85%AB%E6%9C%88%E3%81%AE%E5%A4%9C%E3%80%8DMUSIC%20VIDEO%20full%20ver.
%E3%80%90%E3%82%B5%E3%82%A4%E3%83%AC%E3%83%B3%E3%83%88%E3%82%B5%E3%82%A4%E3%83%AC%E3%83%B3%E3%80%91-TuRm1JzAsVg.mp4.part?partNumber=1&uploa
dId=2~g-5U_pGnYJrH_6i6AQZKJDgFxoQ9ZBa HTTP/1.1
Host: nyc3.digitaloceanspaces.com
User-Agent: aws-sdk-go/1.8.25 (go1.8.3; linux; amd64)
Content-Length: 5242880
Authorization: AWS4-HMAC-SHA256 Credential=KEAK276K67G6HM6AVCAM/20170925/us-east-1/s3/aws4_request, SignedHeaders=content-length;host;x-amz
-content-sha256;x-amz-date, Signature=d863b74fce5c48d6bc632742e01665a57ec66ca0498fd47e1227619576456b0d
Expect: 100-Continue
X-Amz-Content-Sha256: 9461e49863ada19ade594d83d55ce718a0601d0576bce052e09cb6fdd9e2f382
X-Amz-Date: 20170925T031510Z
Accept-Encoding: gzip
-----------------------------------------------------
2017/09/25 03:15:10.647964 s3.DEBUG {
Body: buffer(0xc4203be540),
Bucket: "locker",
Key: "playlist_test/【Silent Siren】「八月の夜」MUSIC VIDEO full ver.【サイレントサイレン】-TuRm1JzAsVg.mp4.part",
PartNumber: 2,
UploadId: "2~g-5U_pGnYJrH_6i6AQZKJDgFxoQ9ZBa"
}
2017/09/25 03:15:10.696377 s3.DEBUG DEBUG: Response s3/UploadPart Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403 Forbidden
Content-Length: 211
Accept-Ranges: bytes
Access-Control-Allow-Origin:
Content-Type: application/xml
Date: Mon, 25 Sep 2017 03:15:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
X-Amz-Request-Id: tx000000000000001b5e81e-0059c874be-1bf7c-nyc3a
-----------------------------------------------------
2017/09/25 03:15:10.696664 s3.DEBUG DEBUG: Validate Response s3/UploadPart failed, not retrying, error QuotaExceeded:
status code: 403, request id: tx000000000000001b5e81e-0059c874be-1bf7c-nyc3a, host id:
panic: runtime error: index out of range
goroutine 41500 [running]:
github.com/kahing/goofys/internal.(*MBuf).Read(0xc42120b0c0, 0xc420254000, 0x1000, 0x1000, 0x0, 0xc4200ceb30, 0x5607b5)
/home/khc/Code/go/src/github.com/kahing/goofys/internal/buffer_pool.go:219 +0x1b6
github.com/kahing/goofys/vendor/github.com/aws/aws-sdk-go/aws/request.(*offsetReader).Read(0xc420339340, 0xc420254000, 0x1000, 0x1000, 0x0,
0x0, 0x0)
/home/khc/Code/go/src/github.com/kahing/goofys/vendor/github.com/aws/aws-sdk-go/aws/request/offset_reader.go:42 +0xf9
io.(*LimitedReader).Read(0xc4203305c0, 0xc420254000, 0x1000, 0x1000, 0x1000, 0x0, 0x0)
/usr/local/go/src/io/io.go:436 +0x6c
bufio.(*Writer).ReadFrom(0xc420587a80, 0xc53420, 0xc4203305c0, 0x7fbbc4c88ef0, 0xc420587a80, 0x1)
/usr/local/go/src/bufio/bufio.go:696 +0xcd
io.copyBuffer(0xc52ba0, 0xc420587a80, 0xc53420, 0xc4203305c0, 0x0, 0x0, 0x0, 0x9375e0, 0xc4203bee01, 0xc4203305c0)
/usr/local/go/src/io/io.go:384 +0x2cb
io.Copy(0xc52ba0, 0xc420587a80, 0xc53420, 0xc4203305c0, 0x0, 0xc420acda40, 0x677dff)
/usr/local/go/src/io/io.go:360 +0x68
net/http.(*transferWriter).WriteBody(0xc42059cf80, 0xc52ba0, 0xc420587a80, 0x2, 0x2)
/usr/local/go/src/net/http/transfer.go:319 +0x675
net/http.(*Request).write(0xc4240a4900, 0xc52ba0, 0xc420587a80, 0x0, 0xc420170930, 0xc420339e20, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:622 +0x6e9
net/http.(*persistConn).writeLoop(0xc42015b560)
/usr/local/go/src/net/http/transport.go:1707 +0x1ad
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment