Anders Evenrud

Results 283 comments of Anders Evenrud

> Where should I set that? You could try `osjs.httpServer.setTimeout()` before you run `boot()` in the bootstrap file. https://nodejs.org/api/http.html#serversettimeoutmsecs-callback > And is there any possibility to have restriction on osjs...

Does this always fail consistently at ~5minutes like the screenshot says ? > Even after your comment, I have added the following line in src/server/index.js, but my problem is still...

Sadly, I'm not home so I cannot try to reproduce this problem myself... so all I can do right now is just ask some fairly standard questions :( Have you...

Also, what is the complete error message in the dialog? (this should be in the console)

Ah. This is the first time I see the actual HTTP code... this makes things a little bit clearer. Your connections is directly to the node server or some kind...

> The issue must be something related to the client and also deployment Technically a HTTP 408 code means that the client connection failed to complete the request in some...

> bad Gateway error Sounds like this comes from a reverse proxy then. It means it lost communication with the upstream (node) server. I can't see the error code here,...

> I will try to reproduce this when I get home. I've currently tried uploading two different files to a completely fresh install and simulated the speed so that they...

It is not possible to set that in the configuration. But, you can do it via bootstrap: ``` osjs.httpServer.keepAliveTimeout = N; ``` By the way, I am fairly sure that...

The `maxBodySize` is for regular requests that contain JSON etc. The `maxFieldsSize` and `maxFileSize` is for multipart, which are used for uploads. So this is correct.