I found out that this only seems to happen if the file that i am uploading is of small size. The progress bar and poll work just fine if the file size is large. Any idea what seems to be happening?
It would be good to look into your code.
But in general need to admit that from the first look - I do not see optimal way of such usecase implementation.. Upload component requests server for actuall upload. Also fileUpload progress bar uses poll to update internal status.. also you using poll to update some your status.. three parallel requests occurs. And some browsers may not even not allow so much connections open at the same time. So that solution could be problematic.