Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: this.server.close is not a function when NGINX Unit process itself is terminated #8

Open
Thesephi opened this issue Aug 3, 2020 · 0 comments

Comments

@Thesephi
Copy link
Member

Thesephi commented Aug 3, 2020

Version : 8.2.0-alpha.1

Reproduction steps:

  1. start an NGINX Unit app based on somnus
  2. monitor the NGINX Unit process log (e.g. tail -F /usr/local/var/log/unit/unit.log)
  3. check that the app behaves normally
  4. abruptly terminate the NGINX Unit process (e.g. forcefully kill the unitd process)
  5. look at unitd log and check that we have the error TypeError: this.server.close is not a function near the end of the log

Expectation: the close method should be exposed & invoked correctly, or if that method is meant to be overwritten by unit-http, then at least it should not throw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant