-
Notifications
You must be signed in to change notification settings - Fork 147
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
failed to create js VM #574
Comments
Hi @compilenix, Can you reproduce with the official nginx docker? |
No, that's why I hoped for an idea. |
Can you try to build official nginx docker, but with the latest njs commit? |
Please share |
I'm using I'll post the build log shortly :) |
Here is the build.log produced with OS: Fedora 36 Workstation
|
Hi @compilenix, I stripped additional modules, and simplified build script
This way, nginx/njs works as expected (no So, If I were you, I would start adding everything else back by chunks and see the result. My guess the problem is related to one of the following:
|
Thank you very much! |
Hi @compilenix, If you have any news, feel free to share the findings. |
While I get your Dockerfile to build, I can't get nginx to do anything useful besides running. Every http request gets cut off by an connection reset and nginx does not write anything to error and access logs. I'll continue trying to find a solution and will share more if I manage to get it running. |
After a couple more hours, I think I've found the issue. But I cant really see or explain why and even how this could happen. Compressing @xeioex Does njs depend on busybox (or any of it's provided functions) during runtime? |
Hi @compilenix, no, it does not. The result is very strange to me. Busybox is a set of unix utilities combined into a single binary. |
Hmm okay, strange indeed. Thanks for your support @xeioex |
Hi @compilenix, Take a look at #581, it may be related to your issue. |
still get this problem with 1.25.2 & njs 8.1 and openssl 1.1.1w. is there any tips how to fix this ? |
Hey,
I run into issues regarding the example njs config and nginx build from source (for a container image) and hope for someone to give me a hint what / where I might be missing something.
The error message, on container start:
The build config: Dockerfile
The runtime config: njs git test branch commit
The error message shows as soon as
js_import http.js;
is added into thehttp
block innginx.conf
.I've already looked at #57 and #18 but don't see how this would apply here.
The text was updated successfully, but these errors were encountered: