Open yu-fukusako opened 1 week ago
IMHO some code should be added to https://github.com/telefonicaid/fiware-sth-comet/blob/master/lib/server/sthServer.js to allow set keepAliveTimeout for hapi as a custom configuration value. Currently sth uses hapi v16, so I'm not sure if is implemented
I think the keepAliveTimeout setting value of the node server (hapi) is the default. With this setting, the session will be disconnected from the STH-Comet side at a timing the client does not expect. (In fact, a similar issue has been reported with the hapi issue. https://github.com/hapijs/hapi/issues/3738)
Is it possible to set keepAliveTimeout at startup? For example, set via environment variables or command line