My customers keep on getting 502 bad gateway intermittently when uploading multiple files

  • treasureonthewall
    Asked on March 17, 2017 at 3:18 PM

    my form is www.treasureonthewall.com/upload

  • Nik_C
    Replied on March 17, 2017 at 5:58 PM

    I just tested your form and I couldn't replicate this issue, a form submitted fine:

    My customers keep on getting 502 bad gateway intermittently when uploading multiple files Image 1 Screenshot 20

    Maybe it was a temporary network glitch. Could you please test again and let us know if you're facing this problem.

    Thank you!

     

  • treasureonthewall
    Replied on March 20, 2017 at 9:53 AM

    It happens intermittently. the last report was yesterday 

  • Kevin Support Team Lead
    Replied on March 20, 2017 at 12:48 PM

    I've just tested your form and found the same like my colleague, the form worked on my end and allowed me to submit  it without any problem. 

    I've cleared your forms cache now and I would also suggest you to try re-embedding your form using the iFrame method, this will avoid any conflict between the form's code and the code in your website. 

    Getting-the-form-iFrame-code

    Also, does the problem happens when the form is submitted or it only happens when loading the webpage with the form? 

    You may also test your form with its direct link and let us know if the same happens, it may be also related to some file type or size, since you're allowing uploads on your form, if you could ask your users this info when they replicated the issue it would be great, this way we will be glad to test with a similar file and find if the issue is related to uploads. 

     

  • treasureonthewall
    Replied on March 23, 2017 at 5:12 PM

    THANK YOU FOR TRYING CAN YOU TRY UPLOADING 50-100 PHOTOS.  THE FORM WE USED BEFORE DIDN'T HAVE ANY ISSUES NOW THIS ONE EVERYONE IS COMPLAINING

  • treasureonthewall
    Replied on March 23, 2017 at 5:17 PM

    PLEASE SEE MY STATISTICS  THERE ARE A FEW PEOPLE SHOWN THAT HAVE TRIED AND NOT BEEN ABLE TO UPLOAD.  https://eu.jotform.com/analytics/70621164773354

  • Kevin Support Team Lead
    Replied on March 23, 2017 at 6:53 PM

    I've just tested your form again and I was able to successfully submit it without any problem, I've uploaded 55 images on your form and it was submitted without any problem, you could check on your submissions and should find mine with the uploaded files. 

    I could see an error displayed on the web console when loading your webpage: 

    My customers keep on getting 502 bad gateway intermittently when uploading multiple files Image 1 Screenshot 20

    I would suggest you to temporary remove the form to make sure the error is not a conflict between the form and your webpage codes, if the error disappears when you remove the form, then you could try embedding it using its iFrame code without the JavaScript part, this guide will help you to get the iFrame: Getting-the-form-iFrame-code

    This is a sample iFrame code you should embed: 

        <iframe

          id="JotFormIFrame"

          onDISABLEDload="window.parent.scrollTo(0,0)"

          allowtransparency="true"

          src="https://form.jotform.com/FormID"

          frameborder="0"

          style="width:100%;

          height:4680px;

          border:none;"

          scrolling="yes">

        </iframe>

     

  • treasureonthewall
    Replied on March 31, 2017 at 3:21 PM

    the form works ok when you dont submit photos.

    when submitting photos they have an issue. 

     

    on average our customers have between 50 - 80 photos max size 1-4mb each 

  • Nik_C
    Replied on March 31, 2017 at 4:35 PM

    I will test this more and get back to you with my findings.

    Thank you!

  • Nik_C
    Replied on March 31, 2017 at 5:26 PM

    I just submitted a form (please ignore my submission), it took some time, but it submitted:

    My customers keep on getting 502 bad gateway intermittently when uploading multiple files Image 1 Screenshot 20

    It was 60+ files with 1.2mb each. The bottom line is that all files are uploaded before the form is submitted so it's not like the files are uploading while the form is submitting which can break with such amount of files.

    On the other hand it can be as you sad intermediate, but that can be related to network as well, browser session etc.

    If you have any additional related information about how your customers are getting this error please share.

    Thank you!

  • treasureonthewall
    Replied on April 26, 2017 at 2:23 PM

    I am still having issues, nearly 50% of uploads do not work keeps getting code 502 or 504

  • Kiran Support Team Lead
    Replied on April 26, 2017 at 3:51 PM

    Could you let us know if you are experiencing the issue while downloading the images from the form submissions or when the form is being submitted? If you are receiving this error while downloading the images from the submissions, please let us know the direct link to the image so that we can check it further. 

    Thanks!

  • treasureonthewall
    Replied on May 9, 2017 at 7:25 AM

    ITS UPLOADING THAT IS NOT WORKING . ONLY 20% OF OUR CUSTOMERS WHO TRY AND UPLOAD BETWEEN 50 -100 PHOTOS  KEEP GETTING ERROR 502 OR 504 ERROR CODE PLEASE HELP 

     

  • jonathan
    Replied on May 9, 2017 at 7:43 AM

    Please refer also to our user guide about Upload field here : https://www.jotform.com/help/33-Changing-the-File-Upload-Size-Limit

    JotForm maximum number of files = Recommended value is up to 25 files per request (submission).

    As mentioned in the user guide there is a max limit of 25 files only that can be uploaded on each upload session. So I believe the issue was due to this.

    You users will have problem using the form if they will be uploading 50-100 files in one go.

    You can add annotation on your form to make the users aware of this. This way they will be using the upload field within its functionality.

    Let us know if there's more we can help you with.

     

     

  • treasureonthewall
    Replied on May 11, 2017 at 9:33 AM

    why have we not had a problem for the last 3 years now we have an issue . ? 

     

  • jonathan
    Replied on May 11, 2017 at 10:00 AM

    As far as I remember, the Upload field originally have this max number of file upload per session. It is not a new feature or functionality that was only added recently.

    The most I can suggest at this time is to try request from the use to retry using the form and make them aware that they can only upload a max of 25 files simultaneously per submission. 

    We can wait for the result then if the user will still have problem submitting the form.

    Please let us know how it goes.

    Thank you.