• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Invalid Array Buffer Length - Error

Scheduled Pinned Locked Moved Technical Support
9 Posts 3 Posters 3.3k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tedbaker
    wrote on last edited by
    #1

    Hi,

    I myself have received this error when posting large posts and now some of my users are reporting it. I was wondering if anyone else has experienced it?

    0_1487066274086_upload-eb868615-7cdf-4ca9-9488-646d9be8a81a

    Also, people get this one all the time when up or down voting posts...

    0_1487066363668_upload-919cbe01-3df6-44ed-9179-6ae6e068b7d3

    Refreshing the page usually resolves these issues but that is not ideal as for the first one you lose your post and most of my members don't have the ability to copy, refresh, paste the contents and retry.

    Any ideas greatly appreciated.

    Thanks

    Ted,

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    How big are the posts? 32767 is the default limit set in the ACP. Also post the database you are using.

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    tedbaker
    replied to <baris> on last edited by
    #3

    @baris it happens randomly, sometimes not at all with huge posts. I use redis as the db.

    However I can write a post, press submit, get this error. Copy the contents, refresh the page, paste the contents and then it posts fine.

    Thanks for your reply 🙂

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #4

    Referencing this issue https://github.com/nodejs/node/issues/3543

    It could be that your Node process is out of memory. Have you tried monitoring memory usage?

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    tedbaker
    replied to PitaJ on last edited by
    #5

    @PitaJ I don't think it is a memory issue, I have about 10 concurrent users as a maximum at the minute. I have just installed the new graph metrics provided by digital ocean memory is around 30%, will keep an eye on that.

    I have also increased the post length in the ACP.

    Will report back if it continues 🙂

    Thanks

    Ted

    1 Reply Last reply
    0
  • T Offline
    T Offline
    tedbaker
    wrote on last edited by
    #6

    Still get the INVALID DATA when upvoting/downvoting all the time though 😞

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #7

    Is it a specific post that throws invalid data or all posts?

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    tedbaker
    replied to <baris> on last edited by
    #8

    @baris it can be any at random times, no consistency at all, a refresh of the page solves the issue

    Thanks again for the reply 🙂

    1 Reply Last reply
    0
  • T Offline
    T Offline
    tedbaker
    wrote on last edited by
    #9

    Users are still receiving the invalid buffer error as well, it appears to be (but I am not sure) posts with a lot of images. Is that likely related?

    Does the buffer array limit/length include the image content? I wouldn't think so.

    Note: Our images are currently sent to imgur.

    Thanks

    Ted

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development