Problems with secured pages (https) in Firefox

Sep 18, 2009 at 9:29 AM
Edited Sep 18, 2009 at 9:58 AM

Hi.
I have implemented test page with Flajaxian FileUploader in it.
It works correctly under FireFox and IE, but there is a
problem with Firefox when the page is placed in SSL based web site.

Uploader dialog is shown correctly, and it is possible to select files, but there is no running status bar and no files are uploaded to server after pressing "Upload" button.
File list simply disapears. There are no errors or warnings messages.


There is no such problem when the same page is opened in Internet Explorer.

The used next code in my upload page:

 <fjx:FileUploader  RequestAsPostBack="true" OnFileReceived="FileUploader1_FileReceived" ID="FileUploader1" runat="server">
     <Adapters>
         <fjx:FileSaverAdapter runat="server" FolderName="UploadFolder" />
     </Adapters>
 </fjx:FileUploader>

All tests were made on Windows (XP and Vista) based computers
IE ver. 7 & 8, FireFox 3.x

Do you have any ideas, what is wrong? It is not possible to use Fiddler or other tools like it because test page is placed on secured server.

I used flash tracer to debug flash and attached results from both FF and IE browsers below.

========== FF ========================
10)[2009-9-18 11:57:57.264]
onFileQueueEnds
9)[2009-9-18 11:57:57.256]
CALL to JavaScript:FileUploader1_SetChangedFileStates([{id:5,state:5,httpStatus:200,isLast:true}])
8)[2009-9-18 11:57:57.248]
-------------------------
onUploadError
Object type is: [flash.events::IOErrorEvent]
Object content is:
{
    text: "Error #2038",
    type: "ioError",
    target: {
        creator: null,
        creationDate: Date.parse("Tue Feb 10 12:15:56 GMT+0200 2009"),
        name: "lorem.pdf",
        size: 58433,
        modificationDate: Date.parse("Fri Mar 6 15:12:01 GMT+0200 2009"),
        type: ".pdf"
    },
    currentTarget: {
        /*!!!-Recursion - call to already traced object '[object FileReference]' !!!*/
    },
    bubbles: false,
    cancelable: false,
    eventPhase: 2
}
-------------------------

7)[2009-9-18 11:57:57.64]
-------------------------
getFileUploadRequest:https://**********/user/UploadFiles.aspx?__ID=FileUploader1&__AspCookie.Session=tbaernzybrpujjqos4rt4p45&
Object type is: [flash.net::URLVariables]
Object content is:
{
}
-------------------------

6)[2009-9-18 11:57:57.56]
CALL to JavaScript:FileUploader1_SetChangedFileStates([{id:5,state:2,httpStatus:200,isLast:false}])
5)[2009-9-18 11:57:57.48]
initiateUpload
4)[2009-9-18 11:57:55.824]
onFilesSelected | state:1
3)[2009-9-18 11:57:55.816]
CALL to JavaScript:FileUploader1_SetFileList([{id:5,name:"lorem.pdf",bytes:58433,state:1}])
2)[2009-9-18 11:57:55.808]
-------------------------
onSelectFiles
Object type is: [Array]
Object content is:
[
    /*0*/{
        creator: null,
        creationDate: Date.parse("Tue Feb 10 12:15:56 GMT+0200 2009"),
        name: "lorem.pdf",
        size: 58433,
        modificationDate: Date.parse("Fri Mar 6 15:12:01 GMT+0200 2009"),
        type: ".pdf"
    }
]
-------------------------

1)[2009-9-18 11:57:54.457]
onBrowse

========== FF ========================


========== IE ========================
17)[2009-9-18 11:56:41.316]
onFileQueueEnds
16)[2009-9-18 11:56:41.300]
CALL to JavaScript:FileUploader1_SetChangedFileStates([{id:3,state:5,httpStatus:413,isLast:true}])
15)[2009-9-18 11:56:41.284]
-------------------------
onUploadError
Object type is: [flash.events::IOErrorEvent]
Object content is:
{
    text: "Error #2038",
    type: "ioError",
    target: {
        modificationDate: Date.parse("Fri Mar 6 15:12:01 GMT+0200 2009"),
        creationDate: Date.parse("Tue Feb 10 12:15:56 GMT+0200 2009"),
        name: "lorem.pdf",
        size: 58433,
        creator: null,
        type: ".pdf"
    },
    currentTarget: {
        /*!!!-Recursion - call to already traced object '[object FileReference]' !!!*/
    },
    bubbles: false,
    cancelable: false,
    eventPhase: 2
}
-------------------------

