Note that there are some explanatory texts on larger screens.

plurals
  1. POBrowser-Based YouTube Upload in Firefox 16 Aborts Unexpectedly
    text
    copied!<p>I have a regular YouTube browser-based upload form, as shown below. It works great in IE, Chrome, and older versions of Firefox. However, my Firefox 16.0.2, just hangs on the POST. I have replicated the problem on other computers with Firefox 16.x.</p> <p>The file uploads correctly if I manually override the SSL by changing YouTube's URL from: <em><strong>https</strong>://uploads.gdata.youtube.com</em> to <em><strong>http</strong>://uploads.gdata.youtube.com</em>.</p> <p>To make things even stranger, the request is not logged at all on the <em>Net</em> tab in Firebug. On Firefox's <em>Web Console</em>, I can see the request, but the response and status code is totally missing. Then, if I use Fiddler with the <em>Decrypt HTTPS traffic</em> option enabled the file uploads correctly.</p> <p>Anyone have any ideas what could be going on or how to monitor the SSL traffic without <em>fixing</em> the problem?</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt;&lt;title&gt;YouTube Test&lt;/title&gt;&lt;/head&gt; &lt;body&gt; &lt;form id="frmYouTube" enctype="multipart/form-data" method="post" action="https://uploads.gdata.youtube.com/action/FormDataUpload/YOU_TUBE_URL?nexturl=https%3a%2f%2fMY.DOMAIN.COM%2fDIR_1%2fDIR_2%3fid2%3dLOCAL_ID"&gt; &lt;table&gt; &lt;tr&gt;&lt;td&gt;&lt;input type="file" name="file" /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt; &lt;input type="hidden" name="token" value="MY_YOUTUBE_TOKEN" /&gt; &lt;input type="submit" value="Upload" /&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>The YouTube url and token are generated on the backend using ASP.Net with the Google.GData.YouTube library. Here is part of that code:</p> <pre><code>public class BaseModel { public string SITE_YOUTUBE_APP_NAME = ""; public string SITE_YOUTUBE_DEV_KEY = ""; public string SITE_YOUTUBE_USERNAME = ""; public string SITE_YOUTUBE_PASSWORD = ""; public string YOUTUBE_CATEGORY = ""; public FormUploadToken FormToken; public void Load() { YouTubeRequestSettings settings = new YouTubeRequestSettings( SITE_YOUTUBE_APP_NAME, SITE_YOUTUBE_DEV_KEY, SITE_YOUTUBE_USERNAME, SITE_YOUTUBE_PASSWORD); YouTubeRequest request = new YouTubeRequest(settings); Video newVideo = new Video(); string title = "Test Title"; string description = "Test Description"; newVideo.Title = title; newVideo.Tags.Add(new MediaCategory(YOUTUBE_CATEGORY, YouTubeNameTable.CategorySchema)); newVideo.Keywords = "test"; newVideo.Description = description; newVideo.YouTubeEntry.Private = false; FormToken = request.CreateFormUploadToken(newVideo); } } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload