[Bug report] - Body without file in qqfile
FernandoFreitasPixelhouse opened this issue · 6 comments
Type of issue
- Bug report
- Feature request
Uploader type
- Traditional
- S3
- Azure
Note: Support requests cannot be accepted due to lack of time.
Bug Report
Fine Uploader version
5.14.1
Browsers where the bug is reproducible
Chrome 67.0.3396.87
Operating systems where the bug is reproducible
iOS 11.4
Exact steps required to reproduce the issue
For example:
- Access site www.nicephotos.com.br
- Click in "menu" icon
- Click in "entrar" link
- Use the following credentials do access:
login: teste@fineuploader.com.br
password: 123456 - Click in "menu" icon
- Click in "Revelação de Fotos" link
- Click in "Revelar Agora" button
- Click in "Meu dipositivo" button
- Select "Photo Library" Link
- Select 10 pictures
- Click on "Prosseguir" button
- Error usually happens two times of three, It will be showed a pop-fade with the title "Atenção!..."
Detailed explanation of the problem
For some reason fineuploader sent the post of the image without write the image file, on area "qqfile".
This happens just sometimes and just for some pictures usually the first.
In my tests when I change "maxConnections" to "1", I can't reproduce the problem anymore.
After the problem happens if we call "retry(id)" usually works (95% of times).
I can't reproduce this problem on desktop
Follows attached the log example of the body incompleted.
Can you please show your code?
Can't help you without looking at your code.
Please read the issue template.....
Hi @SinghSukhdeep,
Do you want see my server code? I didn't undesrstand.
In relation a "Please read the issue template....." what I did wrong?
This problems happens only sometimes and aparently in iOs Devices.
It seems that problem happens in line bellow of file "fine-uploader.js":
"formData.append(spec.inputName, fileOrBlob);"
In the issue template there is this section..
All relevant Fine Uploader-related code that you have written
{simply copy and paste the JS used to control Fine Uploader browsers-ide}
{also include your template HTML if related to a UI issue}
I need to see you browser side JS and HTML, not your server side code.
Follows attached the html's and JS's.
For some reason fineuploader sent the post of the image without write the image file
Your server writes the image file to disk, not Fine Uploader. I can guarantee that the file is always sent by fine uploader. The issue is with your server code, and that is beyond our help.
Hi @rnicholus ,
I used the debug mode in Mac connected with an iPhone.
When I did this I comprove that content-length of pictures with trouble a so smaller that the pictures that are ok.
Ex.: content-length: 800 ( in post with error) and content-length: about: 4000 (in post ok)
When I change "maxConnections" to 1 the problem didn't happen anymore.