Closed GoogleCodeExporter closed 9 years ago
What steps will reproduce the problem? 1. Using imgur as a destination 2. 3. What is the expected output? What do you see instead? Expected output is for the image to be uploaded, however this error is returned: System.Exception: Upload errors: Message: The remote server returned an error: (400) Bad Request. Response: <?xml version="1.0" encoding="utf-8"?> <error><message>Image failed to upload.</message><request>/2/account/images.xml</request><method>post</method><f ormat>xml</format><parameters></parameters></error> StackTrace: at System.Net.HttpWebRequest.GetResponse() at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies) What version of the product are you using? On what operating system? Copy text from Debug tab 2012-06-03 13:41:29.935 - ZUploader 5.0.0 r2971 started 2012-06-03 13:41:29.936 - Operating system: Microsoft Windows NT 6.1.7600.0 2012-06-03 13:41:29.936 - CommandLine: "C:\Program Files\ZUploader\ZUploader.exe" 2012-06-03 13:41:29.936 - IsMultiInstance: False 2012-06-03 13:41:29.936 - IsSilentRun: False 2012-06-03 13:41:29.936 - IsPortable: False 2012-06-03 13:41:29.937 - new MainForm() started 2012-06-03 13:41:30.033 - Settings load started: C:\Users\Alii\Documents\ZUploader\ZUploaderSettings.xml 2012-06-03 13:41:30.598 - Settings load finished: C:\Users\Alii\Documents\ZUploader\ZUploaderSettings.xml 2012-06-03 13:41:30.600 - Settings load started: C:\Users\Alii\Documents\ZUploader\UploadersConfig.xml 2012-06-03 13:41:30.654 - new MainForm() finished 2012-06-03 13:41:30.851 - Startup time: 1205ms 2012-06-03 13:41:31.871 - Settings load finished: C:\Users\Alii\Documents\ZUploader\UploadersConfig.xml 2012-06-03 13:41:41.921 - Upload in queue. ID: 0, Job: ImageUpload, Type: Image, Host: imgur.com 2012-06-03 13:41:41.959 - Upload preparing. ID: 0 2012-06-03 13:41:42.820 - Upload started. ID: 0, Filename: 2012-06-03_13-41-42.jpg 2012-06-03 13:42:19.058 - Upload failed. ID: 0, Filename: 2012-06-03_13-41-42.jpg, Errors: Message: The remote server returned an error: (504) Gateway Timeout. Response: <html><body><h1>504 Gateway Time-out</h1> The server didn't respond in time. </body></html> StackTrace: at System.Net.HttpWebRequest.GetResponse() at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies) 2012-06-03 13:42:41.660 - Upload in queue. ID: 1, Job: ImageUpload, Type: Image, Host: imgur.com 2012-06-03 13:42:41.690 - Upload preparing. ID: 1 2012-06-03 13:42:42.380 - Upload started. ID: 1, Filename: 2012-06-03_13-42-42.jpg 2012-06-03 13:42:51.903 - Upload completed. ID: 1, Filename: 2012-06-03_13-42-42.jpg, URL: http://i.imgur.com/YPMCw.jpg, Duration: 9522ms 2012-06-03 13:49:37.907 - Upload in queue. ID: 2, Job: ImageUpload, Type: Image, Host: imgur.com 2012-06-03 13:49:37.937 - Upload preparing. ID: 2 2012-06-03 13:49:38.486 - Upload started. ID: 2, Filename: 2012-06-03_13-49-38.png 2012-06-03 13:49:45.863 - Upload failed. ID: 2, Filename: 2012-06-03_13-49-38.png, Errors: Message: The remote server returned an error: (400) Bad Request. Response: <?xml version="1.0" encoding="utf-8"?> <error><message>Image failed to upload.</message><request>/2/account/images.xml</request><method>post</method><f ormat>xml</format><parameters></parameters></error> StackTrace: at System.Net.HttpWebRequest.GetResponse() at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies) 2012-06-03 13:50:23.590 - Upload in queue. ID: 3, Job: ImageUpload, Type: Image, Host: imgur.com 2012-06-03 13:50:23.620 - Upload preparing. ID: 3 2012-06-03 13:50:23.737 - Upload started. ID: 3, Filename: 2012-06-03_13-50-23.png 2012-06-03 13:50:29.597 - Upload failed. ID: 3, Filename: 2012-06-03_13-50-23.png, Errors: Message: The remote server returned an error: (400) Bad Request. Response: <?xml version="1.0" encoding="utf-8"?> <error><message>Image failed to upload.</message><request>/2/account/images.xml</request><method>post</method><f ormat>xml</format><parameters></parameters></error> StackTrace: at System.Net.HttpWebRequest.GetResponse() at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies) 2012-06-03 13:51:00.023 - Settings save started: C:\Users\Alii\Documents\ZUploader\UploadersConfig.xml 2012-06-03 13:51:00.133 - Settings save successful: C:\Users\Alii\Documents\ZUploader\UploadersConfig.xml 2012-06-03 13:51:02.494 - Upload in queue. ID: 4, Job: ImageUpload, Type: Image, Host: imgur.com 2012-06-03 13:51:02.499 - Upload preparing. ID: 4 2012-06-03 13:51:02.613 - Upload started. ID: 4, Filename: 2012-06-03_13-51-02.png 2012-06-03 13:51:03.178 - Upload failed. ID: 4, Filename: 2012-06-03_13-51-02.png, Errors: Message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. StackTrace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size) at UploadersLib.Uploader.TransferData(Stream dataStream, Stream requestStream) at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies) 2012-06-03 13:52:00.635 - Settings save started: C:\Users\Alii\Documents\ZUploader\UploadersConfig.xml 2012-06-03 13:52:00.640 - Settings save successful: C:\Users\Alii\Documents\ZUploader\UploadersConfig.xml 2012-06-03 13:52:19.207 - Upload in queue. ID: 5, Job: ImageUpload, Type: Image, Host: imgur.com 2012-06-03 13:52:19.210 - Upload preparing. ID: 5 2012-06-03 13:52:19.329 - Upload started. ID: 5, Filename: 2012-06-03_13-52-19.png 2012-06-03 13:52:25.560 - Upload failed. ID: 5, Filename: 2012-06-03_13-52-19.png, Errors: Message: The remote server returned an error: (400) Bad Request. Response: <?xml version="1.0" encoding="utf-8"?> <error><message>Image failed to upload.</message><request>/2/account/images.xml</request><method>post</method><f ormat>xml</format><parameters></parameters></error> StackTrace: at System.Net.HttpWebRequest.GetResponse() at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies) 2012-06-03 13:52:40.455 - Unhandled exception: System.Exception: Upload errors: Message: The remote server returned an error: (400) Bad Request. Response: <?xml version="1.0" encoding="utf-8"?> <error><message>Image failed to upload.</message><request>/2/account/images.xml</request><method>post</method><f ormat>xml</format><parameters></parameters></error> StackTrace: at System.Net.HttpWebRequest.GetResponse() at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies) 2012-06-03 13:54:07.579 - ZSS.HelpersLib continue. Please provide any additional information below.
Original issue reported on code.google.com by i.am.wab...@gmail.com on 3 Jun 2012 at 12:55
i.am.wab...@gmail.com
http://code.google.com/p/sharex/downloads/list :)
Original comment by mcored on 5 Jun 2012 at 4:45
mcored
Original issue reported on code.google.com by
i.am.wab...@gmail.com
on 3 Jun 2012 at 12:55