1 Reply Latest reply on Sep 9, 2009 1:52 PM by Anthony T DeBonis

    File upload Fails in FireFox on SunRays

    Anthony T DeBonis Level 1

      We can't get File upload to work with a Browser Running under SunRays on FireFox

       

      We have finally identified the http problem (http 417) which is causing the IO flash error.

       

      We tried this on FireFox 3.0 as well as FireFox 3.5.3 both with the same results. Also, I doubt if this is a browser issue because uploading files to the same servlet from a test JSP page works fine. Whatever happens, happens between flash player and the browser.

       

      After using a simple MXML file (attached below) to test the file upload functionality on different operating systems we have discovered that it brakes with an unusual error when tested on Solaris.

      We put sniffers and clearly noticed the difference in the headers generated by Flash 10 in different OS environments.

       

      As you can see from the examples below, the later version (the one running on Solaris) has an extra "Expect:" in the header which we believe is responsible for the HTTP 417 error (which, in its turn, is responsible for 2038 thrown by flex)

       

      Here is a header generated from a functional system: POST /iehs_core_document/FileUploadServlet HTTP/1.1

      Host: dev01.intelligentehs.com:9086

      Accept: */*

      User-Agent: Shockwave Flash

      Connection: Keep-Alive

      Cache-Control: no-cache

      Content-Length: 755

      Expect: 100-continue

      Content-Type: multipart/form-data; boundary=----------------------------e6d2f5d2c945

       

       

       

      And here is a header generated from OpenSolaris  11 2009.06

      POST /iehs_core_document/FileUploadServlet HTTP/1.1

      Host: dev01.intelligentehs.com:9086

      Accept: */*

      User-Agent: Shockwave Flash

      Connection: Keep-Alive

      Cache-Control: no-cache

      Expect:

      Content-Length: 653

      Expect: 100-continue

      Content-Type: multipart/form-data; boundary=----------------------------b64e06f786e4