2

I am using SwfUploader. On a couple of test systems, the uploads work OK, on a thrird, it gets error 502. Is that HTTP error 502 (bad response from gateway) or an swf error? Any tips for tracking this down?

Here is the output from it with the debug flag turned on:

WF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for standard upload. Starting upload to /php/upload.php for File ID: SWFUpload_0_0 SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 4653056. Total: 47326876 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 6062080. Total: 47326876 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 16744448. Total: 47326876 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 24281088. Total: 47326876 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 33128448. Total: 47326876 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 42532864. Total: 47326876 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 47326876. Total: 47326876 SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 502. SWF DEBUG: Event: uploadComplete : Upload cycle complete. Error Code: HTTP Error, File name: junk.wmv, Message: 502

4

1 に答える 1

0

HTTP Status: 502 の HTTP Error と表示されます。したがって、サーバー側で生成された HTTP Status Error である必要があります。

通常、このようなエラーはエラー ログに記録されます。それらを確認してください。または、追加の出力があるかもしれませんが、それを調べるのはそれほど簡単ではありません。これを行う 1 つの方法は、フィドラーのようなプロキシを使用することです。これを使用すると、502 応答が表示されるはずです。

于 2013-02-24T13:51:18.893 に答える