So it appears that Convo has an issue with upload size limits. I just banged out 2 hours trying to figure it out.
Issue seems to be that when you upload a file over 1mb the socket disconnects you. I do not know why. It's seemingly unrelated to Nginx or Apache as I was able to upload a 3mb txt file just fine through MyBB.
I'm looking through all the nodejs code and I don't see where a 1mb limit does this nor can I find any evidence of a default restriction causing the problem. There is nothing in logs either.
I'm going to continue working on this but for now I have updated the convo js so that it simply provides you an error on the 1mb instead of disconnecting your socket.
The current method of uploading and displaying the images is we base64 encode them. It's actually a good way to do it for security. We don't technically store files on HF so if you uploaded a payload it's not gonna do anything.
Members can CTRL+F5 this file to get the latest version with the 1mb limit. Or just stay with the one you have and it will basically just socket disconnect you on files between 1mb and 2mb.
https://hackforums.net/jscripts/convo_223.js
Meh. I hope I can get this resolved within a reasonable time frame. The goal is to fix it so the limit is maybe 3mb so that camera images actually work to upload.
Thank you.
Issue seems to be that when you upload a file over 1mb the socket disconnects you. I do not know why. It's seemingly unrelated to Nginx or Apache as I was able to upload a 3mb txt file just fine through MyBB.
I'm looking through all the nodejs code and I don't see where a 1mb limit does this nor can I find any evidence of a default restriction causing the problem. There is nothing in logs either.
I'm going to continue working on this but for now I have updated the convo js so that it simply provides you an error on the 1mb instead of disconnecting your socket.
The current method of uploading and displaying the images is we base64 encode them. It's actually a good way to do it for security. We don't technically store files on HF so if you uploaded a payload it's not gonna do anything.
Members can CTRL+F5 this file to get the latest version with the 1mb limit. Or just stay with the one you have and it will basically just socket disconnect you on files between 1mb and 2mb.
https://hackforums.net/jscripts/convo_223.js
Meh. I hope I can get this resolved within a reasonable time frame. The goal is to fix it so the limit is maybe 3mb so that camera images actually work to upload.
Thank you.



![[Image: O444cFs.jpg]](https://i.ibb.co/c2rr5jw/O444cFs.jpg)


![[Image: support-purple.png]](https://hackforums.net/images/hfnews/support-purple.png)