mikeebowen / node-wopi-server

A WOPI Server written with Node.js
MIT License
19 stars 4 forks source link

Error: read ECONNRESET #9

Open mvksaran opened 1 week ago

mvksaran commented 1 week ago

I have followed your instruction in read.me and had setup NodeJS 20.18 and was able to successfully launch the application. When I click AddExisting button and select a file, I see the below error. Wondering, if you could give me some tips on troubleshooting this issue

Error: read ECONNRESET at TCP.OnStreaRead (node:internal/stream_base_commons:218.20 at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { errono: -4077, code: 'ECONNRESET', syscall: 'read' }

mvksaran commented 1 week ago

I noticed this error only when running from VSCode. Running with npm start works fine.

mikeebowen commented 1 week ago

Interesting, I use VS Code and I haven't seen this error.

mvksaran commented 1 week ago

I spoke too soon. I get the error again in npm start as well. This time when I do Edit New, it happens. For Edit New, I give the filename that is already uploaded using Add Existing, right? Add Existing worked well and copied the file to files folder. I gave the same file name and got this error. Tried few times with Edit New, still same error

mikeebowen commented 1 week ago

For Edit New, I give the filename that is already uploaded using Add Existing, right?

No, for Edit New you should give a new unique file name

mikeebowen commented 1 week ago

@mvksaran, are you using Office Online Server or are you part of the CSPP?

mvksaran commented 1 week ago

using Office Online Server

mikeebowen commented 1 week ago

For OOS there is free official support from Microsoft. Send an email describing what's happening and include that you use OOS to dochelp@microsoft.com. And I can help more there. Full disclosure, I'm a member of that support team.

mvksaran commented 1 week ago

Thank you, will do. Appreciate all your help and quick response

Regards Saran

On Thu, Oct 17, 2024 at 3:24 PM Michael Bowen @.***> wrote:

For OOS there is free official support from Microsoft. Send an email describing what's happening and include that you use OOS to dochelp@ microsoft.com. And I can help more there. Full disclosure, I'm a member of that support team.

— Reply to this email directly, view it on GitHub https://github.com/mikeebowen/node-wopi-server/issues/9#issuecomment-2420357201, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5G7NJKWRLLHGQ3BKIAIRVTZ4AFIJAVCNFSM6AAAAABQEKX3ASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGM2TOMRQGE . You are receiving this because you were mentioned.Message ID: @.***>