I have the exact same issue here, on console have the following issue:
Error parsing plugins : Hostname/IP doesn't match certificate's altnames: "Host: packages.nodebb.org. is not in the cert's altnames: DNS:[domain].com, DNS:www.[domain].com"
I was trying to upload a picture and got an “array buffer allocation failed” and “parse error” on the second try.
On this forum? Can you upload the image somewhere so we can give it shot?
It was on my forum. Apparently when I upload using the upload image button it fails, but when I uploaded with the upload file it succeeded. I’m guessing there’s some sort of image processing when I use the first one?
Yeah uploading as image may resize the image depending on size and the ACP setting https://github.com/NodeBB/NodeBB/blob/master/src/controllers/uploads.js#L70-L74
@baris possibly related:
https://github.com/oliver-moran/jimp/issues/153
I couldn't find any output in the logs about the parse error though..
Looks like it is an issue with one of the dependencies of jimp, namely jpeg-js, maybe it's time to switch to http://sharp.dimens.io/en/stable/ as suggested in that issue.
Was any fix implemented for this?
I'm getting this problem when trying to upload a 6.8Mb photo.
NODEBB_VERSION=v1.6.1
NODE=v8.1
(I'm also using the plugin: nodebb-plugin-extended-markdown if that makes any difference).
I guess I wish I could upgrade to the latest version of NodeBB...but I already know that causes other problems and have recently reverted back to v1.6.1.
We replaced jimp with sharp so this issue should be resolved now, you can test upgrading latest on a staging environment.
@baris Ok. Thanks!