1
根據Google的最佳做法,Google建議重試建議的Google錯誤 - 500:內部服務器錯誤。Google Drive - 在500上成功上傳文件:內部服務器錯誤
請參閱下面的服務器日誌提取 - 我試圖上傳到Google失敗(使用500:內部服務器錯誤),但是,在Google Drive框中查找之前未能上傳的文件時,Google返回因此文件的元數據確認文件確實已成功上傳。
這似乎與Google的最佳做法相抵觸,Google的最佳做法建議在這種故障情況下重試 - 另一方面,重試會導致Google雲端硬盤中存在多個重複文檔。
**2013-03-11 14:36:08,477 INFO** [GoogleDriveDispatcherImpl] Thread name (Begin Google Upload Process):flow.inbound-main-flow.19 - , Service Number:0736074138, Original Filename=0736074138-1362976512-01.pdf, Converted File Name=2013031114351201.pdf
**2013-03-11 14:37:32,333 ERROR** [GoogleDriveDispatcherImpl] Failed to upload to backup drive:Mime Type=application/pdf,serviceNumber=0736074138,localFullPath=/var/spool/0736074138-1362976512-01.pdf,FileName=-2013031114351201.pdf,FileDesc= from mate
To:0736074138
From:unknown
When:2013-03-11 14:35:12.0
Total Time:25 secs
Image Size: 1728x2167
Resolution: 204, 196 pixels/inch
Compression Scheme: CCITT Group 3
,baseFolderName=Mate, error message:500 Internal Server Error
{
"code" : 500,
"errors" : [ {
"domain" : "global",
"message" : "Internal Error",
"reason" : "internalError"
} ],
"message" : "Internal Error"
}
**2013-03-11 14:37:42,336 ERROR** [GoogleDriveDispatcherImpl] Thread name (Failed Google Upload Process):flow.inbound--main-flow.19 -, Service Number:0736074138, Original Filename=0736074138-1362976512-01.pdf, Converted File Name=-2013031114351201.pdf
**2013-03-11 14:37:42,336 ERROR** [GoogleDriveDispatcherImpl] Searching customers Google Drive box for Filename:-2013031114351201.pdf
**2013-03-11 14:37:42,757 ERROR** [GoogleDriveDispatcherImpl] Google file to search={"etag":"\"8M2pZwE_fwroB5BIq5aUjc3uhqg/Vb9KGgCZr7aIdUrygm0HqfELaoI\"","items":[{"alternateLink":"docs.google.com/a/abc.com.au/file/d/0Bxjdw7torhpgQkVXaVNBb3hib3M/edit","createdDate":"2013-03-11T04:36:13.383Z","downloadUrl":"doc-10-as-docs.googleusercontent.com/docs/securesc/7aplsi64vdu35mnaph1ickkkr74926fi/mjsv3r4ekf50j7kgvvtdc09ah6ikvf3h/1362974400000/06957550221568715648/06957550221568715648/0Bxjdw7torhpgQkVXaVNBb3hib3M?h=09525600671296713863&e=download&gd=true","editable":true,"etag":"\"8M2pZwE_fwroB5BIq5aUjc3uhqg/MTM2Mjk3NjU3MzI1Nw\"","fileExtension":"pdf","fileSize":"7811","id":"0Bxjdw7torhpgQkVXaVNBb3hib3M","kind":"drive#file","labels":{"hidden":false,"restricted":false,"starred":false,"trashed":false,"viewed":true},"lastModifyingUserName":"Savio Mascarenhas","lastViewedByMeDate":"2013-03-11T04:36:13.257Z","md5Checksum":"a77e0a2a90adcbf56a7f2cc7729a9023","mimeType":"application/pdf","modifiedByMeDate":"2013-03-11T04:36:13.257Z","modifiedDate":"2013-03-11T04:36:13.257Z","originalFilename":"-2013031114351201.pdf","ownerNames":["Savio Mascarenhas"],"parents":[{"id":"0Bxjdw7torhpgMy1NMVVnamNYbGs","isRoot":false,"kind":"drive#parentReference","parentLink":"googleapis.com/drive/v2/files/0Bxjdw7torhpgMy1NMVVnamNYbGs","selfLink":".googleapis.com/drive/v2/files/0Bxjdw7torhpgQkVXaVNBb3hib3M/parents/0Bxjdw7torhpgMy1NMVVnamNYbGs"}],"quotaBytesUsed":"7811","selfLink":".googleapis.com/drive/v2/files/0Bxjdw7torhpgQkVXaVNBb3hib3M","thumbnailLink":"lh5.googleusercontent.com/7NWWsM3Kqu6rLRj1HBuDKwvL0eDnUUgbWF7Z3wy7nw7VozRD0X7SzJVX24vnZ6lWwQ=s220","title":"-2013031114351201.pdf","userPermission":{"etag":"\"8M2pZwE_fwroB5BIq5aUjc3uhqg/yT7yp2-ykNjlAtGeVoBbALyAX0U\"","id":"me","kind":"drive#permission","role":"owner","selfLink":".googleapis.com/drive/v2/files/0Bxjdw7torhpgQkVXaVNBb3hib3M/permissions/me","type":"user"},"webContentLink":"docs.google.com/a/abc.com.au/uc?id=0Bxjdw7torhpgQkVXaVNBb3hib3M&export=download","writersCanShare":true,"iconLink":"ssl.gstatic.com/docs/doclist/images/icon_10_pdf_list.png","owners":[{"kind":"drive#user","displayName":"Savio Mascarenhas","isAuthenticatedUser":true,"permissionId":"06957550221568715648"}],"lastModifyingUser":{"kind":"drive#user","displayName":"Savio Mascarenhas","isAuthenticatedUser":true,"permissionId":"06957550221568715648"},"shared":false}],"kind":"drive#fileList","selfLink":".googleapis.com/drive/v2/files?q=title+%3D+'-2013031114351201.pdf'+and+mimeType+%3D+'application/pdf'+and+trashed+%3D+false"}, Google file to search(items)=[{"alternateLink":"docs.google.com/a/abc.com.au/file/d/0Bxjdw7torhpgQkVXaVNBb3hib3M/edit","createdDate":"2013-03-11T04:36:13.383Z","downloadUrl":"://doc-10-as-docs.googleusercontent.com/docs/securesc/7aplsi64vdu35mnaph1ickkkr74926fi/mjsv3r4ekf50j7kgvvtdc09ah6ikvf3h/1362974400000/06957550221568715648/06957550221568715648/0Bxjdw7torhpgQkVXaVNBb3hib3M?h=09525600671296713863&e=download&gd=true","editable":true,"etag":"\"8M2pZwE_fwroB5BIq5aUjc3uhqg/MTM2Mjk3NjU3MzI1Nw\"","fileExtension":"pdf","fileSize":"7811","id":"0Bxjdw7torhpgQkVXaVNBb3hib3M","kind":"drive#file","labels":{"hidden":false,"restricted":false,"starred":false,"trashed":false,"viewed":true},"lastModifyingUserName":"Savio Mascarenhas","lastViewedByMeDate":"2013-03-11T04:36:13.257Z","md5Checksum":"a77e0a2a90adcbf56a7f2cc7729a9023","mimeType":"application/pdf","modifiedByMeDate":"2013-03-11T04:36:13.257Z","modifiedDate":"2013-03-11T04:36:13.257Z","originalFilename":"-2013031114351201.pdf","ownerNames":["Savio Mascarenhas"],"parents":[{"id":"0Bxjdw7torhpgMy1NMVVnamNYbGs","isRoot":false,"kind":"drive#parentReference","parentLink":"://.googleapis.com/drive/v2/files/0Bxjdw7torhpgMy1NMVVnamNYbGs","selfLink":"://.googleapis.com/drive/v2/files/0Bxjdw7torhpgQkVXaVNBb3hib3M/parents/0Bxjdw7torhpgMy1NMVVnamNYbGs"}],"quotaBytesUsed":"7811","selfLink":"://.googleapis.com/drive/v2/files/0Bxjdw7torhpgQkVXaVNBb3hib3M","thumbnailLink":"://lh5.googleusercontent.com/7NWWsM3Kqu6rLRj1HBuDKwvL0eDnUUgbWF7Z3wy7nw7VozRD0X7SzJVX24vnZ6lWwQ=s220","title":"-2013031114351201.pdf","userPermission":{"etag":"\"8M2pZwE_fwroB5BIq5aUjc3uhqg/yT7yp2-ykNjlAtGeVoBbALyAX0U\"","id":"me","kind":"drive#permission","role":"owner","selfLink":"://.googleapis.com/drive/v2/files/0Bxjdw7torhpgQkVXaVNBb3hib3M/permissions/me","type":"user"},"webContentLink":"://docs.google.com/a/abcnetworks.com.au/uc?id=0Bxjdw7torhpgQkVXaVNBb3hib3M&export=download","writersCanShare":true,"iconLink":"://ssl.gstatic.com/docs/doclist/images/icon_10_pdf_list.png","owners":[{"kind":"drive#user","displayName":"Savio Mascarenhas","isAuthenticatedUser":true,"permissionId":"06957550221568715648"}],"lastModifyingUser":{"kind":"drive#user","displayName":"Savio Mascarenhas","isAuthenticatedUser":true,"permissionId":"06957550221568715648"},"shared":false}], Google file to search items(empty)=false
**2013-03-11 14:37:42,758 ERROR** [GoogleDriveDispatcherImpl] File is successfully uploaded to Google: FileName = 2013031114351201.pdf
請注意,我不得不修改鏈接,因爲它提交此帖時發生錯誤,因此我刪除了「https」和「www」文本。謝謝! – user2155849 2013-03-11 08:01:55