14)[2009-9-18 11:56:41.268]
-------------------------
onHttpStatus
Object type is: [flash.events::HTTPStatusEvent]
Object content is:
{
    status: 413,
    type: "httpStatus",
    target: {
        modificationDate: Date.parse("Fri Mar 6 15:12:01 GMT+0200 2009"),
        creationDate: Date.parse("Tue Feb 10 12:15:56 GMT+0200 2009"),
        name: "lorem.pdf",
        size: 58433,
        creator: null,
        type: ".pdf"
    },
    currentTarget: {
        /*!!!-Recursion - call to already traced object '[object FileReference]' !!!*/
    },
    bubbles: false,
    cancelable: false,
    eventPhase: 2
}
-------------------------

13)[2009-9-18 11:56:41.252]
onFileQueueEnds
12)[2009-9-18 11:56:41.236]
CALL to JavaScript:FileUploader1_SetChangedFileStates([{id:3,state:3,httpStatus:200,isLast:true}])
11)[2009-9-18 11:56:41.220]
-------------------------
onUploadComplete
Object type is: [com.flajaxian::FileReferenceHolder]
Object content is:
{
    id: 3,
    name: "lorem.pdf",
    httpStatus: 200,
    hashKey: "lorem.pdf:58433:.pdf:Tue Feb 10 12:15:56 GMT+0200 2009:Fri Mar 6 15:12:01 GMT+0200 2009:null:",
    file: {
        modificationDate: Date.parse("Fri Mar 6 15:12:01 GMT+0200 2009"),
        creationDate: Date.parse("Tue Feb 10 12:15:56 GMT+0200 2009"),
        name: "lorem.pdf",
        size: 58433,
        creator: null,
        type: ".pdf"
    },
    bytes: 58433,
    parent: {
        count: 1
    },
    state: 3
}
-------------------------

10)[2009-9-18 11:56:41.204]
CALL to JavaScript:FileUploader1_SetUploadProgress({total:58433,loaded:58433,currTotal:58433,currLoaded:58433})
9)[2009-9-18 11:56:40.796]
CALL to JavaScript:FileUploader1_SetUploadProgress({total:58433,loaded:32768,currTotal:58433,currLoaded:32768})
8)[2009-9-18 11:56:40.708]
CALL to JavaScript:FileUploader1_SetUploadProgress({total:58433,loaded:0,currTotal:58433,currLoaded:0})
7)[2009-9-18 11:56:40.516]
-------------------------
getFileUploadRequest:https://**********/user/UploadFiles.aspx?__ID=FileUploader1&__AspCookie.Session=cgw0uf55lql55d45ckdhdx55&
Object type is: [flash.net::URLVariables]
Object content is:
{
}
-------------------------

6)[2009-9-18 11:56:40.500]
CALL to JavaScript:FileUploader1_SetChangedFileStates([{id:3,state:2,httpStatus:200,isLast:false}])
5)[2009-9-18 11:56:40.484]
initiateUpload
4)[2009-9-18 11:56:38.908]
onFilesSelected | state:1
3)[2009-9-18 11:56:38.900]
CALL to JavaScript:FileUploader1_SetFileList([{id:3,name:"lorem.pdf",bytes:58433,state:1}])
2)[2009-9-18 11:56:38.884]
-------------------------
onSelectFiles
Object type is: [Array]
Object content is:
[
    /*0*/{
        modificationDate: Date.parse("Fri Mar 6 15:12:01 GMT+0200 2009"),
        creationDate: Date.parse("Tue Feb 10 12:15:56 GMT+0200 2009"),
        name: "lorem.pdf",
        size: 58433,
        creator: null,
        type: ".pdf"
    }
]
-------------------------

1)[2009-9-18 11:56:34.77]
onBrowse

========== IE ========================