Image upload

Bug Reports
  • When uploading an image on IE11 I got this error:

    error: stream ended unexpectedly {"expose":true,"statusCode":400,"status":400,"stack":"BadRequestError: stream ended unexpectedly
    	at Form.<anonymous> (C:\\Program Files\\NodeBB\\node_modules\\multiparty\\index.js:759:24)
    	at Form.emit (events.js:194:15)
    	at finishMaybe (_stream_writable.js:641:14)
    	at endWritable (_stream_writable.js:649:3)
    	at Form.Writable.end (_stream_writable.js:589:5)
    	at IncomingMessage.onend (_stream_readable.js:629:10)
    	at Object.onceWrapper (events.js:277:13)\n
    	at IncomingMessage.emit (events.js:194:15)
    	at endReadableNT (_stream_readable.js:1103:12)
    	at process._tickCallback (internal/process/next_tick.js:63:19)"}
    

    With Chrome and Firefox the upload works correctly.
    I am using NodeBB v1.12.0 with Composer and Markdown plugins activated.
    It looks like a "well known" IE error: it is not handling correctly content-Type multipart/form-data.
    I didn't find any information about on the forum, am I the only one getting it with NodeBB?

    Thanks!

  • @fortunato I forgot to say that this error doesn't show up when creating a new topic and sometimes it works also in replies. The error in the NodeBB UI is the following: "stream ended unexpectedly"

    6c6ff98f-95d8-4ad4-b402-b7a336cf47e7-image.png


Suggested Topics


  • 0 Votes
    8 Posts
    471 Views

  • Solved Technical Support
    0 Votes
    1 Posts
    2169 Views

  • 0 Votes
    2 Posts
    824 Views

  • Bug Reports
    0 Votes
    1 Posts
    1104 Views

  • 0 Votes
    4 Posts
    1654 Views

| | | |