Misleading error when trying to change profile picture with too big image

  • I'm trying to update my profile picture. I go for it, upload a 1,3M file from computer, crop&save. Few moments after I press the button I get a toaster with an orange message saying connection to the forum was lost, and to retry.
    I tried several times with the same result.

    The only wrong thing I noticed is that one of the ajax calls made to /socket.io/ returns error 400, with an empty response.

    I tried with a much smaller image (150k) and it worked. Maybe it's worth returning a proper error message if the image is too big.


Log in to reply